Bug 445382 - Now Playing does not show song information if the Playlist was built from the Files section
Summary: Now Playing does not show song information if the Playlist was built from the...
Status: RESOLVED FIXED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: 21.08.2
Platform: Manjaro Linux
: VHI normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords: regression
: 446641 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-11-12 16:13 UTC by nf.pereira
Modified: 2022-01-27 15:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nf.pereira 2021-11-12 16:13:00 UTC
SUMMARY
Now Playing shows information if the song playing is on a playlist built from the Album section, but show no info if the playlist was built from the Files section.

STEPS TO REPRODUCE
1. Select the Files section.
2. Add any song or folder to the playlist and play it.

OBSERVED RESULT
Observe how the Now Playing section is empty, or filled with data from a previously playing album.

EXPECTED RESULT
Data in Now Playing should be the same as if I had built my playlist from the Albums section.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-12-07 21:41:24 UTC
*** Bug 446641 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2021-12-07 21:41:42 UTC
Can confirm.
Comment 3 Yerrey Dev 2022-01-27 15:23:41 UTC
Git commit fe5f08cb7dff65cc2b1e6cb8e6e45706201c233c by Yerrey Dev.
Committed on 27/01/2022 at 12:02.
Pushed by ngraham into branch 'master'.

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.
Related: bug 448043, bug 427289

M  +1    -1    src/modeldataloader.cpp

https://invent.kde.org/multimedia/elisa/commit/fe5f08cb7dff65cc2b1e6cb8e6e45706201c233c