AminetAminet
Search:
84830 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/rexx/yt_rexx.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:yt.rexx with MorphOS adjustments
Author:Michael Trebilcock, Thomas Igracki
Uploader:Thomas Igracki de
Type:util/rexx
Version:3.4
Architecture:m68k-amigaos,ppc-morphos
Date:2025-04-21
Distribution:Aminet
Download:util/rexx/yt_rexx.lha - View contents
Readme:util/rexx/yt_rexx.readme
Downloads:15

This  is the MorphOS version of the YouTube URL extractor v3.4 from Michael
Trebilcock from os4depot.
****** THANKS MICHAEL FOR CREATING IT AND UPDATING IT REGULARY! ******

I  made  some changes to be able to use this script under MorphOS and added
some requesters to choose the video format and the name of the saved video.
MagicBeacon  is  used  under MorphOS instead of Ringhio, and the comment of
the saved video is set to the youtube url.

I  also  added  a small yt-search script, to search for youtube videos from
the shell:
  Example: s:yt-search "Greedium"


Installation:
  Copy ALL sys/ sys:

  Because  the  default  "rexx:"  assign  points  to  "s:", you may (if not
  already done) make sure that "rexx:" is also assigned to "sys:rexx/"!
  Add the next line to your s:user-startup file:
    Assign rexx: sys:rexx ADD

  To integrate it in OWB, see the picture: OWB_Contextmenus.png

  To integrate it in Wayfarer, you have to install SmartClipboad.sbar
  then copy a url from a Youtube video from the contextmenu in Wayfarer to
  the clipboard.
  Here is a short video http://igracki.square7.ch/tmp/YtUE-Wayfarer.mp4

Note:
  Since  Youtube  seems  to always use https urls for their videos nowadays
  and  MPlayer can't stream https urls you have to first download the video
  to play it!
  I  added  a  requester  to  ask  if  you  want  to  play  the video while
  downloading it if you use the SAVE option.

  MPlayer will be opened after 500.000 bytes were downloaded of the video!
  Or earlier, if the video is shorter than 500.000 bytes.
  You can change this value in yt.cfg, search for "PWDL_MinSize".
  Default is 500K, e.g. 500000 bytes.
  
  After  MPlayer gets closed a requester will ask you if you want to delete
  the just downloaded video.
  If  the  download  is  not  finished  after you close MPlayer, it will be
  aborted to be able to delete the video!

  I  also put ffmpeg and lame into this archive to have all needed programs
  available!
  Every user should already have MPlayer so I didn't included it.

See "yt.rexx" for the changelog.

History
========
17-Apr-2025
updated ytSearch.hwa to v0.7
- chg: I don't need rexx:YTS_ParseLine.rexx anymore, jPV has sent me a massive
       optimized Hoolywood version of it which I'm now using, its now as fast
       as the ARexx version although I extract many extra data now!
- new: draw the length of the video in the bottom, right corner of a video
- new: the tooltip/helpbubble now shows more infos (length, pubTime, viewCount,
        owner and descr)
- added ViewWebImage to sys/c/

16-Apr-2025
 - made changes from original v3.4
 - Added ytSearch.hwa to the archive, a Hollywood Applet to search for 
   Youtube videos, it uses the yt.rexx script to play the videos
   Just double click it in an Ambient lister or start it from shell with
   "Open ytSearch.hwa"

04-Sep-2024
 - made changes from original v3.1

19-Aug-2024
 - made changes from original v3.0

16-Aug-2024
 - added curl v7.53.1 to the archive because this v2.9 seems to need curl v7.53.1
   curl 7.43.0 or curl v8.2.1 from latest SDK doesn't work!?
   (At least with one specific yt video)

29-Jul-2024
 - made changes from original v2.7

23-Jan-2024
 - made changes from original v2.5

06-Jun-2021
 - made changes from original v2.2 from 25.05.21, youtube now works again! Thanks Michael!
 - removed sys/c/ffmpeg, because there is a newer version in https://www.morphos-storage.net/

28-Apr-2020, not released yet
 - now using SimpleTouch, to be able to touch files containing "(", because they are wildcards
   and c:Touch supports wildcards, so it was easier to write a Touch w/o wildcards support
 - if a video couldn't be downloaded, e.g. wget returns "ERROR 403: Forbidden", the file was created
   but with a filesize of 0, and the script just checks for existence not for the filesize, so it 
   thought that the file was downloaded, now it checks the filesize (with c:Fileinfo)
   the created script t:yt_pwdl also checks for the filesize before starting video player!

05-Apr-2020
  - added a ">NIL:" to the Break command, to have no output if the video is completely downloaded
    before you close MPlayer
  - "Touch" the downloaded video so it gets current date and time after it was downloaded,
    previously the date/time was set to the original date/time

09-Mar-2002, v2.1c
  - added the "Okay" script to sys/s, needed for s/DumpAudioAsMP3
  - sys/s/yt-search: YTS_ParseLine.rexx is now called with fullpath (rexx:)
  - reworked the readme file
  - Breaking downloading if you quit MPlayer before download is completed 
    didn't worked anymore (don't know why, this definately worked earler..)
    (now I build a script with the commands instead concatenate the commands)
  - added support for AutoPlay for MorphOS (set AutoPlay="1" in yt.cfg)
    this works like normal "save play" option (playing while downloading) but
    without requesters

24-Feb-2020, v2.1b
  I added my additional settings to YT.cfg, you may have to change them to
  your needs!

12-Mar-2018
  v1.6  of the original yt.rexx script uses duktape instead of spidermonkey
  as javascript interpreter (js).
  So  I compiled the current (2017-09-23) duktape v2.2.0 (same as os4 uses)
  for MorphOS.
  It  seems  to  work  quiet  good,  although  I  only  tried  the included
  mandel.js,  and  with  Spidermonkey-js  it  takes  about  38  miliseconds
  calculate  the  ascii  mandebrot.   With  duktape  it  only takes about 6
  miliseconds!
  So duktape is the default javascript interpreter (sys/c/js)!
  The Spidermonkey-js is still present in sys/c as "js_spidermonkey"



Contents of util/rexx/yt_rexx.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                  14718   47500  31.0% -lh5- 55e9 Apr 16 15:58 yt/original_docs/YT.guide
[Amiga]                   1027    3251  31.6% -lh5- 6948 Apr 16 15:59 yt/original_docs/YT_HTML/0001.html
[Amiga]                   1114    2806  39.7% -lh5- 33ad Apr 16 15:59 yt/original_docs/YT_HTML/0002.html
[Amiga]                   2937    8270  35.5% -lh5- 6d9b Apr 16 15:59 yt/original_docs/YT_HTML/0003.html
[Amiga]                   1225    2912  42.1% -lh5- 09b8 Apr 16 15:59 yt/original_docs/YT_HTML/0004.html
[Amiga]                   2395    6756  35.4% -lh5- 3edb Apr 16 15:59 yt/original_docs/YT_HTML/0005.html
[Amiga]                    938    1914  49.0% -lh5- 9f1a Apr 16 15:59 yt/original_docs/YT_HTML/0006.html
[Amiga]                    800    1488  53.8% -lh5- 0b73 Apr 16 15:59 yt/original_docs/YT_HTML/0007.html
[Amiga]                    934    1927  48.5% -lh5- 16c7 Apr 16 15:59 yt/original_docs/YT_HTML/0008.html
[Amiga]                   1448    3818  37.9% -lh5- 3c19 Apr 16 15:59 yt/original_docs/YT_HTML/0009.html
[Amiga]                   1321    3472  38.0% -lh5- 9369 Apr 16 15:59 yt/original_docs/YT_HTML/0010.html
[Amiga]                    594     978  60.7% -lh5- 06a9 Apr 16 15:59 yt/original_docs/YT_HTML/0011.html
[Amiga]                   2768    6601  41.9% -lh5- 8d2d Apr 16 15:59 yt/original_docs/YT_HTML/0012.html
[Amiga]                   3691    8796  42.0% -lh5- 02b3 Apr 16 15:59 yt/original_docs/YT_HTML/0013.html
[Amiga]                    534     958  55.7% -lh5- 08ec Apr 16 15:59 yt/original_docs/YT_HTML/0014.html
[Amiga]                   1922    6384  30.1% -lh5- 66d3 Apr 16 15:59 yt/original_docs/YT_HTML/0015.html
[Amiga]                    280     635  44.1% -lh5- 6723 Nov 28  2014 yt/original_docs/YT_HTML/guide.css
[Amiga]                   1066    5926  18.0% -lh5- 3f9e Apr 16 15:59 yt/original_docs/YT_HTML/guide_index.html
[Amiga]                   1027    3251  31.6% -lh5- 6948 Apr 16 15:59 yt/original_docs/YT_HTML/index.html
[Amiga]                 110453  110453 100.0% -lh0- 772a Sep 20  2015 yt/OWB_contextmenus.png
[Amiga]                   2638    5616  47.0% -lh5- b9f3 Apr 17 22:15 yt/readme
[Amiga]                   2562    3864  66.3% -lh5- 87e4 May 27  2014 yt/sys/c/AskFile
[Amiga]                   5388    8708  61.9% -lh5- 374a May 27  2014 yt/sys/c/AskLv
[Amiga]                 952350 2360500  40.3% -lh5- fa37 Aug 16  2024 yt/sys/c/curl
[Amiga]                  12829   12875  99.6% -lh5- f143 Apr 16 20:56 yt/sys/c/FileInfo
[Amiga]                 205459  439732  46.7% -lh5- 52ff Apr  7  2024 yt/sys/c/js
[Amiga]                 180853  373828  48.4% -lh5- ff1f Mar 12  2018 yt/sys/c/js_duk_v2.2.0
[Amiga]                 250412  876756  28.6% -lh5- 681d Jun 27  2017 yt/sys/c/js_spidermonkey
[Amiga]                 256808  512120  50.1% -lh5- a07d Jan  7  2013 yt/sys/c/lame
[Amiga]                   6209   11244  55.2% -lh5- 2e7f May 27  2014 yt/sys/c/MP3IDs
[Amiga]                   1441    3140  45.9% -lh5- 1d3c Jul  6  2017 yt/sys/c/SimpleDelete
[Amiga]                   1491    3264  45.7% -lh5- e119 Apr 29  2016 yt/sys/c/SimpleFilenote
[Amiga]                   1522    3464  43.9% -lh5- 78a3 Jun  6  2021 yt/sys/c/SimpleTouch
[Amiga]                  20722   20722 100.0% -lh0- 84fd Apr 17 22:13 yt/sys/c/ViewWebImage
[Amiga]                   2504    2571  97.4% -lh5- 9ab5 Jun 27  2017 yt/sys/c/WaitForFilesize
[Amiga]                    868    2096  41.4% -lh5- 15dc Jan 28  2017 yt/sys/rexx/mp3_ChangeIDs.rexx
[Amiga]                   1236    2735  45.2% -lh5- a364 Apr 16 15:23 yt/sys/rexx/YT.cfg
[Amiga]                  22999   70658  32.5% -lh5- 1f6f Apr 16 15:50 yt/sys/rexx/YT.rexx
[Amiga]                   1463    3926  37.3% -lh5- 065a Apr 16 15:30 yt/sys/rexx/YTS_ParseLine.rexx
[Amiga]                    189     271  69.7% -lh5- 8dee Jul  6  2017 yt/sys/s/DeleteAsk
[Amiga]                    880    1822  48.3% -lh5- d885 Feb 24  2020 yt/sys/s/DumpAudioAsMP3
[Amiga]                    459     830  55.3% -lh5- 7a72 Sep  9  2018 yt/sys/s/Okay
[Amiga]                   1283    3103  41.3% -lh5- 0751 Apr 16  2024 yt/sys/s/yt-search
[Amiga]                   1167    2484  47.0% -lh5- 67c7 Dec  2  2020 yt/sys/s/yt-search_action
[Amiga]                     57      57 100.0% -lh0- e734 Sep  4  2024 yt/Wayfarer_yt-integration
[Amiga]                   9970    9970 100.0% -lh0- 4efa Apr 18 18:58 yt/ytSearch.hwa
[Amiga]                  11269   11517  97.8% -lh5- 0ad6 Apr 14 14:16 yt/ytSearch.hwa.info
[Amiga]                   2769    5863  47.2% -lh5- df57 Apr 21 15:47 yt/yt_rexx.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        48 files 2108989 4981832  42.3%            Apr 21 22:11
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>