fix adding selected directory to playlist
This commit is contained in:
@@ -2906,10 +2906,7 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
case itDirectory:
|
case itDirectory:
|
||||||
{
|
{
|
||||||
if (browsed_dir != "/")
|
Mpd->GetDirectoryRecursive(item.name, result);
|
||||||
Mpd->GetDirectoryRecursive(browsed_dir + "/" + item.name, result);
|
|
||||||
else
|
|
||||||
Mpd->GetDirectoryRecursive(item.name, result);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case itSong:
|
case itSong:
|
||||||
|
|||||||
Reference in New Issue
Block a user