Commit fe5f08cb authored by Yerrey Dev's avatar Yerrey Dev
Browse files

Fix metadata not updating when track is opened from Files-browser

This was caused by files being opened as ElisaUtils::FileName TrackType instead of
ElisaUtils::Track, to fix this, we just add that into ModelDataLoader::loadDataByDatabaseIdAndUrl.

BUG: 448043
BUG: 445382
BUG: 427289
parent 0f21b665
......@@ -240,6 +240,7 @@ void ModelDataLoader::loadDataByDatabaseIdAndUrl(ElisaUtils::PlayListEntryType d
switch (dataType)
{
case ElisaUtils::FileName:
case ElisaUtils::Track:
Q_EMIT allTrackData(d->mDatabase->trackDataFromDatabaseIdAndUrl(databaseId, url));
break;
......@@ -251,7 +252,6 @@ void ModelDataLoader::loadDataByDatabaseIdAndUrl(ElisaUtils::PlayListEntryType d
case ElisaUtils::Composer:
case ElisaUtils::Genre:
case ElisaUtils::Lyricist:
case ElisaUtils::FileName:
case ElisaUtils::Unknown:
case ElisaUtils::Container:
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment