Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
46 user(s) are online (20 user(s) are browsing Forums)

Members: 1
Guests: 45

jabirulo, more...

Support us!

Headlines

 
  Register To Post  

« 1 2 3 (4)
Re: YT.rexx results in stuttering video [Solved]
Just popping in
Just popping in


See User information
Bummer. I made an error in the script again, so it wasn't working anymore with emotion.

Here is the hopefully final version.
/* */
/* videoplayer.rexx */
/* usage: rx videoplayer.rexx <url> <app> silent */
/* <app> can be dv or emo. */
/* when no <app> option is entered, default app is dvplayer  */
/* with silent option, there is no curl cli ouput. */
/* */
options results
parse arg url app silence
if app="silent" then silence="silent"
if app~="emo" then app="dv"
if app="emo" then appfile="APPDIR:Emotion"
if app="dv" then appfile="APPDIR:DvPlayer"
if silence="silent" then opt="-s"
else opt=""
address command
"c:curl" url opt "-o ram:videoplayback"
if app="emo" then do
appfile "ram:videoplayback"
end
else do
"C:wbrun" appfile "ram:videoplayback"
end

checklist:
CALL AddLib('rexxsupport.library',0,-30,0)
check=""
do until check=0
wait 2 /* must be wait 4 on sam460 */
/* say showlist('W','DVPlayer GUI')*/
check=showlist('W','DVPlayer GUI')
end

trash:
wait 2 /* must be wait 4 on sam460 */
"delete ram:videoplayback"
exit


Edited by Mozzerfan on 2024/9/8 9:04:46
Edited by Mozzerfan on 2024/9/8 9:07:38
Go to top

  Register To Post
« 1 2 3 (4)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project