Bug 350292

Summary: after copying tracks to the local collection the "number" of tracks are more than the tracks inside local collection
Product: [Applications] amarok Reporter: Rishabh gupta <rishabh9511>
Component: Collection BrowserAssignee: Amarok Developers <amarok-bugs-dist>
Status: CONFIRMED ---    
Severity: normal CC: matej, ralf-engels
Priority: NOR    
Version: 2.8-git   
Target Milestone: 2.9   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rishabh gupta 2015-07-16 14:35:00 UTC
copied 2 tracks to the local collection.but the local collection says there are 5 tracks present inside the collection ,although total tracks present are 2 only..
subfolders are being made which is the reason of why the local collection is showing more number of tracks.


Reproducible: Always

Steps to Reproduce:
1.select the tracks you want in your local collection  form the folder where you have your songs. 
2.right click and select copy to collection 
3.select localcollection

Actual Results:  
i copied 2 tracks but local collections says there are 5 tracks in the collection.

Expected Results:  
sub folders should not be made.
Comment 1 Myriam Schweingruber 2015-07-20 10:01:19 UTC
Well, subfolders are always made, that is how a music collection is organized by default, and this is the default design in Amarok.

But, after gathering information from the reporter on IRC, this appears to be the old caching bug:

Collection count is not correctly updated when copying or moving files to the collection.

Workaround: do a full rescan of the collection, then restart Amarok