I did a recursive script with various soxi tests, and got terrors for some of my files, e.g.
soxi FAIL formats: can't open input file `Modern/Starr, Ringo/Good Night Vienna/13 Blindman.aif': AIFF: no sound data on input file soxi FAIL formats: can't open input file `Classical/Händel, Johann Friedrich/Water Music/10 water music- suite in f major, hwv 348 (hornpipe).aiff': AIFF: no sound data on input file
I got this for 20-30 files, strangely enough only AIFF. I suppose this is enough for starting my manual recover. Thanks for the help.
2 aug. 2016 kl. 23:33 skrev fmiser <fmiser@xxxxxxxxx>:
Bengt Nilsson writes:
I 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?
Måns Rullgård wrote:
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.
Bengt wrote:
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 Sox-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/sox-users
|
------------------------------------------------------------------------------
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users