Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
162 user(s) are online (149 user(s) are browsing Forums)

Members: 1
Guests: 161

Skateman, more...

Support us!

Headlines

 
  Register To Post  

« 1 (2) 3 4 »
Re: aiostreams new release
Just popping in
Just popping in


See User information
Python 2.5.6 is part of AmigaOS4.

Go to top
Re: aiostreams new release
Site Builder
Site Builder


See User information
Can you guys test again the Twitch streaming? It should work fine now.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: aiostreams new release
Just can't stay away
Just can't stay away


See User information
@walkero

Quote:
walkero wrote:Can you guys test again the Twitch streaming? It should work fine now.


​Thank you very much, it works perfectly now. What was the problem ?

Resized Image

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: aiostreams new release
Just can't stay away
Just can't stay away


See User information
@walkero
YEESSSsssss works now!!!

#twitch.py -u https://www.twitch.tv/videos/2012097119
aiostreams vv1.7.8 (2023-12-20) - Developed by George Sokianos


THX a LOT

BTW why "aiostream VV1.7.8..." I mean "2 V" as version string :-O

Go to top
Re: aiostreams new release
Site Builder
Site Builder


See User information
@jabirulo
The double "V" is a mistake I have in my code which will be fixed in the version. You should have 1.7.7 and not 1.7.8 though

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: aiostreams new release
Just can't stay away
Just can't stay away


See User information
@walkero

ok, maybe I "cheated" a bit, Downloaded from github I tested such ones.

Go to top
Re: aiostreams new release
Just can't stay away
Just can't stay away


See User information
@walkero

Thanks for the new release.

For YouTube I get this :

aiostreams vv1.7.7 (2023-12-20) - Developed by George Sokianos

Traceback (most recent call last):
File "DH1:Video/aiostreams/youtube.py", line 490, in <module>
main(sys.argv[1:])
File "DH1:Video/aiostreams/youtube.py", line 464, in main
print ("Title: %s" % (cmnHandler.uniStrip(response['title'])))
KeyError: 'title'

:(

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: aiostreams new release
Site Builder
Site Builder


See User information
@K-L
please give me the command you run, so I can test it.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: aiostreams new release
Just can't stay away
Just can't stay away


See User information
youtube.py -u https://www.youtube.com/watch?v=Wi_WXIBZFzk

(tried also via Odyssey with contextual menu)

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: aiostreams new release
Site Builder
Site Builder


See User information
This video is not available on youtube

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: aiostreams new release
Just can't stay away
Just can't stay away


See User information
The problem is of course not the video.

youtube.py -u https://youtu.be/Gzv11K-v_AU

aiostreams vv1.7.7 (2023-12-20) - Developed by George Sokianos

Traceback (most recent call last):
File "DH1:Video/aiostreams/youtube.py", line 490, in <module>
main(sys.argv[1:])
File "DH1:Video/aiostreams/youtube.py", line 315, in main
video = helpers.getVideoType(args.url)
File "DH1:Video/aiostreams/youtube.py", line 232, in getVideoType
types = self.parseURL(url)
File "DH1:Video/aiostreams/youtube.py", line 229, in parseURL
return _url_re.match(url).groupdict()
AttributeError: 'NoneType' object has no attribute 'groupdict'

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: aiostreams new release
Just can't stay away
Just can't stay away


See User information
@walkero

It's ok, I'm now using Invidious instead of YouTube and it's working correctly.

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: aiostreams new release
Just popping in
Just popping in


See User information
Hi,

It seems that youtube script does not support this type of URL very well.
If you enter the url given by KL in a web browser, it change it to "https://www.youtube.com/watch?v=Gzv11K-v_AU&feature=youtu.be" and it is playable through aiostream.

Aiostream seems to needs some code to process youtube url before.

In the meantime, I've updated a little bit my script to use AIOStreams from browsers directly and add a workaround to process the youtu.be url type. See my post in this thread >here<

Regards,


Edited by Petrol on 2023/12/27 22:39:31
Go to top
Re: aiostreams new release
Site Builder
Site Builder


See User information
@Petrol
Quote:
It seems that youtube script does not support this type of URL very well.
If you enter the url given by KL in a web browser, it change it to "https://www.youtube.com/watch?v=Gzv11K-v_AU&feature=youtu.be" and it is playable through aiostream.


K-L's link shows to me "This video isn't available anymore" message. I do not know if that redirects somewhere else based on the country of the visitor, but it doesn't seem to exist for me.

With the latest version 1.7.7 I removed the check of the domain and subdomain, but it still needs to have the "watch?v=" part in the url. If that doesn't exist, it will fail. I think that this is the default urls YT provides.

Quote:
Aiostream seems to needs some code to process youtube url before.


What kind of process do you think it needs?

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: aiostreams new release
Just popping in
Just popping in


See User information
@walkero

Hi, I was referring to it's second link KL provides (https://youtu.be/Gzv11K-v_AU)

In my little script to call aiostreams, I simply process the url by replacing a part of it like this so it contains the string "/watch?v=" and works with aiostreams :

#URL transformation for youtu.be
result url.rfind('youtu.be/')
if (
result != -1):
    
url url.replace('youtu.be/''www.youtube.com/watch?v=')


Regards,

Go to top
Re: aiostreams new release
Not too shy to talk
Not too shy to talk


See User information
@walkero

Thank you for the update.

1989-> A500, A600, A3000, A4000, A1200, CD32, µA1, PegII, A1XE, CDTV, Amy/416D79, A1X5000, Vampire 500 V2+, Vampire 600 V2, Amy-ITX, Denise ITX <-2024
Go to top
Re: aiostreams new release
Site Builder
Site Builder


See User information
@Petrol
The next version will have a fix for this kind of urls, supporting the "youtu.be" as well.

@khayoz
My pleasure. Hope you have also seen the accompanied site at https://aiostreams.amiga-projects.net. For me, it works so good as a GUI for Twitch and YouTube.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: aiostreams new release
Just can't stay away
Just can't stay away


See User information
@walkero

Quote:
My pleasure. Hope you have also seen the accompanied site at https://aiostreams.amiga-projects.net. For me, it works so good as a GUI for Twitch and YouTube.


I have already tested it and it actually works very well and not only via YT.rexx, but also clicking directly and accessing the YouTube streams is very fast, even on my machine.

And the great thing is that the YouTube videos reproduce the native GUI of AmigaOs4.1. Personally, I think this alternative to the original YouTube is really great, and the loading times are also shorter.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: aiostreams new release
Just can't stay away
Just can't stay away


See User information
Hi,

From some time now, aiostream sens only 360p resolution video to Emotion.

I think YT has changed something and while I was used to watch 720p stream, I am now limited to 360p :(

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: aiostreams new release
Site Builder
Site Builder


See User information
@K-L
Have in mind that some videos might not be available on 720p
To check the available formats for a video you can use the -x argument. This will give a table of the available formats and resolutions.
Somthing like:

ID                      VCodec          ACodec      
----------------------------------------------------
audio_only              none            mp4a.40.2   
160p                    avc1.4D401F     mp4a.40.2   
360p                    avc1.4D401F     mp4a.40.2   
480p                    avc1.4D401F     mp4a.40.2   
720p60                  avc1.4D401F     mp4a.40.2   
1080p60__source_        avc1.64002A     mp4a.40.2

Follow me on
Ko-fi, Twitter, YouTube, Twitch
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-2024 The XOOPS Project