Collection Scanner Missing Files

Jeff Mitchell mitchell at kde.org
Thu Jul 16 21:58:25 UTC 2009


Tycho Andersen wrote:
>> mtimes of folders are updated when the folder is touched, or when files
>> are removed/added to the folder. So simply editing a file will not
>> update the mtime of the containing folder and thus the collection
>> scanner will not pick up the change unless you force it by touching it.
> 
> Interestingly enough, when I touch the afflicted folders, the next
> collection scan seems to pick up the files. It doesn't make sense as
> to why they wouldn't be picked up on the first scan, but it's at least
> a work around.

What doesn't make sense? You just confirmed that it works exactly how I
described it working.

>> As for the OP's problem -- this is likely fixed by some changes I've
>> made since 2.1.1, i.e. it may very well be fixed in current SVN trunk
>> (which will eventually become 2.2, in a while). However, please note
>> that the problems are really multiple, affecting the database and the
>> collection browser. I should have fixed the database problems, but the
>> collection browser is a whole nother ball of wax. You can verify which
>> it is by simply restarting Amarok; if this "fixes" the problem, then the
>> artifacts you're seeing are collection browser issues.
> 
> The things I saw were not fixed by simply restarting Amarok, so they
> were probably database problems. As I mentioned above, though,
> touching the afflicted directories seems to 'fix' the problem.

Right, because it purges the entries in those folders from the database
and scans them anew.

> If you think the database issues are fixed with a particular SVN
> revision/tag, I'd be happy to try it and see.

Trunk.

--Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/amarok/attachments/20090716/6bd6e777/attachment.sig>


More information about the Amarok mailing list