MD5M3U is a concept
I thought up a while back, where you put the verification of mp3 files
into an enhanced version of .m3u playlist killing two birds (files)
with one stone. Feel free to use this file format in your own programs.
The md5m3u file layout is as follows.
- The character
# as the first character denotes a comment or a md5m3u checksum
- The line
is a checksum if # is followed by 32 hexadecimal characters [0-9][a-f][A-F]
and then a carriage return
- All other
lines with # as the first character are comments until a carriage
return
- The line following
the checksum line is the name of the file for which the checksum is
for
- MD5M3U checksums
are always created and verified in binary mode
- The md5 sums
are computed as described in RFC 1321
MD5M3U File Example:
00-Chris_Murray_-_Raw.m3u
#MD5M3U MooSFV v1.8
#
# Sample
Comments La La La
#
#b33634276dec7efe69714217336b3f2d
01 - Home.mp3
#42313d0d0aac08e4b8d37dd47c3d2a36
02 - Make The Best.mp3
#b8796442fc9a4fdd91ff6f0b6b84c6ba
03 - Switchblade to Soul.mp3
#941129f2afa25aa85d2474837641d33e
04 - I'm Ready for Love.mp3
#ada01790342449d5e581ca8613d7a90b
05 - We Do the Ska.mp3
#99e6aaa941e715c4f63f6d0faea7692f
06 - Rastaman.mp3
#04bda8d3bb5d76c1d9a8c08056d8688c
07 - The Promise.mp3
#70f6b78c67cabe97f3c0d50ce517dba8
08 - The Higher the Monkey Climb.mp3
#d79ab14c5c0a1688da44cb18b84e3a41
09 - If You Wanna Do It.mp3
#a8027d254409fa4c52bce9aaf0f77260
10 - Since I've Had You.mp3
#7a2e6a8df2ad411bf3034360ce24dae0
11 - Doin' Time.mp3
#04384cca005bf303ac40544a42925786
12 - Moment.mp3
#b736f27d2665c2d20b5abf3742e3cb49
13 -The Penny Song.mp3
#e4998fce038e61e805fceecb17e6b37a
14 - Rock Steady.mp3