アナリティクス

2019年2月26日火曜日

ラズパイ + PCM5102A + Spotify

Raspberry Pi にPCM5102AのサウンドカードをのせてSpotify Clientにした時のメモ


PCM5102Aをデフォルトのサウンドカードに


PCM5102AHIfiBerrypHAT DAC
Setting up pHAT DAC
    
curl https://get.pimoroni.com/phatdac | bash
    

Spotify client (Raspotify)


Raspotify
    
curl -sL https://dtcooper.github.io/raspotify/install.sh | sh
    

Spotifyのユーザー名とパスワード



/etc/default/raspotify を編集


  • DEVICE_NAME : 適当に
  • BITRATE : 320
  • OPTIONS : ユーザー名とパスワード ※
  • VOLUME_ARGS : やかましいので100を30に

raspotify サービスの起動


    
sudo systemctl restart raspotify