Bug 448043

Summary: Metadata not loaded in Now Playing view for files loaded into playlist from .m3u8 file
Product: [Applications] Elisa Reporter: Nate Graham <nate>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 21.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nate Graham 2022-01-06 23:44:33 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Have a .m38u playlist file
2. Load it into the Playlist with the Load... button
3. Start playing
4. Show the "Now Playing" view


OBSERVED RESULT
Metadata and lyrics are blank.


EXPECTED RESULT
Metadata and lyrics are shown.


ADDITIONAL INFORMATION
Loading the same files from within the main UI works fine, so this is an issue specific to the code path for loading playlist files on disk.
Comment 1 Yerrey Dev 2022-01-27 15:23:49 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 445382, bug 427289

M  +1    -1    src/modeldataloader.cpp

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