Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1

    Checking Flac files

    Just a question for clarity: what does

    flac -t *.flac
    do. Does it compare the stored checksum to a checksum compiled at run time, i.e. identifies bit rot in the file?



  2. #2
    Senior Member
    Join Date
    Apr 2005
    That appears to be part of it - it also looks for errors when decoding.
    i.e. the checksum might match the one that it calculates but the content does not decode properly.

    -d, --decode	Decode (flac encodes by default). flac will exit with an exit code of 1 (and print a message, even in silent mode) if there were any errors during decoding, including when the MD5 checksum does not match the decoded output. Otherwise the exit code will be 0.
    -t, --test	Test (same as -d except no decoded file is written). The exit codes are the same as in decode mode.
    Paul Webster
    Author Radio France (FIP etc) plugin

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts