I had an incident several months go, when an album simply wouldnât play.
I replaced it with the backed up version and it was okay.
Unfortunately, I did not pay attention to exactly what happened, so the evidence/clue is gone. Stupid, but that is the situation now.
I suspect that this is probably not a singular incident.
My problem with the backup is that I swapped first and last name of the artist folders for sorting reasons, and the backup software apparently tried to cope with this but failed silently.
A more stupid backup system would have simply duplicated the data, which would have been better.
Now, if I try to recover an old folder with the ânew orderâ I have no data. I have to go back to a snapshot with the âold orderâ to recover it.
So it is a mess. Slightly off-topic, but I need a method to verify what I have so I can clear the present backup and make a fresh restart.
So soxi is the way to go?
Is there any soxi -switch that actually reads and analyzes more file data than the others?
I guess some will only look at the header info, which maybe is not enough.
I will try to make some kind of recursive script that does a suitable soxi command on everything, and log the result.
Post by fmiserPost by Bengt NilssonPost by Måns RullgårdPost by Bengt NilssonI have reasons to believe I have some faults in my music
library.
To recover, I need to find the failed files in my music,
To play ALL tracks from start to end to check their integrity
is of course impractical.
Is there any clever way to let sox (or soxi) go thru
everything and log the failed files, if any?
What format are the files? Some formats can be easily verified
by automatic tools, probably as quickly as they can be read
from disk. Since you didn't say what they are or what OS you're
using, it's hard to make a specific recommendation.
My formats of preference are flac, aiff, wav.
My OS is ubuntu studio 16.04.
Well, find a couple "failed" files and see what soxi has to say
about them. Or maybe stat or stats.
I can't see your files, so I can't even guess how they might have
"failed". Do they sound wrong? Do they stop playing? Do they
skip? Do they not play at all? Is the extension incorrect?
My course of action would be to use command line tools
to try to find a way to spot the "failed" files. Once you know
what is wrong, then there is a chance for a shell script to sort
them out. But until you - or we - have some clue as to how they
failed, there is little chance of success.
-- f
------------------------------------------------------------------------------
_______________________________________________
Sox-users mailing list
https://lists.sourceforge.net/lists/listinfo/sox-users
Bengt Nilsson
AnsåsvÀgen 8
438 53 Hindås
0301-22150