@Petrol
I have tried many things,
At the moment Emotion-Player works with the script arexx you created, but at the moment it opens the video of the link and is no longer displayed "unrecognized format" but the video does not start.
Maybe a correction is needed to open the link correctly with Odyssey, I have no idea how to do it.
While ffplay doesn't work for me with the arexx script.
These are the changes I made following your suggestions with cfg.py
#! Python
autoplay = True
verbose = True
#vPlayer = "APPDIR: Work: Player / Emotion / Emotion"
#vPlayerArgs = ""
sPlayer = "APPDIR: Work: Player / Emotion / Emotion"
sPlayerArgs = ""
# sPlayer = "/Apps/VLC.app/Contents/MacOS/VLC"
# sPlayerArgs = "-f --no-video-title-show"
This is instead the script arexx:
/ * REXX Play_video_menu * /
options results
parse arg url
url = strip (strip (url), 'B', ' "')
/ * Test url * /
SELECT
WHEN (substr (url, 1.16) = "
https://www.youtube.be") THEN website = "Youtube"
WHEN (substr (url, 1.19) = "
https://www.m.twitch.tv") THEN website = "Twitch"
WHEN (substr (url, 1.17) = "
https://mixer.com") THEN website = "Mixer"
WHEN (substr (url, 1.17) = "
https://vimeo.com") THEN website = "Vimeo"
WHEN (substr (url, 1.27) = "
https://www.dailymotion.com") THEN website = "Dailymotion"
WHEN (substr (url, 1.20) = "
http://www.skaitv.gr") THEN website = "Skaitv"
OTHERWISE website = "Other"
END
/ * Notify Result * /
address REPORT 'REGISTERAPP APP = NOTIFYTEST'
SELECT
WHEN website = "Youtube" THEN address I REBORN 'REBURN APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Youtube.png" TITLE = "Youtube Video" IMGVALIGN = 1 Now playing!'
WHEN website = "Twitch" THEN address I REBORN 'THRILL APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Twitch.png" TITLE = "Twitch Video" IMGVALIGN = 1 Now playing!'
WHEN website = "Mixer" THEN address I REBORN 'THRILL APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Mixer.png" TITLE = "Video Mixer" IMGVALIGN = 1 Now playing!'
WHEN website = "Vimeo" THEN address I REBORN 'REBOOK APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Vimeo.png" TITLE = "Vimeo Video" IMGVALIGN = 1 Now playing!'
WHEN website = "Dailymotion" THEN address I REBORN 'THINK APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Dailymotion.png" TITLE = "Dailymotion Video" IMGVALIGN = 1 Now playing!'
WHEN website = "Skaitv" THEN address I REBAY 'REBORN APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Skaitv.png" TITLE = "SkaiTV Video" IMGVALIGN = 1 Now playing!'
OTHERWISE address RINKING 'THRILL APP = NOTIFYTEST SCREEN = "FRONT" PRI = 9 IMG = "[PATH OF THE ICON] Other.png" TITLE = "Direct Video" IMGVALIGN = 1 Now playing!'
END
'UNREGISTER APP = NOTIFYTEST'
/ * Lauch script * /
SELECT
WHEN website = "Youtube" THEN address command '[PATH OF THE SCRIPT] YT.rexx' url 'ssl html odyssey autoplay silent'
WHEN website = "Twitch" THEN address command 'C: Python [PATH OF THE SCRIPT] twitch.py -shh -u' url
WHEN website = "Mixer" THEN address command 'C: python [PATH OF THE SCRIPT] mixer.py -shh -u' url
WHEN website = "Vimeo" THEN address command 'C: python [PATH OF THE SCRIPT] vimeo.py -shh -u' url
WHEN website = "Dailymotion" THEN address command 'C: python [PATH OF THE SCRIPT] dailymotion.py -shh -u' url
WHEN website = "Skaitv" THEN address command 'C: python [PATH OF THE SCRIPT] skaitv.py -shh -u' url
OTHERWISE address command 'Work: Player / Emotion / Emotion'
END
#WHEN (substr (url, 1.19) = "
https://m.twitch.tv") THEN website = "Twitch"
#WHEN (substr (url, 1,16) = "
https://youtu.be") THEN website = "Youtube"
From shell using it normally as described in walkero's guide everything works ffplay, emotion-player.
I hope it's a step forward.
It seems that now I can't find the url of the video or simply and able to open the emotion-player but the video is not played.
separate note:
the following string does not work this way
WHEN (substr (url, 1.19) = "
https://m.twitch.tv") THEN website = "Twitch"
While this works
WHEN (substr (url, 1.19) = "
https://www.m.twitch.tv") THEN website = "Twitch"