From e75ffd9a5dd21c718c8b208679acb92afe7440b7 Mon Sep 17 00:00:00 2001 From: Craig Astill Date: Tue, 26 Jan 2021 10:40:05 +0000 Subject: [PATCH] Updated to latest spotifyd config file changes. Was hitting issue: https://github.com/Spotifyd/spotifyd/issues/786 (real issue: https://github.com/Spotifyd/spotifyd/issues/765), but updating to the latest configuration file changes (https://spotifyd.github.io/spotifyd/config/File.html) fixed my `spotifyd` service from running. --- bash/.config/spotifyd/spotifyd.conf | 32 ++++++++++++++++------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/bash/.config/spotifyd/spotifyd.conf b/bash/.config/spotifyd/spotifyd.conf index 0cd231d..6b4b8de 100644 --- a/bash/.config/spotifyd/spotifyd.conf +++ b/bash/.config/spotifyd/spotifyd.conf @@ -1,9 +1,9 @@ [global] # Your Spotify account name. -username = yebgbl8yxona2fx1dwwkncw52 +username = "yebgbl8yxona2fx1dwwkncw52" # Your Spotify account password. -# password = +# password = "" # A command that gets executed and can be used to # retrieve your password. @@ -11,7 +11,7 @@ username = yebgbl8yxona2fx1dwwkncw52 # # This is an alternative to the `password` field. Both # can't be used simultaneously. -# password_cmd = command_that_writes_password_to_stdout +# password_cmd = "command_that_writes_password_to_stdout" # If set to true, `spotifyd` tries to look up your # password in the system's password storage. @@ -22,19 +22,19 @@ use_keyring = true # The audio backend used to play the your music. To get # a list of possible backends, run `spotifyd --help`. -# backend = alsa -backend = pulseaudio +# backend = "alsa" +backend = "pulseaudio" # The alsa audio device to stream audio to. To get a # list of valid devices, run `aplay -L`, -# device = alsa_audio_device # omit for macOS +# device = "alsa_audio_device" # omit for macOS # The alsa control device. By default this is the same # name as the `device` field. -# control = alsa_audio_device # omit for macOS +# control = "alsa_audio_device" # omit for macOS # The alsa mixer used by `spotifyd`. -# mixer = PCM +# mixer = "PCM" # The volume controller. Each one behaves different to # volume increases. For possible values, run @@ -45,12 +45,12 @@ backend = pulseaudio # A command that gets executed in your shell after each song changes. # on_song_change_hook = command_to_run_on_playback_events # https://github.com/Spotifyd/spotifyd/wiki/User-supplied-scripts -on_song_change_hook = ~/.config/spotifyd/notifications.sh +on_song_change_hook = "~/.config/spotifyd/notifications.sh" # The name that gets displayed under the connect tab on # official clients. Spaces are not allowed! # device_name = device_name_in_spotify_connect -device_name = dev_pc_daemon +device_name = "dev_pc_daemon" # The audio bitrate. 96, 160 or 320 kbit/s bitrate = 320 @@ -61,12 +61,16 @@ bitrate = 320 # # Note: The file path does not get expanded. Environment variables and # shell placeholders like $HOME or ~ don't work! -# cache_path = cache_directory +# cache_path = "cache_directory" # If set to true, audio data does NOT get cached. # no_audio_cache = true # no_audio_cache = false +# Volume on startup between 0 and 100 +# NOTE: This variable's type will change in v0.4, to a number (instead of string) +# initial_volume = "90" + # If set to true, enables volume normalisation between songs. # volume_normalisation = true @@ -77,10 +81,10 @@ bitrate = 320 # zeroconf_port = 1234 # The proxy `spotifyd` will use to connect to spotify. -# proxy = http://proxy.example.org:8080 +# proxy = "http://proxy.example.org:8080" # The displayed device type in Spotify clients. # Can be unknown, computer, tablet, smartphone, speaker, tv, # avr (Audio/Video Receiver), stb (Set-Top Box), and audiodongle. -# device_type = speaker -device_type = computer \ No newline at end of file +# device_type = "speaker" +device_type = "computer" \ No newline at end of file