jboesl / docker-logitechmediaserver

Docker image for Logitech Media Server (lms, SqueezeCenter, SqueezeboxServer, SlimServer).
MIT License
6 stars 6 forks source link

FLAC playback fails #6

Open kungfoolfighting opened 3 years ago

kungfoolfighting commented 3 years ago

Hello, sadly, with this docker container I run into the issue that trying to play any FLAC files leads to white noise coming from my Squeezelite clients. I verified that it works with a straight install from AUR. The log output is:

[21-08-07 11:27:33.2279] Slim::Player::Song::open (415) Error: Couldn't create command line for flc playback for [file:///srv/music/Music/Nicolas%20Jaar/Sirens/Nicolas%20Jaar%20-%20Sirens%20-%2009%20-%20History%20Lesson.flac]
/usr/share/squeezeboxserver/Bin/x86_64-linux/sox FAIL formats: can't open input  `-': WAVE: RIFF header not found
/usr/share/squeezeboxserver/Bin/x86_64-linux/sox FAIL sox: `-' error writing output file: Broken pipe
/usr/share/squeezeboxserver/Bin/x86_64-linux/sox FAIL formats: can't open input  `-': WAVE: RIFF header not found

Do you have any idea how I could fix this? Thanks!

jboesl commented 3 years ago

There is now an official community image: https://hub.docker.com/r/lmscommunity/logitechmediaserver Did you give that a try?

kungfoolfighting commented 3 years ago

Thanks for your reply, very helpful. I had not tried that one yet. I specifically chose yours because it took care of requirements for spotty and youtube plugins, that were not present in others. Do you think they would also work with that image?

jboesl commented 3 years ago

I haven't tried it, yet. It's still on my todo list :) If the community image works will I will abandon this image.

kungfoolfighting commented 3 years ago

Okay I will give it a try and let you know if it works for me. Thanks again!

kungfoolfighting commented 3 years ago

I have tried out the official image and I have the exact same issue with FLAC playback as with your image. I will try and create an issue with the official image maintainers.