Summary: | "Now Playing" page says "Nothing playing" when Elisa is launched with a file that was already in the playlist | ||
---|---|---|---|
Product: | [Applications] Elisa | Reporter: | Patrick Silva <bugseforuns> |
Component: | general | Assignee: | Matthieu Gallien <matthieu_gallien> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fabian.baumanis, med.medin.2014, nate |
Priority: | NOR | ||
Version: | 21.08.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/multimedia/elisa/commit/fe5f08cb7dff65cc2b1e6cb8e6e45706201c233c | Version Fixed In: | |
Attachments: |
test file
screenshot Elisa show nothing playing while music is on |
Description
Patrick Silva
2020-10-03 11:52:10 UTC
Created attachment 132085 [details]
test file
Created attachment 132086 [details]
screenshot
The test file only has a title in the ID3 tags. The check for the "Nothing played" message doesn't include a check on the title, therefore the message is displayed. I've created a patch for it and opened a Merge Request: https://invent.kde.org/multimedia/elisa/-/merge_requests/174 Git commit 36fcaa2be6bbffba55f2b36e1c10caa0fdf568aa by Matthieu Gallien, on behalf of Fabian Baumanis. Committed on 11/10/2020 at 17:34. Pushed by mgallien into branch 'master'. Fix "Nothing played" message when a file only with a title tag is played M +1 -0 src/qml/ContextView.qml https://invent.kde.org/multimedia/elisa/commit/36fcaa2be6bbffba55f2b36e1c10caa0fdf568aa The problem is still persistent with Plasma 5.21.5, see attached video for more info. Created attachment 138583 [details]
Elisa show nothing playing while music is on
Got it, can reproduce now. Updating title. New tests done with the attached audio file located in a folder not indexed by Elisa and opened via Dolphin... While Elisa 21.08.1 plays the attached file without metadata, "Now playing" page only says "No lyrics found". After adding Artist and Album metadata to the same file, "Now playing" page displays the following information together "No lyrics found": rating year channels bit rate sample rate last played play count duration I think the expected is displaying the information above regardless the file has metadata or not. 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 445382 M +1 -1 src/modeldataloader.cpp https://invent.kde.org/multimedia/elisa/commit/fe5f08cb7dff65cc2b1e6cb8e6e45706201c233c |