ytSearch
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 444 from 2003/2/25
    From: Berlin
    I opened a new topic for ytSearch to not pollute Wayfarers thread.

    I started to work on a Hollywood version of my ytSearch AmigaDOS script.

    It let you search for Youtube videos, displays them in a 5 column raster, a click on a video opens the yt.rexx script.
    It also still needs the rexx:YTS_ParseLine.rexx script from the yt.rexx archive.
    This may change in future, when I converted the YTS_ParseLine.rexx to Hollywood.

    The thumbs of the videos will be cached in t:Thumbs/

    Here is a preview picture:
    ytSearch.png

    And here a video

    And here is the Hollywood Applet: ytSearch.hwa
    You need the Hollywood Player v9 or better to start the applet!
  • »07.04.25 - 19:11
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 444 from 2003/2/25
    From: Berlin
    Quote:

    AmigaHarry wrote:
    It's running now, but most videos will not be played......



    What exactly happend?
    Does the MPlayer window opens?

    Could you send me the search string so I can see why they don't play?
  • »07.04.25 - 19:16
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Papiosaur
    Posts: 2377 from 2003/4/10
    From: France
    I have tested and i have a message in the window:

    "Failed to download t:yt_results.html!"

    If the script ytSearch.hwa is not in Ram Disk: it show:

    "File Ram Disk:ytSearch.hwa doen't exist!"

    Any ideas please?
  • »07.04.25 - 23:46
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 444 from 2003/2/25
    From: Berlin
    Sometimes you need to do the search a second time to get the results.

    Please send me the search string if you encounter problems!

    Btw, there is a new version with some settings and internal changes.


    [ Edited by igracki 08.04.2025 - 10:42 ]
  • »08.04.25 - 09:40
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1316 from 2010/1/6
    From: EU-Austria (Wien)
    It's loading preview, but many of the videos are not playable (mplayer opens but does not play).
    Shell-Message: [https @ 0x2a88fb28]HTTP error 403 Forbidden
    Failed to open https://rr8---sn-uxax3vh50nugp5-8pxr.googlevideo.com/videoplayback?expire=1744163490&ei=Qn71Z573C6Hl6dsPqebakQw&ip=217.149.175.95&id=o-AOqw5fXKlV8Gdb6GyOFWSLEvg6i37PrpVInpNa0ronwh&itag=18&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1744141890%2C&mh=74&mm=31%2C29&mn=sn-uxax3vh50nugp5-8pxr%2Csn-c0q7lnse&ms=au%2Crdu&mv=m&mvi=8&pcm2cms=yes&pl=21&rms=au%2Cau&initcwndbps=1368750&bui=AccgBcMf0MzstwODlZgT6lITBI5EBjHcXVwgV5i6w0FjuyKi6v_IRyxEieSCxIkV_KTADS0CVqCE4qWq&spc=_S3wKlzT8Exq4_iZqXbvGfqfaDWx2MW5CDtpATyZRFfwTFsROnSb67x76z0-QM4WYS6X&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=3654343&ratebypass=yes&dur=162.470&lmt=1720372577388469&mt=1744141497&fvip=4&c=ANDROID&txp=6209224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&sig=AJfQdSswRQIhAPx8i3EaZhb2G326UUJR386moGNOfV18MOkI51NligFZAiBW9TuKfSU_kKvSGrmZoz22ums2szHyyGkQsvFFzyv2mw%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Crms%2Cinitcwndbps&lsig=ACuhMU0wRgIhAOUpItqiTneT3FzzD9FCDwJTtBGNGlcW6Aeu1HgbQc3_AiEAjWLWOMiyEb5qXlWQnR4Tckd_0QAlHxHpo9rPrprgIiI%3D.

    Selbes Video läuft direkt in Wayfarer.....
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »08.04.25 - 20:53
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 444 from 2003/2/25
    From: Berlin
    Could you send me the video ID?
    Use right click on the thumb and copy the url to the clipboard then send it to me.
  • »08.04.25 - 21:45
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1316 from 2010/1/6
    From: EU-Austria (Wien)
    Right Click does'nt show URL, only "About..."-messages.

    Look at attatched Pics:

    1. Guzzi: That happens when searching Guzzi! YT quits after that (Btw.: YT does'nt like space in search string, like 'Moto Guzzi'

    2. Seraching MorphOS: Last Video won't start...

    49461656gc.jpg

    49461658ex.jpg
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »09.04.25 - 10:27
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 444 from 2003/2/25
    From: Berlin
    Quote:

    Amigaharry2 wrote:
    Right Click does'nt show URL, only "About..."-messages.


    Redownload the Applet again, the v0.2 has this video contextmenu.
    Quote:


    Look at attatched Pics:

    1. Guzzi: That happens when searching Guzzi! YT quits after that (Btw.: YT does'nt like space in search string, like 'Moto Guzzi'

    Try again with new version v0.3, I don't use wget anymore for downloading the search result.
    Instead I use Hollywood's DownloadFile() command.
    Searching for "Moto Guzzi" works here with v0.3
    Quote:


    2. Seraching MorphOS: Last Video won't start...

    49461656gc.jpg


    Could reproduce this, the thumb is only 4 bytes long, I will try to ignore such thumbs.
    Those thumb will now be replaced with a blank image.
    Quote:

    Do you mean the video with the Tips man and the small elephants?
    Here it starts, with v3.4 (wip) of yt.rexx and also with public v3.1.
  • »09.04.25 - 16:51
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 444 from 2003/2/25
    From: Berlin
    v0.3 is ready.
    Code:
    History:
    09-Apr-2025: v0.3
    - added Settings Load and Save menuitems, settings will be loaded on startup
    - added "Settings" menu to switch to Settings Tabs, can also be used to switch back to Videos Tabs!
    - added new Client ANDROIDVR of yt.rexx v3.4
    - the Client settings now has an empty option, but default is the 1
    - the Mode settings now has an empty option, but default is the 1
    - if a thumb can't be loaded with LoadBrush(), a blank image will be used.
    [reported by AmigaHarry]

    08-Apr-2025:
    - Now I use Hollywood's DownloadFile() instead wget to download the search result, instead
    - Tried to convert YTS_ParseLine.rexx to Hollywood, but it is much slower than the arexx script
    6 secs instead of 0.12 secs, don't know why

    07-Apr-2025: v0.2
    - some internal changes, only the VideoID is internal saved to save some memory
    - the "Search" button is now to the right of the string gadget
    - the string gadget will be activated after startup
    - a video now has a contextmenu with one entry to copy the video url to the clipboard
    - added a Settings Tab with Client, Mode and Console

    05-Apr-2025: v0.1
    - Started
  • »09.04.25 - 17:49
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1316 from 2010/1/6
    From: EU-Austria (Wien)
    Unfortunately the same here....
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »09.04.25 - 19:57
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 444 from 2003/2/25
    From: Berlin
    Strange.
    You only need to have the yt.rexx archive installed and this ytSearch.hwa.

    Please open a lister with the contents of t:.
    Is there a "yt_results.html" in t:?
    Is there a "yt_videos" in t:?

    btw, v0.4 is uploaded:
    09-Apr-2025: v0.4
    - added a "Recent Searches" menu, will be saved/loaded
    - added a "Clear Recent Searches" button into Settings tab
  • »09.04.25 - 20:35
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Stevo
    Posts: 902 from 2004/1/24
    From: #AmigaZeux
    Nice effort, but I have to agree that a full archive with all needed files + installer might help :-)
    ---
    http://www.iki.fi/sintonen/logs/its_only_football.txt
  • »09.04.25 - 20:58
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1316 from 2010/1/6
    From: EU-Austria (Wien)
    And where can we download this version?


    Btw: It seems that YT is changing something! Older YT-versions won't work too since today.....
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »09.04.25 - 21:03
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12321 from 2003/5/22
    From: Germany
    > And where can we download this version?

    Link stays the same for any new version.
  • »10.04.25 - 00:16
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1316 from 2010/1/6
    From: EU-Austria (Wien)
    Tried link in Post #10- and #1 - got allways v 0.3....
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »10.04.25 - 07:34
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12321 from 2003/5/22
    From: Germany
    > Tried link in Post #10- and #1 - got allways v 0.3....

    "Last modified" date is "2025-04-09 21:28", so either he just forgot to update the revision number or he accidentally uploaded v0.3 again...
  • »10.04.25 - 07:52
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 444 from 2003/2/25
    From: Berlin
    If the v0.3 has a recent menu, then it's v0.4;)

    It's still in alpha/beta version, if Michael finishes v3.4 of his yt.rexx, I will upload a complete archive of yt.rexx including ytSearch Applet.
    You need yt.rexx for ytSearch, so I don't want to make an extra archive of it.
    Maybe in the future.
  • »10.04.25 - 08:59
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 444 from 2003/2/25
    From: Berlin
    Please redownload here
  • »10.04.25 - 16:09
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1316 from 2010/1/6
    From: EU-Austria (Wien)
    It's running now! Only some Videos not played as mentioned before.
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »10.04.25 - 18:11
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 444 from 2003/2/25
    From: Berlin
    Quote:

    Papiosaur wrote:
    Quote:

    igracki a écrit :
    Please redownload here

    Thanks!
    Is it normal it ask the script in Ram Disk: at startup?


    No actually not, you can start it from everywhere you like.
    Also with double click in an ambient lister or in a shell with "open ytSearch.hwa"

    @AmigaHarry wait for the v3.4 of yt.rexx, it should work better .
  • »10.04.25 - 19:08
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Papiosaur
    Posts: 2377 from 2003/4/10
    From: France
    Quote:

    No actually not, you can start it from everywhere you like.
    Also with double click in an ambient lister or in a shell with "open ytSearch.hwa"

    mm, strange, i will investigate... No results here with 0.4
  • »10.04.25 - 19:40
    Profile Visit Website