Bug 110774

Summary: statistics scores ratings lost when moving music mp3 collection folder
Product: [Applications] amarok Reporter: Frido Roose <frido.roose>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 1.2.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Frido Roose 2005-08-14 18:02:21 UTC
Version:           1.2.4 (using KDE KDE 3.4.2)
Installed from:    Unlisted Binary Package
OS:                Linux

I renamed the map/directory where my music collection resides, and noticed that all my statistics (song scores) were lost.  Then I found the statistics database uses "URL" (full path to the file) as unique key, which would explain this behaviour as the path name changed.  Songs which I have played before now get a new record because the path (url) is different.

A work-around could be to create a symlink so the path would still be valid.  Too bad (for me), symlinks only work with native Linux partitions, and since my collection resides on a vfat partiton, this is no solution for me.

I am aware that the full path name is definatelly unique, while a single file name or ID3 tags may be not.  But I know there are other players (xmms + imms for instance) which work with a checksum of the song as the unique identifier, so filename changes, path changes, ... don't result in loss of statistics.  This is especially important when you have a big music collection because it takes much longer time before the stats get accurate.  Also people who store their collection on removable storage may encounter problems (although this is easier to fix when you manually mount the device).

Nevertheless, amarok is a very great music player, but maybe this could be improved...
Comment 1 Alexandre Oliveira 2005-08-14 21:25:52 UTC

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