Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
152 user(s) are online (145 user(s) are browsing Forums)

Members: 0
Guests: 152

more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
YT stopped working with Odyssey - Fixed
Quite a regular
Quite a regular


See User information
Working fine for a longtime but now get this error -

OWB Output Window
Failed to create directory T:YT/ - object not found
Unable to open T:YT/YT-Local.html for writing.

Any idea what I have done to cause this?

Cheers


Edited by TiredOfLife on 2023/8/8 20:17:45
Go to top
Re: YT stopped working with Odyssey
Just can't stay away
Just can't stay away


See User information
Apparently some version of makedir doesn't like trailing slashes. Find MakeDir T:YT/ and remove the slash.

There might also be an issue with slow speeds causing the video to pause/stutter for some people. It isn't happening to me though. If that happens to you, send me a private message with a link to at least the debug log file (preferably all the files generated). There's a thread about that here: https://www.amigans.net/modules/newbb/viewtopic.php?topic_id=9286

Go to top
Re: YT stopped working with Odyssey
Quite a regular
Quite a regular


See User information
@MickJT
Ah yes. It was the Enhancer2 version of makedir that didn't like the trailing slash. I mentioned that in the comments section of the yt download page on OS4Depot back in September.


Edited by ktadd on 2023/8/8 1:13:25
AmigaOne X1000, A1222Plus, uA1
Go to top
Re: YT stopped working with Odyssey
Quite a regular
Quite a regular


See User information
@MickJT

That's got it, cheers.

As for the stuttering, I have a Sam460 and it struggles with the MP4 format when using MPlayer.
So I don't think I'll be much use to you but happy to test if it helps.

Cheers

Edit.
I've read that thread again and seen the problem is also with Emotion for some.

Emotion seems to work fine with YT for me.
Again, happy to get involved with any testing.

Cheers

Go to top
Re: YT stopped working with Odyssey
Not too shy to talk
Not too shy to talk


See User information
@ktadd

I don't know why you'd post remarks about a MattyOS bug on the
comments section of the YT.rexx.

Either uninstall MattyOS and run AmigaOS *OR* get Matty to fix
his hack job.

Good luck,

PJS

Go to top
Re: YT stopped working with Odyssey
Quite a regular
Quite a regular


See User information
@pjs
Quote:
I don't know why you'd post remarks about a MattyOS bug on the
comments section of the YT.rexx.

I don't know why you would post a response like this?
Is "MattyOS" supposed to be a derogatory term?

I posted about it in the YT.lha commensts section on OS4Depot, so that the author might see it and make a fix, and so others, who might be having the same problem, might go to leave a comment and see find the workaround.

In addition, I also posted on Amgians about it Here

I also submitted a bug report to Mantis on Sept. 30, 2022. Not long after my initial reports. Unfortunatly the bug is still open but I did do all i could to do something positive and bring attention to it.

Sorry if it didn't meet your approval.

AmigaOne X1000, A1222Plus, uA1
Go to top
Re: YT stopped working with Odyssey
Quite a regular
Quite a regular


See User information
@ktadd

Quote:
Is "MattyOS" supposed to be a derogatory term?


Yes, that is exactly what it is supposed to mean. Some even like to somewhat hide their blind zealotism by calling it "fair criticism from customers".

But it is what it is. And it's a rot within the ever shrinking Amigaos4 community.

Back to the subject. It's the final googlevideo link that causes the issue that I experience. The one that aiostreams creates to the same video is playing just fine. I've send both logs to MickJT so hopefully he is able to find a solution.

Go to top
Re: YT stopped working with Odyssey
Site Builder
Site Builder


See User information
Unfortunately, YouTube does a lot of changes constantly, making it harder for everyone to keep their software working. You did well and informed the YT.rexx dev. If aiostreams breaks, please let me know as well.

It is good that we have multiple solutions.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: YT stopped working with Odyssey
Just can't stay away
Just can't stay away


See User information
@walkero

Quote:
walkero wrote:Unfortunately, YouTube does a lot of changes constantly, making it harder for everyone to keep their software working. You did well and informed the YT.rexx dev. If aiostreams breaks, please let me know as well.


Since aiostream is your script, could you please explain me how I have to use it with Odyssey and Emotion for YouTube streams?

I read your readme but didn't quite understand it.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: YT stopped working with Odyssey
Quite a regular
Quite a regular


See User information
@Maijestro

Not sure what part is not clear.

Here's what my cfg.py looks like:
# Configuration
# At this file you can change the behaviour of the scripts, by setting
# various parameteres, and most important the preferred video players
#

# Set this to True to enable autoplay of the video with your preffered video player. Set it to False to disable it.
autoplay True

# Set this to True to get more info from the script during the execution. Set it to False to disable it.
verbose False

# Set the path to your preffered video player. This is going to be used on recorded streams only. 
# This is used only if autoplay is set to True.
vPlayer "sys:Utilities/Emotion/emotion"
# Set the arguments that are going to be used with your preffered video player.
vPlayerArgs ""

# Set the path to your preffered video player. This is going to be used mostly on live streams, 
# but depending the network, might be used on recorder streams as well.
# This is used only if autoplay is set to True.
sPlayer "sys:Utilities/Emotion/emotion"
# Set the arguments that are going to be used with your preffered streaming player.
sPlayerArgs ""

aPlayer "sys:Utilities/AmigaAMP3/AmigaAMP3"
aPlayerArgs ""


I've also made an assign aiostreams: to where I've stored the aiostreams scripts (in my case sys:Utilities/aiostreams/).

THen you'll need to create a new context meny in Odyssey (Settings -> Preferences-> Contextual Menus)
I've added the following line:
Category: Link
Label: Open with Aiostreams:
Action: python aiostreams:youtube.py -shh -u %l

Now, go to youtube and press rmb on a youtube video link thumbnail and select " Open with Aiostreams".

The video will now be opened with Emotion. Or any other player that you've configured in cgf.py.

It doesn't work on every movie so it might crash Emotion.
It works on the videos from kas1e. Search for example for "Sound blaster fx x5000"
It doesn't work on "Guardian of the galaxy: Awesome mix Vol. 1"
but using aiostreams directly on this movie will also result in an io error. (https://www.youtube.com/watch?v=dssPrlCQrvM)


Edited by geennaam on 2023/8/8 18:17:21
Edited by geennaam on 2023/8/8 18:17:52
Go to top
Re: YT stopped working with Odyssey
Quite a regular
Quite a regular


See User information
@TiredOfLife
Quote:
Working fine for a longtime but now get this error

Might be good to mark the title as resolved?

AmigaOne X1000, A1222Plus, uA1
Go to top
Re: YT stopped working with Odyssey
Quite a regular
Quite a regular


See User information
@ktadd

Oops, good point.
In my defence, it was late here when I tested the fix.

Cheers

Go to top
Re: YT stopped working with Odyssey
Just can't stay away
Just can't stay away


See User information
@walkero

Hi, was trying to see a twitch stream and got this as error output:

#KDH1:Comm/aiostreams/twitch.py -u https://www.twitch.tv/videos/2005030791
aiostreams vv1.7.6 (2022-12-04) - Developed by George Sokianos

Traceback (most recent call last):
File "KDH1:Comm/aiostreams/twitch.py", line 302, in <module>
main(sys.argv[1:])
File "KDH1:Comm/aiostreams/twitch.py", line 279, in main
videoInfo = aioapi.getVideoInfo(video['id'], video['type'])
File "KDH1:Comm/aiostreams/twitch.py", line 126, in getVideoInfo
return json.loads(responseData)
File "Utilidades:Comm/aiostreams/simplejson/__init__.py", line 518, in loads
return _default_decoder.decode(s)
File "Utilidades:Comm/aiostreams/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "Utilidades:Comm/aiostreams/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
File "Utilidades:Comm/aiostreams/simplejson/scanner.py", line 79, in scan_once
return _scan_once(string, idx)
File "Utilidades:Comm/aiostreams/simplejson/scanner.py", line 70, in _scan_once
raise JSONDecodeError(errmsg, string, idx)
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
#


https://aiostreams.amiga-projects.net/ ... /channel/429381908/videos

Go to top
Re: YT stopped working with Odyssey
Just can't stay away
Just can't stay away


See User information
@jabiruloQuote:
jabirulo wrote:@walkero

Hi, was trying to see a twitch stream and got this as error output:

#KDH1:Comm/aiostreams/twitch.py -u https://www.twitch.tv/videos/2005030791
aiostreams vv1.7.6 (2022-12-04) - Developed by George Sokianos

Traceback (most recent call last):
File "KDH1:Comm/aiostreams/twitch.py", line 302, in
main(sys.argv[1:])
File "KDH1:Comm/aiostreams/twitch.py", line 279, in main
videoInfo = aioapi.getVideoInfo(video['id'], video['type'])
File "KDH1:Comm/aiostreams/twitch.py", line 126, in getVideoInfo
return json.loads(responseData)
File "Utilidades:Comm/aiostreams/simplejson/__init__.py", line 518, in loads
return _default_decoder.decode(s)
File "Utilidades:Comm/aiostreams/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "Utilidades:Comm/aiostreams/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
File "Utilidades:Comm/aiostreams/simplejson/scanner.py", line 79, in scan_once
return _scan_once(string, idx)
File "Utilidades:Comm/aiostreams/simplejson/scanner.py", line 70, in _scan_once
raise JSONDecodeError(errmsg, string, idx)
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
#


https://aiostreams.amiga-projects.net/ ... /channel/429381908/videos


I just tested it with your Video and TwitchTv via Odyssey and I got the exact same error.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: YT stopped working with Odyssey
Quite a regular
Quite a regular


See User information
This is a YT thread. But since we are off topic:

aiostreams youtube stopped working as well. You can still search for videos but the links don't play.

They do play in YT though.

Go to top
Re: YT stopped working with Odyssey
Just can't stay away
Just can't stay away


See User information
To get back to the actual topic, I also noticed something with YT.rexx when playing YouTube streams via Odyssey. There is always a small window with the error message "Fontconfig error" but the YouTube stream is playing.

Maybe someone knows what is causing the problem?

Resized Image

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: YT stopped working with Odyssey
Just can't stay away
Just can't stay away


See User information
@Maijestro
I don't know how fonts work in Odyssey, my AmigaOS 3.x and 4.x ports of OWB ports used the AmigaOS native font functions instead of libfreetype and fontconfig, but you could try if executing "fc-cache -f" in a shell helps.
Depending on how much TTF/OTF fonts you have installed that may take a long time to complete.

Go to top
Re: YT stopped working with Odyssey
Just can't stay away
Just can't stay away


See User information
@joergQuote:
joerg wrote:@Maijestro
I don't know how fonts work in Odyssey, my AmigaOS 3.x and 4.x ports of OWB ports used the AmigaOS native font functions instead of libfreetype and fontconfig, but you could try if executing "fc-cache -f" in a shell helps.
Depending on how much TTF/OTF fonts you have installed that may take a long time to complete.


Thanks for trying to help, but it doesn't solve the problem.

New shell process 7
7.Workbench
:> fc-cache -f
fonts
:_truetypefailed to write cache


Edit:I recorded the output with Snoopy, I'm not sure if it might be a problem with MPlayer/YT.rexx or Odyssey. Maybe it will help someone identify the problem.

Snoopy output:

https://paste.ofcode.org/wdE4L8awipa3JLUySPPR5Q


Edited by Maijestro on 2023/12/17 12:41:02
Edited by Maijestro on 2023/12/17 12:41:41
MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: YT stopped working with Odyssey
Quite a regular
Quite a regular


See User information
@Maijestro
Quote:
I also noticed something with YT.rexx when playing YouTube streams via Odyssey. There is always a small window with the error message "Fontconfig error" but the YouTube stream is playing. Maybe someone knows what is causing the problem?

This is not a YT problem. It's a problem with the version of MPlayer you are using. Please report it to the developers.

Go to top
Re: YT stopped working with Odyssey
Just can't stay away
Just can't stay away


See User information
@ktaddQuote:
ktadd wrote:@Maijestro
Quote:
I also noticed something with YT.rexx when playing YouTube streams via Odyssey. There is always a small window with the error message "Fontconfig error" but the YouTube stream is playing. Maybe someone knows what is causing the problem?

This is not a YT problem. It's a problem with the version of MPlayer you are using. Please report it to the developers.

I was unsure but after looking at Snoopy's log file I suspect that this is the problem:

01176 MPlayer-AltiVec FAIL Lock("opt:ppc-amigaos/usr/etc/fonts/conf.d",SHARED) [85uS]
01177 MPlayer-AltiVec FAIL Lock("opt:ppc-amigaos/usr/etc/fonts/conf.d",SHARED) [31uS]
01178 : 
MPlayer-AltiVec FAIL Lock(".config:fontconfig/conf.d",SHARED) [61uS]
01179 : 
MPlayer-AltiVec FAIL Lock(".config:fontconfig/conf.d",SHARED) [31uS]
01180 : 
MPlayer-AltiVec FAIL Lock(".config:fontconfig/conf.d",SHARED) [32uS]
01181 : 
MPlayer-AltiVec FAIL Lock(".config:fontconfig/conf.d",SHARED) [29uS]
01182 : 
MPlayer-AltiVec FAIL Lock(".config:fontconfig/fonts.conf",SHARED) [30uS]
01183 : 
MPlayer-AltiVec FAIL Lock(".config:fontconfig/fonts.conf",SHARED) [29uS]
01184 : 
MPlayer-AltiVec FAIL Lock(".config:fontconfig/fonts.conf",SHARED) [29uS]
01185 : 
MPlayer-AltiVec FAIL Lock(".config:fontconfig/fonts.conf",SHARED) [29uS]
01186 : 
MPlayer-AltiVec FAIL Lock(".local:share/fonts",SHARED) [30uS]
01187 : 
MPlayer-AltiVec FAIL Lock(".local:share/fonts",SHARED) [30uS]
01188 : 
MPlayer-AltiVec FAIL Lock("usr:local/share/fonts",SHARED) [76uS]
01189 : 
MPlayer-AltiVec FAIL Lock("usr:local/share/fonts",SHARED) [34uS]
01190 : 
MPlayer-AltiVec FAIL Lock("usr:share/fonts",SHARED) [33uS]
01191 : 
MPlayer-AltiVec FAIL Lock("usr:share/fonts",SHARED) [26uS]
01192 : 
MPlayer AltiVec o.k. = Open("PROGDIR:conf/subfont.ttf",OLD) = [0x17EACFC2] [3604uS]


But I needed confirmation for this, I will submit it to the MPlayer team. Thanks

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top

  Register To Post
(1) 2 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project