You are not logged in.
I checked if my mpd supports xspf files
$ mpd --version | grep xspf -B 1
Playlist plugins:
extm3u m3u pls xspf asx rss soundcloud cue embcueI made two playlists, one is m3u
$ ls -la
total 16
drwxr-xr-x 2 cyrus cyrus 4096 Jun 1 13:28 .
drwxr-xr-x 3 cyrus cyrus 4096 May 31 18:55 ..
-rwx------ 1 cyrus cyrus 1740 Jun 1 13:17 di.xspf
-rwx------ 1 cyrus cyrus 290 Jun 1 13:14 wala.m3uHowever,
$ mpc update && mpc lsplaylists
walaIt does not list di. It does not list the playlist in ncmpcpp as well. Am I missing something?
Last edited by vohof (2015-06-03 01:53:30)
Offline
mpd only uses m3u playlists for its internal playlist files.
You can use xspf playlists inside of your musicdir though.
# empty playlist
carnager@caprica ~ > mpc playlist
# check _playlist directory, where i stored a xspf file
carnager@caprica ~ > mpc ls _playlist
_playlist/playlist.xspf
# load the xspf file
carnager@caprica ~ > mpc load _playlist/playlist.xspf
loading: _playlist/playlist.xspf
# check playlist again
carnager@caprica ~ > mpc playlist
Green Magnet School - ProtocolLast edited by Rasi (2015-06-01 17:04:17)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Hello,
Wow, that worked! How come it does not list the playlist when I placed it to my configured playlist_directory?
Thank you.
Offline
Hello,
Wow, that worked! How come it does not list the playlist when I placed it to my configured playlist_directory?
Thank you.
I told you why. because mpd ONLY uses m3u playlists for those.
That directory is meant for playlists created with mpd itself.
Last edited by Rasi (2015-06-02 15:47:30)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Oh, okay. Thank you mate!
Offline