Git Product home page Git Product logo

Comments (5)

jpmenil avatar jpmenil commented on July 18, 2024 1

@forbesmyester when running squeezelite inside a docker container,
you'll need:
chmod -R a+rw /dev/snd/
or start your container, mapping your local audio group:

-u nobody:$(getent group audio | awk -F: '{print $3}')

https://github.com/jpmenil/squeezelite/blob/master/README.md?plain=1#L10-L14

from squeezelite.

forbesmyester avatar forbesmyester commented on July 18, 2024

Is there a way to skip this if?

if (ip == LOCAL_PLAYER_IP && port == LOCAL_PLAYER_PORT) {

from squeezelite.

ralph-irving avatar ralph-irving commented on July 18, 2024

Do you have the localplayer plugin installed in LMS? It's needed to support reading the files directly.

To skip that line you could use IP address of the ethernet adapter in the squeezelite settings instead of the lo interface.

from squeezelite.

forbesmyester avatar forbesmyester commented on July 18, 2024

Hi Ralph,

Thanks for your response.

I did have localplayer installed, but given that LMS was running in a docker container (I don't think) it had access to the soundcard / pulseaudio etc.

I tried using the -s flag but it didn't seem to have any effect and the stream_file:538 can't open errors still occurred (which is not what I was expecting).

I wonder if having had localplayer installed (during, but then previously) caused the issue?

from squeezelite.

forbesmyester avatar forbesmyester commented on July 18, 2024

@jpmenil good tip, and worth knowing, but as /dev is a virtual filesystem there'd (likely) be work to make those changes persist etc... Was really just trying to pull the music over the overlay / virtual network, which seems like an easier option.

from squeezelite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.