Version: 1.4-SVN (using KDE KDE 3.5.2) File Browser -> Move Files to Collection -> track statistics are lost However, the stats for the moved files are still present in the statistics table, with the obsolete source path. So I guess this path simply has to be updated, just like when "Organize Files" is used. [Same for "Copy Files to Collection" probably]
This should be fixed for already quite some time - if not, please reopen.
no, just updated to svn, and it's still there. (just to clarify, i'm talking about files which are NOT in the collection, but which have been played and thus have scores and ratings, and then are moved or copied to a collection folder)
SVN commit 617291 by aumuell: migrate statistics when moving files from outside to collection, too BUG: 127776 M +2 -0 ChangeLog M +3 -3 src/collectiondb.cpp --- trunk/extragear/multimedia/amarok/ChangeLog #617290:617291 @@ -87,6 +87,8 @@ * Amarok now saves playlists with relative paths by default. BUGFIXES: + * Migrate statistics for files moved from outside to the collection. + (BR 127776) * Select All/Copy action would not copy from context browser. (BR 138635) * Xine-engine: When a track was fading out (after pressing Stop), and you started another track, Amarok could become unresponsive. --- trunk/extragear/multimedia/amarok/src/collectiondb.cpp #617290:617291 @@ -4118,8 +4118,6 @@ if( !m_fileOperationFailed ) { - emit fileMoved( src, dest ); - if( copy ) { MetaBundle bundle( dstURL ); @@ -4131,9 +4129,11 @@ } else { + emit fileMoved( src, dest ); + migrateFile( srcURL.path(), dstURL.path() ); + if( isFileInCollection( srcURL.path() ) ) { - migrateFile( srcURL.path(), dstURL.path() ); return true; } else