Collection Scanner Missing Files

Edgar Kalkowski eMail at edgar-kalkowski.de
Fri Jul 17 13:36:02 UTC 2009


Am oder ungefähr am Donnerstag, 16. Juli 2009, um 15:50:25 schrieb Tycho Andersen:
> On Wed, Jul 15, 2009 at 9:26 PM, Jeff Mitchell<mitchell at kde.org> wrote:
> >
> > This is actually probably not due to the reported problem, but rather
> > due somewhat to how the collection scanner works. The collection scanner
> > looks at the mtime (modified time) of the selected folders. (It doesn't
> > hold mtimes for individual files because this would cause a huge blowup
> > in the size of the database and such; nevertheless, this is such a
> > common question/"problem" that it might be worth it.)
> >
> > 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.

Cool, thanks for that clarification Jeff! It seems to fix it here, too. It’s no problem to simply touch the folders you need to be updated if you know that that is what Amarok needs. :) But it is rather unintuitive for the general user, I think.

Edgar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/amarok/attachments/20090717/6bb3392c/attachment.sig>


More information about the Amarok mailing list