|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/27 20:40
#61 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2018/1/4 10:56 From Italy
Posts: 349
|
here the test video, I hope it is useful
https://youtu.be/wvqDG8dRFN0 |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/27 22:17
#62 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 777
|
Did you check the same links and play them with ffplay?
|
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/27 22:18
#63 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 777
|
@Petrol
Thank you very much for your rexx script. Keep up the good work. |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/27 23:03
#64 |
---|---|---|
Just popping in
![]() ![]() Joined:
2017/5/18 11:12 From Audruicq, France
Posts: 88
|
@walkero
Thank you! @white I've added the direct video mode to play only video with full path (from my ftp hard drive fe). In your video you spoof as a mobile device and url is slightly different. In my script, I've added these two lines in the url test :
WHEN (substr(url,1,19) = "https://m.twitch.tv") THEN website = "Twitch"
the second one was to be abble to read shotened link from youtube like yours in the previous post. There's also a cfg.py script with aiostream archive to set players. Regards, |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/29 10:48
#65 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2018/1/4 10:56 From Italy
Posts: 349
|
@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" |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/29 11:03
#66 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2018/1/4 10:56 From Italy
Posts: 349
|
here a short video, maybe it's more useful, thanks!
https://youtu.be/2Oqpk8IEHE4 |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/29 11:13
#67 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 777
|
@all
I just uploaded a new version of aiostreams v1.4, with some fixes and a testing version of a new script supporting dlive.tv. This one works just fine on other systems, but not under AmigaOS 4. A SSL error show up, which never happened with all the other websites before, with a message: <urlopen error (1, 'error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure')> Please, try this on your machine and tell me if this happens to you as well. I am still trying to find a solution for that issue. |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/29 13:09
#68 |
---|---|---|
Just popping in
![]() ![]() Joined:
2017/5/18 11:12 From Audruicq, France
Posts: 88
|
It happens to me too. Same error about SSL3 thing.
|
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/29 13:21
#69 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2018/1/4 10:56 From Italy
Posts: 349
|
@walkero
where can I find the 1.4 version on osdepot is not available? thanks. |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/29 13:39
#70 |
---|---|---|
Just popping in
![]() ![]() Joined:
2017/5/18 11:12 From Audruicq, France
Posts: 88
|
@white
You're still trying to parse to Emotion player an URL that did'nt point to a video file. Copy this script:
/* REXX Play_video_menu */
Also Edit the script and replace [PATH OF THE SCRIPT] with the correct path of yours (ram:script/ for example) with out the bracket. Mine look like this one :
WHEN website = "Dlivetv" THEN address command 'C:python Work:Internet/Odyssey/Plugins/Dlive.py -shh -u ' url
Same thing for the Ringhio icons for the different streams. Mines are small png picture placed in a icones drawer. My path looks like this: Work:Internet/Odyssey/Plugins/Icones/Youtube.png for youtube icons. Regards, |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/29 14:42
#71 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 777
|
|
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/29 20:21
#72 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2006/11/29 8:09 From Lyon, France
Posts: 1101
|
@Thread
With 1.4, Emotion doesn't work anymore (I mean when launched directly from CLI) ? |
|
_________________
-- AmigaONE X1000 (not used anymore) |
||
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/9/30 17:21
#73 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2018/1/4 10:56 From Italy
Posts: 349
|
@walkero
thanks for the new version at the moment I'm using version 1.3 now the emotion player works perfectly with odyssey browser. Although the shell remains comfortable for its speed and for and a wide choice of videos. @Petrol Thank you very much, now I understand the use of the script, thanks again. @Thread I have to try version 1.4, at the moment it doesn't seem to work emotion-player like with version 1.3, but I probably have to reconfigure the scripts. Thank you all! here a short video with Odyssey that works with aiostreams using 360p30 emotion-player https://youtu.be/oNcRytcsfWU |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/10/4 5:03
#74 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2006/11/29 8:09 From Lyon, France
Posts: 1101
|
@white
Did you manage to get Emotion working again ? |
|
_________________
-- AmigaONE X1000 (not used anymore) |
||
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/10/4 7:01
#75 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2018/1/4 10:56 From Italy
Posts: 349
|
@K-L
unfortunately with version 1.4 emotion-player does not work the problem reoccurs opens the player "format not recognized" Tests were performed only from the shell without using the arexx script. Only work ffplay slowly. aiostreams 1.3 works perfectly with the shell and with odyssey with emotion-player |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/10/4 8:41
#76 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2006/11/29 8:09 From Lyon, France
Posts: 1101
|
@white
Thanks for your answer. Do you still have 1.3 archive ? I replaced this 1.3 with the 1.4 :( Or I could ask Walkero if he still has it. |
|
_________________
-- AmigaONE X1000 (not used anymore) |
||
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/10/4 9:14
#77 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 777
|
Hello guys,
Thank you very much for using my scripts. I am really happy they are useful. Can you give me an example of a video working with Emotion, so that I can fix the problem v1.4 introduced? @K-L Older versions can be found at the github https://github.com/walkero-gr/aiostreams/releases @all I am currently working on the next version which I hope to release next week. Any proposals and ideas are welcome. |
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/10/4 11:47
#78 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2006/11/29 8:09 From Lyon, France
Posts: 1101
|
@walkero
Thanks for the links. With 1.3 any Twitch streams works with Emotion. With 1.4, we get "No video format supported" Something seems to have changed in URL retrieving. |
|
_________________
-- AmigaONE X1000 (not used anymore) |
||
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/10/4 14:02
#79 |
---|---|---|
Site Builder
![]() ![]() Joined:
2006/12/2 23:57 From Athens/Dublin
Posts: 777
|
I will check it and will get back to you guys.
|
|
|
Re: Streaming twitch.tv on AmigaOS 4.1 |
Posted on: 2019/10/4 21:27
#80 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2018/1/4 10:56 From Italy
Posts: 349
|
@walkero
Thank you for a future update of your program A "GUI" like SMTube with the supported live channels would be interesting. the arexx script created by "Petrol" works very well. I don't know the difficulties for creating a "GUI" for aiostreams and what it requires. But it would be interesting is probably light. @K-L Well, I thought that version 1.4 only gave problems on my configuration. |
|