Here's an idea: You could write a wrapper for flac that runs 'flac -s
-t' and then aborts if there is an error.  It could then output an
audio stream with you saying "FLAC ERROR", or Number Two's assistant
saying "Orange Alert!".  If there isn't an error, it could go ahead and
decode the file.  I think that would require server-side decoding.

As an alternative you could use a script that runs `flac -t` on every
FLAC file in your music directory and reports which ones have CRC
errors.  I've already written such a script.  It takes a list of
filenames or directory names as an argument and recursively searches
down through all subdirectories checking FLAC files.

Usage:
flac-check.pl <file or directory name>

You need to install shellsafe.pl in /usr/local/lib/perl5


+-------------------------------------------------------------------+
|Filename: flac-check.zip                                           |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=1951|
+-------------------------------------------------------------------+

-- 
John Stimson
------------------------------------------------------------------------
John Stimson's Profile: http://forums.slimdevices.com/member.php?userid=218
View this thread: http://forums.slimdevices.com/showthread.php?t=29460

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to