Bug 252715 - Rescanning collection from scratch messes library view until restart.
Summary: Rescanning collection from scratch messes library view until restart.
Status: RESOLVED DUPLICATE of bug 172542
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: 2.4.0
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 09:22 UTC by Hakan Bayindir
Modified: 2010-09-30 09:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hakan Bayindir 2010-09-29 09:22:21 UTC
Version:           2.3.1 (using KDE 4.4.5) 
OS:                Linux

Since Amarok 2.x library only updates itself when a file is added or removed from the library, I need to rescan my entire library if I make changes in the id3 tags of songs without removing them from my library first (which is not a problem). However, when I re-scan my collection from the Configure Amarok dialog (Settings -> Configure Amarok) the library view goes awry. Artists lose albums, songs duplicate, pointers get lost sometimes (cannot play a song if it is visible). Luckily this is fixed by a Quit & Relaunch of Amarok but, that shouldn't happen in the first place. BTW, I use Kid3 for ID3 tags since it provides a more detailed view and gives better control over tags and details.

Reproducible: Always

Steps to Reproduce:
1- Launch Amarok.
2- For joy, start playing some of your favorite tracks.
3- Notice a bad song name or missing tags (can be any song, playing or not, in playlist or not).
4- Launch your external ID3 editor (In my case it's Kid3) and correct the tags and save the file. Do NOT rename the file (in order to don't wake the Amarok :) ).
5- Find out that Amarok didn't pick up the changes. Update collection doesn't work too since there's no filename change.
6- Open Settings -> Configure Amarok; go to Collection and order a complete re-scan (Fully rescan entire collection).

Actual Results:  
Your collection is scanned but some library entries (incl. you have not touched in any way) goes awry. Some artists are now empty, some of them duplicated, some songs are missing etc.

Restart fixes the display issue and brings back the library back but it's freaky.

Expected Results:  
Your collection is scanned and the changed songs are in their proper places with their new shiny tags, organized neatly.

OS: Linux (i686) release 2.6.32-5-686-bigmem
Compiler: cc
Comment 1 Hakan Bayindir 2010-09-29 09:53:11 UTC
Oops, I selected wrong platform. It's debian testing :)
Comment 2 Myriam Schweingruber 2010-09-29 11:12:33 UTC
Please upgrade to Amarok 2.3.2 and try again.
Comment 3 Myriam Schweingruber 2010-09-29 11:25:09 UTC
Please upgrade to Amarok 2.3.2 and try again.
Comment 4 Hakan Bayindir 2010-09-29 22:43:51 UTC
I cannot reproduce the bug in Amarok 2.3.2. Also changelog for Amarok 2.3.2 contains an entry for solution of this bug. It looks like I failed both to notice 2.3.2 release and to find the original bug entry for this problem and created a duplicate.

Since I don't know the ticket workflow, I'm leaving the status as it is. So, this ticket can be closed.

Sorry for the noise.
Comment 5 Myriam Schweingruber 2010-09-30 09:19:00 UTC
Thank you for the feedback.

*** This bug has been marked as a duplicate of bug 172542 ***