Bug 332415 - After restart, some playlist entries are out of sync with collection
Summary: After restart, some playlist entries are out of sync with collection
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Local (show other bugs)
Version: 2.8.0
Platform: Ubuntu Linux
: NOR minor
Target Milestone: 2.9
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-21 19:00 UTC by Juanma
Modified: 2023-01-02 05:28 UTC (History)
3 users (show)

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


Attachments
View of two playlist entries for the same file. One is in the collection; the other is not. (26.01 KB, image/png)
2014-03-21 19:00 UTC, Juanma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juanma 2014-03-21 19:00:13 UTC
Created attachment 85674 [details]
View of two playlist entries for the same file. One is in the collection; the other is not.

When I open amarok, some of the tracks left in the playlist from a previous session show up as not belonging to the local collection (although they are), hence with no metadata such as rating or labels.
If I re-add the same tracks from the collection, I can have playlist entries related to the same tracks (and same files), some with metadata and some without.

I hope the attached picture will clarify.

It happens every time I re-open amarok, but not to all entries in the playlist, so it's a bit random.
Comment 1 Myriam Schweingruber 2014-03-22 18:15:56 UTC
Where is your database and where are the tracks located?
Comment 2 Juanma 2014-03-27 14:17:47 UTC
The tracks are all under "~/Music", which is the tree included in the local collection. All those folders are in the same ext4 partition as the "home" sub-system.

The MySQL database resides in a different ext2 partition. It is NOT physically in the same partition as /var. I use a "bind mount":
  (in /etc/fstab)
  /xtra/mysql  /var/lib/mysql/  none  bind
Comment 3 Myriam Schweingruber 2014-03-27 16:27:13 UTC
Is the database accessible when Amarok starts? Or is that partition only mounted once Amarok starts?
Comment 4 Juanma 2014-03-27 23:56:55 UTC
The DB is always mounted and accessible. I can connect to it with MySQL client with no intervention on amaroK side.
Comment 5 Myriam Schweingruber 2014-03-28 08:51:58 UTC
Thank you for the feedback.
Comment 6 Andrew Crouthamel 2018-11-11 04:25:15 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-11-12 03:23:05 UTC
Changing back to REPORTED per request of Myriam (Amarok dev).
Comment 8 Justin Zobel 2022-12-03 09:01:32 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 9 Bug Janitor Service 2022-12-18 05:14:44 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2023-01-02 05:28:43 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!