music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.33k stars 49 forks source link

BUG: .ogg file support: issue missing 'Channels' from Jellyfin Music Provider #2269

Closed Thijzer closed 1 month ago

Thijzer commented 4 months ago

What version of Music Assistant has the issue?

2.0.0RC1

What version of the Home Assistant Integration have you got installed?

No response

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

The problem

I recently setup music-assisant and noticed I couldn't get my Albums to work. All my music is ripped in .ogg format and it's giving me an error 'Channels'

music-assistant-music-assistant-1  | 2024-05-12 19:39:19.702 ERROR (MainThread) [music_assistant.webserver] Error handling message: player_queues/play_media: 'Channels'

No expert here but he can't seem to match the .ogg format

image

I tried an .mp3 album and that seem to work fine.

image

I had a similar issue with finamp APK, but was able to bypass it enabling trancoding in the settings. I had no issues using the Jellyfin APK, the container is detected as ogg.

How to reproduce

Try to stream a .ogg file format from Jellyfin Music Provider

Music Providers

Jellyfin Music Provider

Player Providers

Chromecast

Full log output

No response

Additional information

No response

What version of Home Assistant Core are your running

2024.5.2

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Generic x86-64 (e.g. Intel NUC)

OzGav commented 4 months ago

@lokiberra do you think a provider problem or core MA?

lokiberra commented 4 months ago

@OzGav not sure yet....l will try to reproduce. I don't think anything is currently limiting transcoding and I don't see any function in the python api to enable or disable transcoding.

Thijzer commented 4 months ago

I already de-.ogg'd my library and now everything works fine.

OzGav commented 4 months ago

@lokiberra let me know if we should add a note about ogg not working or if this something we should ask Marcel about.

edit: actually might be related to this https://github.com/music-assistant/hass-music-assistant/issues/2313

Thijzer commented 3 months ago

For context when relating to https://github.com/music-assistant/hass-music-assistant/issues/2313. I Used ffmpeg to encode my .ogg files + inherited the metadata of the source material also within ffmpeg.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 14 days with no activity. Comment or this will be closed in 7 days.

OzGav commented 1 month ago

New version of ffmpeg is in use with 2.3.0b16 and above. Will track any further issues in #2313