Username: You can get you Spotify username in the “Account Overview” section from this page: # a_v_r (Audio/Video Receiver), s_t_b (Set-Top Box), and audio_dongle. # Can be unknown, computer, tablet, smartphone, speaker, t_v, # The displayed device type in Spotify clients. # The normalisation pregain that is applied for each song. # If set to true, enables volume normalisation between songs. # NOTE: This variable's type will change in v0.4, to a number (instead of string) # If set to true, audio data does NOT get cached. # The name that gets displayed under the connect tab on Volume_controller = "alsa" # use softvol for macOS # a list of possible backends, run `spotifyd -help`. # The audio backend used to play the your music. This is how my nf looks like (except for username and password): I copy-pasted the file as it is, filled in with my account details and removed some lines. There is an entry for the nf file in the installation guide, but keep in mind not all entries can co-exist at the same time. This file deserves special attention and in my personal experience this was were I needed more help. You will need to fill this file in as explained in the next section. Create a folder named spotifyd and inside this a filed named nf. The cargo install command will install these binaries into the system.Ĭd spotifyd # enter into the folder we cloned from GHĬargo build -release # build binaries from source codeĬargo install -path. The cargo build command below will build files from the source code we downloaded from GitHub.Sudo apt install rustc cargo libasound2-dev libssl-dev pkg-config # install dependencies for Debian-based (Mint, Ubuntu) Next, clone the repository using git in you /home directory Depending on your Linux distribution you will need different libraries check which here. Install the requirements (apart from Rust and cargo you will need other libraries).If you get nothing from the commands, then you don’t have them installed. Check if you have Rust and cargo installed (cargo is the Rust package manager).I’m going to copy-paste the commands there with some comments below: Spotifyd’s GitHub page comes in handy for the installation. If you have never heard about building from source, I recommend this video to learn more: We are not going to use any of these, instead we are going to build it from source. Spotifyd is a Unix daemon and is already available to install as a package in Arch, macOS and as a snap package.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |