Ignore fetch delay while locating song in media library
This commit is contained in:
@@ -962,7 +962,10 @@ void MediaLibrary::locateSong(const MPD::Song &s)
|
|||||||
{
|
{
|
||||||
Tags.clearFilter();
|
Tags.clearFilter();
|
||||||
if (Tags.empty())
|
if (Tags.empty())
|
||||||
|
{
|
||||||
|
requestTagsUpdate();
|
||||||
update();
|
update();
|
||||||
|
}
|
||||||
|
|
||||||
if (!MoveToTag(Tags, primary_tag))
|
if (!MoveToTag(Tags, primary_tag))
|
||||||
{
|
{
|
||||||
@@ -981,7 +984,10 @@ void MediaLibrary::locateSong(const MPD::Song &s)
|
|||||||
|
|
||||||
Albums.clearFilter();
|
Albums.clearFilter();
|
||||||
if (Albums.empty())
|
if (Albums.empty())
|
||||||
|
{
|
||||||
|
requestAlbumsUpdate();
|
||||||
update();
|
update();
|
||||||
|
}
|
||||||
|
|
||||||
// When you locate a song in the media library, if no albums or no songs
|
// When you locate a song in the media library, if no albums or no songs
|
||||||
// are found, set the active column to the previous one (tags if no albums,
|
// are found, set the active column to the previous one (tags if no albums,
|
||||||
@@ -1018,7 +1024,7 @@ void MediaLibrary::locateSong(const MPD::Song &s)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Songs.clearFilter();
|
Songs.clearFilter();
|
||||||
Songs.clear();
|
requestSongsUpdate();
|
||||||
update();
|
update();
|
||||||
|
|
||||||
if (!Songs.empty())
|
if (!Songs.empty())
|
||||||
|
|||||||
Reference in New Issue
Block a user