I recently set up a nightly cron job that uses the flac2mp3.pl script
from Robin Bowes (thanks for the script, BTW, it's been very helpful in
mirroring my FLACs to MP3s). It runs daily at 1:00am and emails the
results to me.
What I noticed was that the nightly sync was seeing the same set of
files as out-of-sync and updating them every night:
Code:
--------------------
Processing directory: /data/music/flac/
6339 flac files found. Sorting...done.
Processing
"Carl_Orff_/Carmina_Burana__Chicago_Symphony_Orchestra__James_Levine/01-Fortuna_Imperatrix_Mundi_O_Fortuna.flac"
Processing
"Carl_Orff_/Carmina_Burana__Chicago_Symphony_Orchestra__James_Levine/02-Fortuna_Imperatrix_Mundi_Fortune_plango_vulnera.flac"
.... snippage ...
Processing
"Carl_Orff_/Carmina_Burana__Chicago_Symphony_Orchestra__James_Levine/25-III_Fortuna_Imperatrix_Mundi_O_Fortuna.flac"
Processing
"La_oreja_de_Van_Gogh/lo_que_te_conté_mientras_te_hacías_la_dormida/10-Adiós_.flac"
Processing
"La_oreja_de_Van_Gogh/lo_que_te_conté_mientras_te_hacías_la_dormida/13-Nadie_Como_Tú_.flac"
Processing
"Stéphane_Pompougnac/Hôtel_Costes_Volume_4_Quatre/11-Café_de_Flore_Charles_Websters_Latin_Lovers_mix_.flac"
Processing
"Stéphane_Pompougnac/Hôtel_Costes_Volume_6/11-The_Breeze_Is_Black_Moonstarr_remix_.flac"
Processing "Stéphane_Pompougnac/Hôtel_Costes_Volume_8/16-A_la_Pêche_.flac"
Processing "Various_Artists/Kill_Bill_Vol_2/14-Malagueña_salerosa_.flac"
--------------------
I knew I hadn't been messing with those files. Checking the file dates
didn't show anything out of the ordinary, and from dumping the tags
everything *appeared* to be OK. But running in debug mode showed that
it thought the tags were out-of-sync.
In examining the first batch, I realized that I had an unnecessary
space in the artist name. Looking at the rest I realized that they all
shared the attribute of having an extra space at the end of a tag that
is used for comparison.
So it appears that some comparisons are done after stripping trailing
spaces and some are done with them. I should note that the conversion
appears to be conserving the spaces, because they showed up when I
loaded the MP3 files into MP3Tag.
I used MP3Tag on the source FLACs to remove the spaces and now (after
an initial sync to propagate the updated tags) it no longer tries to
update these same files every night.
This isn't a big deal. I just thought I'd mention it if someone should
happen to be seeing the same behavior and comes looking for answers in
the forum.
--
AubreyCTurnerJr
------------------------------------------------------------------------
AubreyCTurnerJr's Profile: http://forums.slimdevices.com/member.php?userid=9795
View this thread: http://forums.slimdevices.com/showthread.php?t=34826
_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/ripping