0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-20 11:05:27 +00:00
2023-05-04 22:11:16 +02:00

12 lines
260 B
Python

import librespot
class Librespot(librespot.Librespot):
def __init__(self, alsa_device='hw:2,0', **kwargs):
super().__init__(**kwargs)
self.command += [
'--backend', 'alsa',
'--device', f'{alsa_device}',
]