Open woshilaiba opened 1 year ago
The builtin mime list is derived from files provided by the OS. It's common on some platforms (Windows, and less often, MacOS) to need to add to the list, I think you need to do it here: https://github.com/anacrolix/dms/blob/a89f950a2f94cd809801f008e658a6b2e6fa3f50/dlna/dms/mimetype.go#L13. Feel free to contribute your fixes.
Hi, i'd like to stream my mp3 and flac ,but it shows "2022-08-01T20:34:35+0800 NIL [main dms server github.com/anacrolix/dms/dlna/dms.(*contentDirectoryService).cdsObjectToUpnpavObject:63]: /music/HI-RES/hell_freezes_over/07-Wasted Time.flac ignored: non-media file (application/octet-stream)"
It works on my movie and ".wav" music.
Doesn't it support flac and mp3?