Bug 176942

Summary: Collection misses items that were in playlist during scan
Product: [Applications] amarok Reporter: Roland van Wijk <roland>
Component: Collections/LocalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kuaera, myriam, paulo.fidalgo.pt, xenoterracide
Priority: NOR Keywords: needs_verification
Version: 2.0-rc   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Roland van Wijk 2008-12-05 01:23:27 UTC
Version:           Amarok 1.98 (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

Starting with an empty collection, but with a (active) Playlist in the 'current.xspf' file, the result of a collection scan is that the Collection explorer will not show those entries that were present in the Playlist. 

However the 'collection_scan.files' file, shows that the collection scan did actually retrieve them.
Comment 1 Seb Ruiz 2008-12-05 02:52:39 UTC
I don't understand. Are you saying that if you start without a collection, but have a playlist with entries, that these entries should be listed in the collection?

Could you give a clearer example or perhaps some screenshots illustrating the problem?
Comment 2 Roland van Wijk 2008-12-06 19:47:53 UTC
Hopefully I can make myself a bit clearer. I have stored the following in a folder:

../<Album 1>/<Song1-1>
../<Album 1>/<Song1-2>
../<Album 1>/<Song1-3>
../<Album 2>/<Song2-1>
../<Album 2>/<Song2-2>
../<Album 2>/<Song2-3>
../<Album 3>/<Song3-1>
../<Album 3>/<Song3-2>
../<Album 3>/<Song3-3>

Suppose my Collection is empty, but I have <Song1-2> and <Song1-3) in my Playlist. After performing a collection scan the collection browser will show ...

-Album 1
 Song1-1
-Album 2
 Song2-1
 Song2-2
 Song2-3
-Album 3
 Song3-1
 Song3-2
 Song3-3

... and as such miss the two songs that were in my Playlist. However, checking the 'collection_scan.files' file, shows that the collection scan did
actually retrieve these two songs.

I can reproduce this time after time.
Comment 3 Mark Kretschmann 2008-12-09 19:17:46 UTC
*** Bug 177280 has been marked as a duplicate of this bug. ***
Comment 4 Paulo Fidalgo 2008-12-16 18:15:44 UTC
I have this bug too...
The most strange thing is when I run amarokcollectionscanner -r *
it finds the missing files in collection.
I just don't know why it don't add it to the collection.
It happens for mp3 and ogg files.
Comment 5 Paulo Fidalgo 2008-12-16 18:46:13 UTC
Maybe its related with this:
http://amarok.kde.org/forum/index.php?topic=15871.0

Comment 6 Myriam Schweingruber 2009-01-31 10:11:46 UTC
Is this still present in 2.0.1.1 ?
Comment 7 Roland van Wijk 2009-02-05 22:47:37 UTC
Yes, I still have this problem on Kubuntu with version 2.0.1.1, however ..... the problem is NOT present on openSuse 11.1, which also uses version 2.0.1.1. In both situations I used the same mp4 source files, which are stored on a network share.
Comment 8 Jeremy Norris 2009-02-10 14:06:28 UTC
This problem still appears on Kubuntu 9.04 with Amarok 2 compiled from SVN [current from 2/8/09]. Attempting to recompile latest source to see if it still exists.
Comment 9 Mark Kretschmann 2009-02-10 14:11:01 UTC
This report is another dupe of the collection scanner bug report. The symptoms are typical of the problem.


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