Bug 269241 - old collection lost after upgrade to 2.4.0.90
Summary: old collection lost after upgrade to 2.4.0.90
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Local (show other bugs)
Version: 2.4.0.90
Platform: openSUSE Linux
: NOR major
Target Milestone: 2.4.1
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 17:01 UTC by Vadym Krevs
Modified: 2012-08-04 11:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.6


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadym Krevs 2011-03-23 17:01:45 UTC
Version:           2.4.0.90 (using KDE 4.6.1) 
OS:                Linux

Just ran "zypper up" and it installed amarok 2.4.0.90. Started amarok and attempted to play a track from the current playlist. Suddenly, "Local Collection" repainted itself and showed "0 tracks" (instead of the usual "5365 tracks"). Tools->Update Collection had no effect. Full rescan via Settings->Configure Amarok->Collection "recovered" the collection - hundreds of songs no longer appear to have a valid artist and/or album (which was not the case with any of the previous versions of amarok or any other music player such as songbird or banshee). I had to manually go thru each such song and recover correct artist/track information.

Reproducible: Didn't try




OS: Linux (x86_64) release 2.6.37.1-1.2-desktop
Compiler: gcc
Comment 1 Myriam Schweingruber 2011-03-24 00:02:48 UTC
Very strange. From which Amarok version did you upgrade?
Comment 2 Vadym Krevs 2011-03-24 09:47:12 UTC
The latest shipped with KDE SC 4.5.5 for openSUSE 11.3 from OBS: 2.4.0.

Basically, amarok worked fine under openSUSE 11.3 and KDE SC 4.5.5, then I upgraded to 11.4, and then switched to KDE SC 4.6.1 from http://download.opensuse.org/repositories/KDE:/Release:/46/openSUSE_11.4/, and ran amarok for the first time under 11.4, which was when the problem happened.
Comment 3 Ralf Engels 2011-03-24 10:52:37 UTC
I guess your hard disk UUID got updated when updating KDE which triggers a re-scan.
We have already a bug entry for that.

What puzzles me is that you have lost artist and album information.
Don't you have this information in id3 tags?

Can you check one of the offending files. Maybe execute he amarok_collectionscanner on the directory.
Comment 4 Vadym Krevs 2011-03-24 11:48:28 UTC
I did have this information in id3 tags - as the previous version of amarok (and songbird/banshee) always displayed them correctly. However, when it happened with the latest amarok, I went through each file, clicked on "Edit Track Details" and recovered "missing" information using the filename, and saved it back to the file. In other words, the "offending" files are no longer "offending".
Comment 5 Myriam Schweingruber 2011-06-04 12:23:20 UTC
This is an automated message from the triager:

Amarok 2.4.1 has been released on May 8 already. Could you please upgrade and test if you can still reproduce this bug?

Without feedback within a month we will close this bug as resolved.

Thank you for your understanding.
Comment 6 Vadym Krevs 2011-06-04 13:00:42 UTC
As my old collection was lost during the upgrade, and a new one had to be re-created from scratch, there is no practical way for me to test this. Perhaps you should add upgrade of collections created in older amarok releases to the set of tests you run prior to releasing a new version of amarok.
Comment 7 Myriam Schweingruber 2011-06-04 14:24:23 UTC
Noted. We will add this to the testing list.

In the meantime I will leave this open and check again later once the testing is started. Thank you for your fast feedback.
Comment 8 Myriam Schweingruber 2011-11-15 22:07:13 UTC
Added to our testing list: http://amarok.kde.org/wiki/Development/Testing#New_Installation
Comment 9 Myriam Schweingruber 2012-05-08 13:07:13 UTC
Changing to status REMIND.
Comment 10 Myriam Schweingruber 2012-08-04 11:40:28 UTC
This is solved in the upcoming Amarok 2.6 where a collection update will be triggered on first start. I also added this to the testing wiki: http://amarok.kde.org/wiki/Development/Testing#Upgraded_Installation