diff --git a/bundles/kodi/files/kodi.service b/bundles/kodi/files/kodi.service index c63cb8a..bf6f37f 100644 --- a/bundles/kodi/files/kodi.service +++ b/bundles/kodi/files/kodi.service @@ -7,6 +7,7 @@ StartLimitIntervalSec=2 [Service] User=kodi Type=simple +Environment=AE_SINK=ALSA ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- :0 vt7 -nocursor WorkingDirectory=/home/kodi StandardOutput=journal diff --git a/bundles/kodi/files/pulseaudio.service b/bundles/kodi/files/pulseaudio.service deleted file mode 100644 index b92a8fc..0000000 --- a/bundles/kodi/files/pulseaudio.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=PulseAudio for user kodi - -[Service] -User=kodi -Type=simple -ExecStart=pulseaudio --realtime --log-target=journal --daemonize=no - -[Install] -WantedBy=kodi.service diff --git a/bundles/kodi/items.py b/bundles/kodi/items.py index 57c5818..52e0751 100644 --- a/bundles/kodi/items.py +++ b/bundles/kodi/items.py @@ -5,12 +5,6 @@ files = { 'svc_systemd:kodi:restart', }, }, - '/etc/systemd/system/pulseaudio.service': { - 'triggers': { - 'action:systemd-reload', - 'svc_systemd:pulseaudio:restart', - }, - }, '/etc/X11/Xwrapper.config': {}, } @@ -21,13 +15,6 @@ svc_systemd = { 'file:/etc/X11/Xwrapper.config', 'pkg_apt:kodi', 'user:kodi', - 'svc_systemd:pulseaudio', - }, - }, - 'pulseaudio': { - 'needs': { - 'file:/etc/systemd/system/pulseaudio.service', - 'pkg_apt:pulseaudio', }, }, } diff --git a/bundles/kodi/metadata.py b/bundles/kodi/metadata.py index 05ffadc..dffa020 100644 --- a/bundles/kodi/metadata.py +++ b/bundles/kodi/metadata.py @@ -7,8 +7,6 @@ defaults = { 'kodi': {}, 'kodi-repository-kodi': {}, 'libcec4': {}, - 'pulseaudio': {}, - 'pulseaudio-utils': {}, 'ttf-mscorefonts-installer': {}, 'tv-fonts': {}, 'xfonts-base': {},