Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
71 user(s) are online (58 user(s) are browsing Forums)

Members: 0
Guests: 71

more...

Support us!

Headlines




« 1 ... 5 6 7 (8)


Re: Streaming twitch.tv on AmigaOS 4.1
Just popping in
Joined:
2017/5/18 11:12
From Audruicq, France
Posts: 88
Hi,

I looked into writing scripts in python, to rewrite the little arexx script previously made, in python format, and add some enhancements also.
If you want to give it a try, you can download it >here<.
It contains 2 py files (on is used for url recognition), and a drawer with small pngs pictures to display in the notification server.
Extract its content and copy the 2 scripts and the "icones" drawer in AIOStreams root one.
Set the context menu of your browser to call the script as:
Python {AIOStreams path}/AIOS_Browser_extension.py %l

Regards,
Petrol.

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Not too shy to talk
Joined:
2018/1/4 10:56
From Italy
Posts: 349
@Petrol
Thanks, it works perfectly
this script increases the functionality of the application I would say perfectly.

It would be nice to include these features with youTube etc.

Thanks again for your script I really appreciate it very much.

here the video of the test:
https://www.youtube.com/watch?v=t-bCIwis39Y


   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Not too shy to talk
Joined:
2018/1/4 10:56
From Italy
Posts: 349
Sorry you can choose the resolution also for example with youtube just simply select them in the configuration file vqw.py

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 777
That's awesome Petrol. Keep up the good work. I will have a look on it soon as well.
Thanks for doing this.

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Just popping in
Joined:
2017/5/18 11:12
From Audruicq, France
Posts: 88
Thank you for the kind words.

I also noticed during testing that skaitv script didn't have -q quality arguments, that make my script to fail, while different qualities are listed in the vwq script.

So I commented out the lines with the requester and added another condition before launching the script without the -q argument:

elif website == 'skaitv':
    
vqualitylist ' | '.join(str(n) for n in vqw.skaiVQW)
#    response = asl.MessageBox("Quality choice", "Please select a video quality: ", vqualitylist)
#    vquality = str(vqw.skaiVQW[response-1])

...

if 
website == 'other':
    
os.system('APPDIR:Mplayer -cache 8092 ' url)
elif website == 'skaitv':
    
os.system('C:Python ' AIOSpath '/' website '.py ' '-shh -u ' url)
else:
    
os.system('C:Python ' AIOSpath '/' website '.py ' '-shh -u ' url ' -q ' vquality)


I also tried the skaitv script alone with a video url and with the -l only, but it gave me a url open error.

<urlopen error (1, 'error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure')>

Regards,

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 777
@petrol
Yeah, they changed recently the SSL and this one doesn't work with our AmiSSL and python. I still need to fix it as soon as possible.

   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Not too shy to talk
Joined:
2018/1/4 10:56
From Italy
Posts: 349
I watched the "Skateman" video to understand how radio.py works
here the video of "Skateman":
https://www.youtube.com/watch?v=3PUNalxfz0s

i tried and it works but i can't bind AmigaAMP to the stream.
Which aiostreams file is the file to be configured for AmigaAMP ? .
Thanks for any suggestions.


Edited by white on 2021/3/29 13:25:16
Edited by white on 2021/3/29 13:25:54
   Report Go to top

Re: Streaming twitch.tv on AmigaOS 4.1
Not too shy to talk
Joined:
2018/1/4 10:56
From Italy
Posts: 349
Resolved

Thanks @Skateman
you have to add in cfg.py for example
aPlayer = "APPDIR: Work: AmigaAMP3 / AmigaAMP3"
aPlayerArgs = ""

now it works perfectly.
Thanks again

Thanks also to "walkero" for its latest version

   Report Go to top


« 1 ... 5 6 7 (8)



[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project