md5ffptest 0.2.2 (2011-11-14)

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

md5ffptest 0.2.2 (2011-11-14)

#1 Post by plinej »

Here are some simple scripts for some lossless audio file testing. They depend on gtkdialog(3 or 4) & gtklogfileviewer for the gui or can be run from the cli.

From the command line:

Code: Select all

md5ffpchecker <md5 checksum and/or flac fingerprint file>
The above command will verify any md5 checksums & flac fingerprints in given file.

Code: Select all

md5ffpcheckerdir
The above command will search files in the current directory for md5 checksums & flac fingerprints as well as test any flac, wv (wavpack), ape (monkey's audio), & ofr/ofs (optimfrog) files.

Code: Select all

md5ffpcheckerdir -r
The above command is the same as previous but is recursive.

Of course to test the various file types you'll need the programs used to test them installed.

flac/metaflac - flac testing & verifying finger prints (included in most puppy versions)
wvunpack - wavpack package
mac - Monkey's Audio package
ofr - Optimfrog package

The program will run without the extra packages installed but will skip checking for those file types.

Failed files are tallied and all results will be given at the end of the output:

Code: Select all

checking for md5 checksums in /mnt/home/downloads/mp3-test/info.txt
---------------------------------------
checking for flac fingerprints in /mnt/home/downloads/mp3-test/info.txt
---------------------------------------
testing all flac files found
/mnt/home/downloads/mp3-test/ofr/01_-_cheatin'_the_hangman.flac: ok
/mnt/home/downloads/mp3-test/wv/01_-_cheatin'_the_hangman.flac: ok
/mnt/home/downloads/mp3-test/flac/02_-_bedroom_light.flac: ok
/mnt/home/downloads/mp3-test/flac/03_-_money_lust.flac: ok
/mnt/home/downloads/mp3-test/flac/01_-_cheatin'_the_hangman.flac: ok
/mnt/home/downloads/mp3-test/flac/04_-_wish.flac: ok
/mnt/home/downloads/mp3-test/ape/01_-_cheatin'_the_hangman.flac: ok
---------------------------------------
testing all ape files found
/mnt/home/downloads/mp3-test/ape/test.ape: Success...
/mnt/home/downloads/mp3-test/ape/01_-_cheatin'_the_hangman.ape: Success...
/mnt/home/downloads/mp3-test/ape/02_-_bedroom_light.ape: Success...
---------------------------------------
testing all optimfrog files found
/mnt/home/downloads/mp3-test/ofr/01_-_cheatin'_the_hangman.ofs: Verifying done.
/mnt/home/downloads/mp3-test/ofr/01_-_cheatin'_the_hangman.ofr: Verifying done.
---------------------------------------
testing all wavpack files found
/mnt/home/downloads/mp3-test/wv/01_-_cheatin'_the_hangman.wv: verified in 1.75 secs (lossless, 28.05%)
---------------------------------------

0 files failed the md5 check
0 files failed the fingerprint check
0 files failed the flac test
0 files failed the ape test
0 files failed the optimfrog test
0 files failed the wavpack test
0 files are in md5 but not found in directory

script has completed testing files
0.2 added support to create md5 & flac fingerprint files on directories or single files from the gui. If the md5 and/or ffp creation checkboxes are ticked then the creation process will run if they are unticked then the testing is performed. I also added an Open With option in rox.

0.2.1 fixed a couple of bugs in the md5ffpchecker script
0.2.2 fixed some more bugs
0.2.3 tweaked the script to make it work better with MU's old compiled gtklogfileviewer as opposed to the current Xdialog hack. I prefer MU's version since it seems to scroll thru the output better without sticking.
Attachments
md5ffptest-0.2.3.pet
(5.35 KiB) Downloaded 331 times
Last edited by plinej on Mon 14 Nov 2011, 21:52, edited 5 times in total.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#2 Post by plinej »

updated to 0.2

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#3 Post by plinej »

updated to 0.2.1

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#4 Post by plinej »

updated to 0.2.2, just another bug fix

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#5 Post by plinej »

updated to 0.2.3

Post Reply