Coder Social home page Coder Social logo

Issue Directory about leafplayer HOT 3 CLOSED

paulschwoerer avatar paulschwoerer commented on June 26, 2024
Issue Directory

from leafplayer.

Comments (3)

paulschwoerer avatar paulschwoerer commented on June 26, 2024

Hi Vito,
I assume you have done the following:

  1. mounted your music folder into the docker container (-v /path/to/your/music:/music:ro)
  2. added the mounted folder (... library:dir --add /music)
  3. ran the scan (... library:scan)

Is that correct?
Also, do the logs of your leafplayer container show anything out of order?

from leafplayer.

Vito711 avatar Vito711 commented on June 26, 2024

Yes, I have done it, but there is no possibility, to mount a folder in a different path?

from leafplayer.

paulschwoerer avatar paulschwoerer commented on June 26, 2024

It is possible to mount a folder in a different path, as long as you use the same path when adding a library folder. For example, if your music is stored in /home/ubuntu/leafplayer/music, you could mount that to /media_data inside the container

# some arguments have been omitted for clarity

docker run  -v "/home/ubuntu/leafplayer/music:/media_data:ro" paulschwoerer/leafplayer

Now you can add the /media_data folder as a library folder

docker exec leafplayer node main.js library:dir --add /media_data

After scanning, your music should be available in the web interface.

I hope, I understood your issue correctly. Let me know if that clears things up.

from leafplayer.

Related Issues (3)

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.