Last active
April 16, 2023 02:48
-
-
Save bmaeser/1918514429e4855d5188 to your computer and use it in GitHub Desktop.
fix kodi to work with ALSA and working PASSTHROUGH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this will fix passthrough on ubuntu systems (at least with nvidia 210 via hdmi). | |
fuck pulseaudio, install alsa and: | |
place kodi_alsa.sh somewhere, eg in your $HOME/bin | |
place kodi-alsa.desktop in /usr/share/xsessions | |
(set path in kodi-alsa.desktop to your script) | |
restart gdm/lightdm (or reboot system) | |
pick 'KODI WITH ALSA' from dropdown on login | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=KODI WITH ALSA | |
Comment=This session will start kodi with alsa | |
Exec=/home/berni/bin/kodi_alsa.sh | |
TryExec=/home/berni/bin/kodi_alsa.sh | |
Type=Application |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# this makes kodi start with ALSA instead of FUCKING pulse audio | |
# disable pulse audio | |
pasuspender | |
# start kodi with ALSA | |
AE_SINK=ALSA kodi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ugh somethings broken again
unsure if its something to do with kernel 6 or a kodi update , but can not seem to get alsa to work anymore possibly pipewire related