MusicPlayerDaemon / MPD

Music Player Daemon
https://www.musicpd.org/
GNU General Public License v2.0
2.17k stars 352 forks source link

Loading a playlist via proxy fails #848

Open madduck opened 4 years ago

madduck commented 4 years ago

Bug report

Describe the bug

A Raspberry Pi is configured to have proxy access to a remote database:

database {
    plugin "proxy"
    host "samba"
    port "6601"
    password "secret"
}

I can see playlists on the remote:

% mpc lsplaylists
02008883D5DC
02004E2BDCBB
0200886A9E7E
02008880CBC1
0200888DCCCB
0200882A52F2
02008BC55D11

Local playlists are not enabled:

% grep playlist_dir ~/.config/mpd/mpd.conf
#playlist_directory     "~/playlists"

Expected Behavior

I expect to be able to load a playlist if I can see it in lsplaylist output.

Actual Behavior

% mpc load 0200888DCCCB
loading: 0200888DCCCB
mpd error: No such playlist

Version

Music Player Daemon 0.21.22 (0.21.22)
Copyright 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright 2008-2018 Max Kellermann <max.kellermann@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Database plugins:
 simple proxy

Storage plugins:
 local smbclient nfs

Neighbor plugins:
 smbclient

Decoders plugins:
 [mad] mp3 mp2
 [vorbis] ogg oga
 [oggflac] ogg oga
 [flac] flac
 [opus] opus ogg oga
 [dsdiff] dff
 [dsf] dsf
 [hybrid_dsd] m4a
 [pcm]

Filters:
 libsamplerate

Tag plugins:
 id3tag

Output plugins:
 null fifo pipe alsa pulse httpd recorder

Encoder plugins:
 null vorbis opus wave flac

Input plugins:
 file alsa curl smbclient nfs

Playlist plugins:
 extm3u m3u pls xspf asx rss flac cue embcue

Protocols:
 file:// alsa:// http:// https:// smb:// nfs://

Other features:
 epoll inotify ipv6 systemd tcp un

Logs

% mpd --no-daemon --verbose --stderr
config_file: loading file /home/madduck/.config/mpd/mpd.conf
libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator'
vorbis: Xiph.Org libVorbis 1.3.6
opus: libopus 1.3
hybrid_dsd: The Hybrid DSD decoder is disabled because it was not explicitly enabled
curl: version 7.64.0
curl: with GnuTLS/3.6.7
client: [0] opened from [::1]:37454
client: [0] process command list
client: process command "load "0200888DCCCB""
exception: No such playlist
client: command returned 2
client: [0] process command list returned 2
client: [0] closed
GioF71 commented 1 year ago

Hello, this seems to be limiting satellite mode on mympd, see here: https://github.com/jcorporation/myMPD/discussions/932

Thanks!

sergueif commented 1 year ago

any update on this issue? I have many "satellites" and when using ncmpcpp with them, I'd like to have the "main" (not-satelite) be the one source-of-truth of playlists for all the satellites