added dsf support, reusing the existing ID3 parser (#43)

This commit is contained in:
ilkomiliev
2018-11-05 09:57:29 +11:00
committed by David Howden
parent 34f7f1e3c8
commit a9f04c2798
6 changed files with 164 additions and 6 deletions
+6 -6
View File
@@ -62,12 +62,12 @@ func TestReadFrom(t *testing.T) {
"with_tags/sample.m4a": fullMetadata,
"with_tags/sample.mp4": fullMetadata,
"with_tags/sample.ogg": fullMetadata,
"without_tags/sample.flac": emptyMetadata,
"without_tags/sample.m4a": emptyMetadata,
"without_tags/sample.mp3": emptyMetadata,
"without_tags/sample.mp4": emptyMetadata,
"without_tags/sample.ogg": emptyMetadata,
"with_tags/sample.dsf": fullMetadata,
"without_tags/sample.flac": emptyMetadata,
"without_tags/sample.m4a": emptyMetadata,
"without_tags/sample.mp3": emptyMetadata,
"without_tags/sample.mp4": emptyMetadata,
"without_tags/sample.ogg": emptyMetadata,
}
for path, metadata := range testdata {