mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 08:15:02 -05:00
Merge pull request #250 from chme/lsinfo
[mpd] Return playlists if 'lsinfo' is called without any parameters
This commit is contained in:
commit
06663e4ca2
@ -2995,7 +2995,7 @@ mpd_command_lsinfo(struct evbuffer *evbuf, int argc, char **argv, char **errmsg)
|
||||
}
|
||||
|
||||
print_playlists = 0;
|
||||
if (argc > 1 && (strncmp(parent, "/", 1) == 0 && strlen(parent) == 1))
|
||||
if ((strncmp(parent, "/", 1) == 0 && strlen(parent) == 1))
|
||||
{
|
||||
/*
|
||||
* Special handling necessary if the root directory '/' is given.
|
||||
|
Loading…
Reference in New Issue
Block a user