Bug 424318 - Statistics, lyrics and cover image missing after restart
Summary: Statistics, lyrics and cover image missing after restart
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Playlists/Dynamic Playlists (show other bugs)
Version: kf5
Platform: openSUSE Linux
: NOR normal
Target Milestone: kf5
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-17 06:44 UTC by Stephan Schöttl
Modified: 2021-12-11 20:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
before restart, everything is displayed correctly (228.85 KB, image/png)
2020-07-17 06:44 UTC, Stephan Schöttl
Details
after restarting amarok, items are not displayed correctly (171.62 KB, image/png)
2020-07-17 06:45 UTC, Stephan Schöttl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Schöttl 2020-07-17 06:44:41 UTC
Created attachment 130193 [details]
before restart, everything is displayed correctly

SUMMARY
When playing a dynamic play list based on the local collection, statistics, lyrics and the cover image are displayed correctly. After stopping and re-starting amrok, these items are missing. Statistics (play count and last played) are not updated after playing a track. Re-filling the play list makes all items re-appear, but then the original playlist is gone.

STEPS TO REPRODUCE
1. Play songs ffrom the local collection using a dynamic playlist
2. Stop amarok
3. Start amarok
4. Continue playing the playlist

OBSERVED RESULT
No statistics in the playlist.
In the central part, cover, statistics values and lyrics are missing.
After playing tracks, the play count and last played values are not updated in the database.

EXPECTED RESULT
Show cover, lyrics and statistics in the GUI.
Update play count and last played values in the database.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: opensuse Leap 15.2
KDE Frameworks Version: KDE Frameworks 5.71.0

ADDITIONAL INFORMATION
See two screenshots in the attachments:
1.- before restart, everything is displayed correctly
2.- after restarting amarok, items are not displayed
Comment 1 Stephan Schöttl 2020-07-17 06:45:29 UTC
Created attachment 130194 [details]
after restarting amarok, items are not displayed correctly
Comment 2 Myriam Schweingruber 2020-07-17 07:58:52 UTC
If you are using Leap, I doubt this is Amarok 2.9.0, please check the version again...
Comment 3 Stephan Schöttl 2020-07-17 09:24:53 UTC
Here is the rpm package information:

rpm -qi amarok
Name        : amarok
Version     : 2.9.70git.20200617T113036~a69c9418b4
Release     : lp152.1.1
Architecture: x86_64
Install Date: So 12 Jul 2020 23:21:48 CEST
Group       : Productivity/Multimedia/Sound/Players
Size        : 31872087
License     : GPL-2.0-or-later
Signature   : RSA/SHA256, So 21 Jun 2020 23:33:01 CEST, Key ID b88b2fd43dbdc284
Source RPM  : amarok-2.9.70git.20200617T113036~a69c9418b4-lp152.1.1.src.rpm
Build Date  : So 21 Jun 2020 23:29:09 CEST
Build Host  : cloud120
Relocations : (not relocatable)
Packager    : https://bugs.opensuse.org
Vendor      : openSUSE
URL         : https://amarok.kde.org/
Summary     : Media Player
Description :
Amarok is a media player for all kinds of media. This includes MP3, Ogg
Vorbis, audio CDs, podcasts and streams. Play lists can be stored in
.m3u or .pls files.
Distribution: openSUSE Leap 15.2

It comes from http://download.opensuse.org/distribution/leap/15.2/repo/oss/x86_64/
Comment 4 Myriam Schweingruber 2020-07-18 20:20:44 UTC
yep, 2.9.70 is the alpha version of the kf5 port, NOT 2.9.0
Comment 5 Stephan Schöttl 2021-12-09 10:55:53 UTC
The problem disappeared, when Amarok re-scanned the mp3 collection. I noticed that after that in the database the paths started with "home/" whereas previously they started with "./home".
Comment 6 Myriam Schweingruber 2021-12-09 16:17:19 UTC
(In reply to Stephan Schöttl from comment #5)
> The problem disappeared, when Amarok re-scanned the mp3 collection. I
> noticed that after that in the database the paths started with "home/"
> whereas previously they started with "./home".

So can this report been closed?
Comment 7 Stephan Schöttl 2021-12-10 10:09:01 UTC
(In reply to Myriam Schweingruber from comment #6)
> (In reply to Stephan Schöttl from comment #5)
> > The problem disappeared, when Amarok re-scanned the mp3 collection. I
> > noticed that after that in the database the paths started with "home/"
> > whereas previously they started with "./home".
> 
> So can this report been closed?

Yes, from my point of view this can be closed.
Comment 8 Myriam Schweingruber 2021-12-11 20:04:04 UTC
Thanks for the fast feedback