attempt to remove items physically only if mpd_music_dir is set
This commit is contained in:
@@ -565,6 +565,9 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
else if (myScreen == myBrowser && !myBrowser->Main()->Empty() && myBrowser->Main()->Current().type != itPlaylist)
|
else if (myScreen == myBrowser && !myBrowser->Main()->Empty() && myBrowser->Main()->Current().type != itPlaylist)
|
||||||
{
|
{
|
||||||
|
if (!Config.local_browser)
|
||||||
|
CHECK_MPD_MUSIC_DIR;
|
||||||
|
|
||||||
MPD::Item &item = myBrowser->Main()->Current();
|
MPD::Item &item = myBrowser->Main()->Current();
|
||||||
|
|
||||||
if (item.type == itSong && !Config.allow_physical_files_deletion)
|
if (item.type == itSong && !Config.allow_physical_files_deletion)
|
||||||
|
|||||||
Reference in New Issue
Block a user