devsnd / cherrymusic

Stream your own music collection to all your devices! The easy to use free and open-source music streaming server.
http://www.fomori.org/cherrymusic
GNU General Public License v3.0
1.03k stars 189 forks source link

[Windows] My music is on a NAS on the local network #661

Closed mapomme1108 closed 7 years ago

mapomme1108 commented 7 years ago

Hello,

I have installed Cherrymusic on Windows.

My music is on a NAS on the local network.

If I create symbolic links to the NAS in the Cherrymusic music folder, Cherrymusic finds the symlinks but can not find my music files. If I type the direct path to the network share in Cherrymusic, it does not work either.

How could I make Cherrymusic find my music on my NAS?

Thanks in advance for your help

mapomme1108 commented 7 years ago

It works with this path //NAS/Multimedia/Musique

tilboerner commented 7 years ago

It works with this path //NAS/Multimedia/Musique

Okay, can we close this issue, or are you interested in debugging the cases where it doesn't work? Either way is fine; feel free to close this yourself. Otherwise:

In general, it's always nice to see some output if unexpected things happen, particularly from the server console. Are there error messages? Or does Cherrymusic not follow the links? To be honest, I'm not really sure how well symlinks and Python work together in Windows; I just found this open ticket on python.org, which would be relevant.

So yeah, folks, don't use symlinks on Windows for the time being. Not sure what's wrong with the "direct path to the network share", though. How is that different from //NAS/Multimedia/Musique?

mapomme1108 commented 7 years ago

What I call "direct path to the network share" is this : M:\Multimedia\Musique and it is different to this: //NAS/Multimedia/Musique

tilboerner commented 7 years ago

Thanks for clearing this up. So network-mapped drives in Windows don't behave like the actual network location, at least as far as Cherrymusic is concerned. That's good to know. (We use Linux and don't usually get much exposure to Windows-related idiosyncrasies.)

I'm closing this issue since using the net location works. If you disagree, feel free to reopen and tell us why. :)