You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MPD playlists (/var/lib/mpd/playlists/) are shown in the root of the music library, but when trying to play them, an error is thrown:
info: [1462956944404] ControllerMpd::sendMpdCommandArray
info: Error:
Error: [50@1] {add} Not found
at MpdClient.receive (/volumio/node_modules/mpd/index.js:57:17)
at Socket.<anonymous> (/volumio/node_modules/mpd/index.js:37:12)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at readableAddChunk (_stream_readable.js:147:16)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:523:20)
The cause is that ControllerMpd.addPlay is called with the name of the playlist (without extension), so command 'add' is sent instead of 'load' (/volumio/node_modules/mpd/index.js:145).
I don't know a reliable way of knowing if is in fact an MPD playlist, except maybe !fileName.startsWith('NAS/').
Perhaps these playlists should also better be located in 'Playlists' instead of 'Music library'?
The text was updated successfully, but these errors were encountered:
I was thinking about a plugin that would read m3u-files from a folder and converts them (periodically) to volumio2-playlists, but first i'll need to have a look at the plugin structure.
MPD playlists (/var/lib/mpd/playlists/) are shown in the root of the music library, but when trying to play them, an error is thrown:
The cause is that
ControllerMpd.addPlay
is called with the name of the playlist (without extension), so command 'add' is sent instead of 'load' (/volumio/node_modules/mpd/index.js:145).I don't know a reliable way of knowing if is in fact an MPD playlist, except maybe
!fileName.startsWith('NAS/')
.Perhaps these playlists should also better be located in 'Playlists' instead of 'Music library'?
The text was updated successfully, but these errors were encountered: