Anh dán vô pastebin thì nó chỉ còn cái link thoy
https://pastebin.com/9ANqKSTa
Em mò tiếp, chắc mình chỉ cần quan tâm đoạn sau:
Mã:
###### Audio backend ######
Advanced Linux Sound Architecture Driver Version k4.4.39-ARCH+.
Card list: (/proc/asound/cards)
--------------------------------------------------
0 [IQAudIODigi ]: IQAudIODigi - IQAudIODigi
IQAudIODigi
PLAYBACK devices: (aplay -l)
--------------------------------------------------
**** List of PLAYBACK Hardware Devices ****
card 0: IQAudIODigi [IQAudIODigi], device 0: IQAudIO Digi HiFi wm8804-spdif-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
PCM devices: (aplay -L)
--------------------------------------------------
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=IQAudIODigi
IQAudIODigi,
Default Audio Device
sysdefault:CARD=IQAudIODigi
IQAudIODigi,
Default Audio Device
Simple mixer controls: (amixer scontrols)
--------------------------------------------------
card 0:
Simple mixer control 'Tx Source',0
Mixer controls: (amixer controls)
--------------------------------------------------
card 0:
numid=1,iface=MIXER,name='Tx Source'
MPD audio outputs status: (mpc outputs)
--------------------------------------------------
Output 1 (IQAudIODigi) is enabled
Vậy nếu dòng lệnh của anh là:
Mã:
/root/spotify-connect-web.sh --name RuneAudio --device 0 --mixer TX Source --username abc --password xyz --bitrate 320
Có thể TX Source cần dấu nháy 'TX Source':
Mã:
/root/spotify-connect-web.sh --name RuneAudio --device 0 --mixer 'TX Source' --username abc --password xyz --bitrate 320
hoặc:
Mã:
/root/spotify-connect-web.sh --name RuneAudio --device 0 --mixer_device_index 0 --username abc --password xyz --bitrate 320
Chắc sẽ đúng hơn. Anh test thử xem sao ạ