veldenb / plugin.program.moonlight-qt

A launcher and updater for running Moonlight-qt on LibreELEC.
GNU General Public License v3.0
86 stars 11 forks source link

Fix ALSA device_name in LibreELEC 12 #43

Closed witchent closed 8 months ago

witchent commented 8 months ago

LibreELEC 12 returns a device_name like "sysdefault:CARD=vc4hdmi0|vc4-hdmi-0 (vc4hdmi0)", but actually only the first part is needed. If the second part is not removed, ALSA complains about not finding the correct device and no sound can be heard.

Closes #42

veldenb commented 8 months ago

I think I'm going to move it into the get_kodi_audio_device(), but thanks for figuring out the bug :)