Page 1 of 1

Read/write .dsf

Posted: Tue Feb 23, 2016 11:33 am
by sjoerdstaal
Hi,

We're using the getID3 lib for reading/writing tags to .wav, .mp3, and .flac file, all work great. But the website I'm working on is starting to use a new file format, namely .dsf (https://en.wikipedia.org/wiki/Direct_Stream_Digital), Tagged Direct Stream Digital, is or will getID3 able to read this format?

Cheers,

Sjoerd

Re: Read/write .dsf

Posted: Tue Feb 23, 2016 3:12 pm
by James Heinrich
sjoerdstaal wrote:is or will getID3 able to read this format?
It didn't, but now it does.

Turns out Sony made the file format quite simple, and made clear documentation (even though Sony doesn't host it any more) so I added support for DSF:
https://github.com/JamesHeinrich/getID3 ... e436980b48

I don't have a sample file that has an embedded META chunk, so if you happen to have one please submit it so I can add support for that.

Re: Read/write .dsf

Posted: Wed Feb 24, 2016 10:07 am
by sjoerdstaal
Hey James, great to hear! You're my hero. I'll upload a richly tagged .dsf to dropbox and share the link here, give me a moment! :)

Re: Read/write .dsf

Posted: Wed Feb 24, 2016 10:19 am
by sjoerdstaal
Hereby a .dsf track, if you need more, let me know!

https://www.dropbox.com/sh/1szr8hw8t1rd ... h.dsf?dl=0

Re: Read/write .dsf

Posted: Wed Feb 24, 2016 1:21 pm
by James Heinrich
Thanks for the sample file. ID3v2 support is now enabled for .dsf:
https://github.com/JamesHeinrich/getID3 ... f07195e5b0