Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not serv the flac and mp3 file #101

Open
woshilaiba opened this issue Aug 1, 2022 · 1 comment
Open

can not serv the flac and mp3 file #101

woshilaiba opened this issue Aug 1, 2022 · 1 comment

Comments

@woshilaiba
Copy link

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?

@anacrolix
Copy link
Owner

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:

func init() {
. Feel free to contribute your fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants