因為PiCorePlayer通常都掛載24小時運行的Raspberry Pi上面,因此不可能把擴大機跟PI一起關閉,其開關機的速度也不一樣,如果擴大機已經關了,USB Audio就會斷線,再把擴大機打開,Squeezelite只要沒抓到Sound也不會自動重連,一定要到PiCorePlayer介面Restart服務才能繼續聽音樂,恩!真的很麻煩!
Most of PiCorePlayer is runs 24 hours a day, so it cannot be turned on/off at the same time as the amplifier/dac. When the amplifier/dac is turned off, the USB Audio will be disconnected, but when the amplifier/dac is turned on again, Squeezelite will not automatically reconnect the USB Audio. You must restart the service on the PiCorePlayer interface to continue the connection. Really troublesome.
另外,如果你選擇用USB Audio當輸出的話,Squeezelite只要沒抓到Sound Card就也會啟動失敗,因此,本篇文章教學就要把這個過程自動化。我提供個簡單的小程序,讓這個兩個機制變成全自動偵測!
If you choose to use USB Audio as the output, Squeezelite will fail to start as long as it does not catch the Sound Card. Therefore, I provide a small script to make these two mechanisms into automatic detection.