media library: do not attempt to locate local files
This commit is contained in:
@@ -948,6 +948,11 @@ void MediaLibrary::LocateSong(const MPD::Song &s)
|
|||||||
Statusbar::printf("Can't use this function because the song has no %s tag set", item_type);
|
Statusbar::printf("Can't use this function because the song has no %s tag set", item_type);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!s.isFromDatabase())
|
||||||
|
{
|
||||||
|
Statusbar::print("Song is not from the database");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (myScreen != this)
|
if (myScreen != this)
|
||||||
switchTo();
|
switchTo();
|
||||||
|
|||||||
Reference in New Issue
Block a user