notandy / ympd

Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS
http://www.ympd.org
GNU General Public License v2.0
523 stars 144 forks source link

Preview Playlists #90

Open BenjaminHae opened 9 years ago

BenjaminHae commented 9 years ago

It would be nice to have the ability to preview playlists before adding them to the queue.

SuperBFG7 commented 8 years ago

How do you add playlists anyway? Must they be located in the music directory?

BenjaminHae commented 8 years ago

Playlists are saved by mpd. By default they are stored in /var/lib/mpd/playlists If you want to generate a playlist manually you have to fix the paths(relative to the music directory) and save it in the playlists directory. On Feb 15, 2016 12:50 PM, "Daniel Schregenberger" notifications@github.com wrote:

How do you add playlists anyway? Must they be located in the music directory?

— Reply to this email directly or view it on GitHub https://github.com/notandy/ympd/issues/90#issuecomment-184178886.

SuperBFG7 commented 8 years ago

Thanks, I meant: I don't see my saved playlists in ympd when I click "browse database". I can save them in ympd or another client or load them in another client, but not in ympd. Do I have to make a symlink from the music directory to the playlist directory or something to be able to load them?

BenjaminHae commented 8 years ago

Normally it should work out of the box. What does mpc lsplaylists show?

SuperBFG7 commented 8 years ago

ok, strange, mpc lsplaylists shows my only saved playlist (so far, because I couldn't load it anymore). I saved it using ympd, at least this seemed to work.

$ mpc lsplaylists Covers

$ ls -l /var/lib/mpd/playlists/ total 4 -rw-r--r-- 1 mpd mpd 358 17. Okt 12:33 Covers.m3u

SuperBFG7 commented 8 years ago

Oh, wait. I think some patch I applied broke it, it's in the HTML but not visible. Probably the "always display artist and album" one. Thanks for your help!

EDIT: yes, found and corrected it in my tree.