hascommunity.blogg.se

Spotify player embed
Spotify player embed




spotify player embed

Sudo apt install build-essential cargo libasound2-dev gitĬargo build -release -no-default-features -features alsa-backend Key here is to compile the app using alsa for audio playback. You will be able to play using your spotify app to librespot, and route the audio through hqplayer, as long as you use a NAA as output.ġ) install librespot. It goes with alsa loopback module, combined with librespot.

spotify player embed

Set shellCmd to shellCmd & "-set-transport 5 'audio:default/44100/2'"įor the brave ones, I am using th following method to play spotify through hqplayer desktop on Ubuntu. Set shellCmd to "/Applications/HQPlayer4Client.app/Contents/MacOS/hqp-control2 10.0.x.x "

spotify player embed

Take care to append a space to the IP address.) (10.0.x.x is the IP address of the computer running HQP Desktop, or else localhost if Desktop and the AppleScript are running on the same Mac. I use the following AppleScript, which simply runs a shell script. Instead of using HQP Client to switch HQP Desktop's input to streaming from BlackHole, you might try a shell script. But it does eventually work and once connected works fine (until you want to switch again). However, the switch between other sources (Roon) and the Black Hole stream ( Spotify) in HQ player is not seamless. Have to click on the input stream of HQ player a few times, open the HQ player client, close the client. Spotify outputs to Black Hole and HQ player picks up that stream.






Spotify player embed