larsks / docker-image-logitech-media-server

MIT License
33 stars 74 forks source link

Youtube plugin not working #22

Open kungfoolfighting opened 5 years ago

kungfoolfighting commented 5 years ago

Hi Lars, sorry to bother you with this issue that you are probably not responsible for, but i thought you might have some solution to this:

I have so far run LMS on my Arch Linux machine from the logitechmediaserver-git AUR package. This works fine, including the Youtube plugin. Now I wanted to containerize LMS and it almost all works, as long as I use the host network to get stuff like the chromecast bridge to work. The youtube plugin however is refusing to cooperate. The only stuff that I have gotten to play is the livestreams. For other videos it will play them but no sound appears. The logs show this:

[19-01-08 14:41:03.8180] Plugins::YouTube::WebM::__ANON__ (683) could not get codec info                                                                                                                                                                                       [227/27731]
[19-01-08 14:41:03.8239] Plugins::YouTube::ProtocolHandler::new (95) $VAR1 = {
          'format' => 'ogg'
        };

I even tried updating the container to this version: http://downloads.slimdevices.com/nightly/?ver=7.9 But with no change in behavior.

The information section for the Arch Linux AUR package shows:

Logitech Media Server Version: 7.9.2 - ARCH-AUR-GIT.20190108.e5c860d @ Tue Jan 8 14:44:49 CET 2019
Hostname: homeserver
Server IP Address: 192.168.2.115
Server HTTP Port Number: 9000
Operating system: Linux - EN - utf8
Platform Architecture: x86_64-linux
Perl Version: 5.28.1 - x86_64-linux-thread-multi
Audio::Scan: 1.02
IO::Socket::SSL: 2.060
Database Version: DBD::SQLite 1.60 (sqlite 3.25.2)
Total Players Recognized: 4

Do you have any idea what I am doing wrong?