Page 2 of 2

Library won't update

Posted: Mon Feb 07, 2011 5:48 am
by anonbeat
If you rename a folder outside guayadeque the files will not change the mtime but ctime. Guayadeque will not know that files changed the location.
This is why guayadeque is using ctime and not mtime.

Looking for a tag to know if the file changed or not will slow down scan to where amarok scan speed is.

Library won't update

Posted: Mon Feb 07, 2011 11:00 am
by tamalet
I did some tests and got that If you rename a directory it changes its ctime but not its mtime, and the files and subdirectories inside that directory do not change their ctime nor their mtime.
Would it make sense to use ctime for directories and mtime for files?

I also did some changes to see how Guayadeque works. I didn't find problems updating tags, covers or lyrics, even from outside Guayadeque. As long as I don't change the file name, they won't appear as recently added.

Library won't update

Posted: Mon Feb 07, 2011 12:16 pm
by rickstone
This is a great discussion, though one that's a bit over my head. However, because saving lyrics and a few other things changes the file date, I don't do it. Though I wonder if an SVN update changed one of my settings...that's happened before.

And yes, the main dynamic playlist I use no longer saves the criteria, as was the case before the fix you did, Anonbeat.

Thanks!

Library won't update

Posted: Mon Feb 07, 2011 3:16 pm
by tamalet
As I said I tried saving lyrics and changing tags from Guayadeque and outside Guayadeque and a rescan does not consider those files as new. It only happens if you move or rename the file.

Library won't update

Posted: Tue Feb 08, 2011 10:32 am
by rickstone
Actually, saving lyrics does change the file date that shows in Nautilus and changes the date added in Guayadeque. Or, at least it did a few months ago. I stopped saving lyrics when I noticed it.

Library won't update

Posted: Tue Feb 08, 2011 7:44 pm
by tamalet
Saving the lyrics changes the date of the modification of the file, but after an Update it won't appear as recently added.

Library won't update

Posted: Wed Feb 09, 2011 1:08 pm
by rickstone
Personally I'm not terribly concerned with saving lyrics to files, however, if your statement is true Tamalet, why can't we leave the date added alone when changing tags and/or embedding artwork?

Library won't update

Posted: Wed Feb 09, 2011 2:12 pm
by tamalet
For the 3rd time: I tried changing tags using Guayadeque and another tool and the updated the library. Guayadeque sees the changes but it does not consider the tracks as recently added. I didn't try with covers because I don't embed them, but I assume it's the same (after all it's just another tag).

Only when you rename a file Guayadeque considers it as recently added.

I'm always editing tags and saving lyrics and in the only tracks I see added in the last month is the one I renamed to test and a few albums I added. At least that is my experience.

Library won't update

Posted: Sat Feb 12, 2011 2:48 pm
by tamalet
I have been tagging my library again and looking at the Recent Added Songs (which actually should be Recently). I have noticed that some songs start to appear there, but are not new.
I don't understand why those song are consider new and not the rest that I also edited.

Any idea anon?