PDA

View Full Version : shntool create .st5 and flac fingerprint


grateDvyde
2015-02-15, 01:51 PM
I have quite a few shows in shn format that I will be converting to flac. Does anyone know how to create a .st5 file and flac fingerprints from the command line using shntool?

I know that this can be done with Trader's Little Helper, but I have close to 500 shows that I will be converting so I would like to write a script to do the work for me. I can convert the files no problem, but can't seem to find a command to generate the .st5 and fingerprints.

spidergawd
2015-02-15, 03:43 PM
Well, I think that shntool md5 (st5) and flac ffp are basically the same thing; md5 checksums of the uncompressed audio (rather than whole file).

Anyway, to do it with shntool:

shntool hash *.flac >showname.st5

or with metaflac:

metaflac --show-md5sum *flac >showmane.ffp

The metaflac method seems to just grab the ffp info from the file, rather than compute it, so it might be a good idea to write the script to do both and compare, or at least run

flac -t *flac

first to make sure the audio portion of the files haven't become corrupted.

grateDvyde
2015-03-08, 07:49 PM
Finally had a chance to check this out. Worked like a charm, thanks!

spidergawd
2015-03-10, 08:30 PM
Finally had a chance to check this out. Worked like a charm, thanks!

No problem, just buy me a hotel room in Chicago for the weekend of July 3-6 and we'll call it even. Fair enough?

grateDvyde
2015-04-06, 09:15 PM
LOL! just saw this. How about a beer instead