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

Handling of wav mimetypes #307

Closed
t2000 opened this issue Feb 4, 2020 · 1 comment
Closed

Handling of wav mimetypes #307

t2000 opened this issue Feb 4, 2020 · 1 comment

Comments

@t2000
Copy link

t2000 commented Feb 4, 2020

After debugging why my openHAB doesn't play wav files on my Logitech Media Server with squeezebox clients I found this: openhab/openhab-core#1350

To summarize: the LMS uses only audio/x-wav as a mimetype for wav files. If a wav file is served by a webserver with a mimetype of audio/wav, it won't be played.

I see the problem here:
https://github.com/Logitech/slimserver/blob/7e817bb15aff97084007cd4411f389edb2b6416c/types.conf#L55

If I create a custom-types.conf with

wav     wav,wave        audio/x-wav,audio/wav                     audio

all is fine and LMS plays my files on the squeezelite clients.

From the aforementioned issue and jshttp/mime-db#22 the mimetype might even be audio/vnd.wave.

Since you support setting multiple mimetypes anyway, I wonder it it would be an option to include these other mimetypes for wav files by default?

@mherger mherger closed this as completed in edeca45 Feb 5, 2020
@michaelherger
Copy link
Member

Thanks! Please give the next nightly build a try and report back.

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