Closed alexanderadam closed 4 years ago
Thank you :-)
That error should not occur - can you send me an URL when it happens?
I have to thank you, Philippe! :wink:
It happens on every YouTube URL for me as long vorbis/opus
is activated. I'm not the only one as I saw others having the same problem in the Forum and some mailing lists.
Can I give you some data or log helping you to debug this?
Have you tried version 0.110.2? I've just uploaded 0.120 and integrated a PR which seems to have broken things, but AFAIK, vorbis/opus works for me on every single track on 0.110.2
I missed the initial comment. I think one of of the transcoder is missing in your setup, seems to be sox. What player are you using? You should try to set "player.source" logging to debug and see what's being spit out.
I missed the initial comment. I think one of of the transcoder is missing in your setup, seems to be sox. What player are you using? You should try to set "player.source" logging to debug and see what's being spit out.
sox
is installed in the image and these are the specs of the player that I use:
Player Model: Squeezebox Radio
Player Type: baby
Firmware: 7.7.3-r16676
The plugin has version v0.110.2
PS: Did you see my PR to extend the README?
PPPS: I also saw another error when I was switching tracks. Everything seemed to work fine, though and I'm not sure whether this one is related to the youtube plugin at all. I just saw youtube in the backtrace (Plugins/YouTube/M4a.pm line 134
— click to expand).
Very strange - what are your convert.conf and custom-convert.conf? I'm hesitating with the README because that talks about opus/vorbis as I think this is specific to a problem with your configuration
I never touched those files and I don't think they're modified in the rest of the simple Docker setup.
However, I just saw that I was using an older LMS release (7.x
). I just updated to 8
and now everything is working again.
I'm so sorry Philippe! :see_no_evil:
I'm hesitating with the README because that talks about opus/vorbis as I think this is specific to a problem with your configuration
The setup doesn't change anything regarding codecs.
Also this seem to happen in other cases as well (this is how I found out that disabling vorbis works in the first place :wink:). See this forum entry of the user Squid or this GitHub comment.
They might have had different causes but you can't have problems with vorbis logic if you disable it, right? :wink: Furthermore it solved to problem.
However, I just removed the part with the solution from the README now as that's your wish.
There was indeed a problem with vorbis/opus but that was a while ago and I corrected it, hence I was confused. You absolutely can remove opus/vorbis support but these are good, modern, codecs and I donc know how much YT will support aac in the future. They already have abandoned codecs in the past and the trend for them really seems to be opus
I'm not quite sure whether this is possible, but I ran into the vorbis/opus issue and the Squeezebox just showed
problem: unable to play file type for $youtube_title
. It didn't even show anything about "vorbis" or "opus". I had to look in the LMS log to findSlim::Player::Song::open (409) Error: Couldn't create command line for ops playback for [youtube://www.youtube.com/v/…
and thus finding the reason.So I guess it would be great if the error message could be improved.
Apart from that the plugin is working flawlessly for me, so thank you so much for maintaining it and your work on LSM things in general! :pray: Your work is really outstanding!
PS: Do you know what could be missing when this error occurs? I'm using @apnar's Docker image and I thought that all required dependencies should be available?