Skip to content

Commit

Permalink
Updated to latest spotifyd config file changes.
Browse files Browse the repository at this point in the history
Was hitting issue: Spotifyd/spotifyd#786 (real issue:
Spotifyd/spotifyd#765), but updating to the latest
configuration file
changes (https://spotifyd.github.io/spotifyd/config/File.html) fixed my
`spotifyd` service from running.
  • Loading branch information
jackson15j committed Jan 26, 2021
1 parent 9b1ded2 commit e75ffd9
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions bash/.config/spotifyd/spotifyd.conf
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[global]
# Your Spotify account name.
username = yebgbl8yxona2fx1dwwkncw52
username = "yebgbl8yxona2fx1dwwkncw52"

# Your Spotify account password.
# password = <password>
# password = "<password>"

# A command that gets executed and can be used to
# retrieve your password.
# The command should return the password on stdout.
#
# 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.
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

Expand All @@ -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
# device_type = "speaker"
device_type = "computer"

0 comments on commit e75ffd9

Please sign in to comment.