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

Cannot stream url to sonos illegal mime type #839

Open
StefanW86 opened this issue Apr 11, 2024 · 0 comments
Open

Cannot stream url to sonos illegal mime type #839

StefanW86 opened this issue Apr 11, 2024 · 0 comments

Comments

@StefanW86
Copy link

Hello,
i am trying mini media player and want to add some shortcuts. This works well for my arylic/linkplay devices, but not with sonos.

I got the error message:

media_player/play_media. Error calling SonosMediaPlayerEntity._play_media on media_player.terrasse: UPnP Error 714 received: Illegal MIME-Type from 192.168.178.167

if i remove type: music and add data: i got the following error message that media_content_type is missing.

Fehler beim Aufrufen des Diensts media_player/play_media. required key not provided @ data['media_content_type']

So i cannot stream to my sonos devices. My full code
type: custom:mini-media-player entity: media_player.terrasse shortcuts: columns: 2 buttons: - name: Drivers Radio type: music id: https://edge06.streamonkey.net/drivers-radio - name: Radio Energy type: music id: https://edge96.streamonkey.net/energy-nrw/stream/mp3?aggregator=shorty - name: Bollerwagen id: https://ffn-stream19.radiohost.de/radiobollerwagen_mp3-192 data: media_content_type: audio/mpeg - name: Test data: media_content_id: media-source://radio_browser/961e7ac2-0601-11e8-ae97-52543be04c81 media_content_type: audio/mpeg sound_mode: icon toggle_power: true info: short

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

1 participant