Skip to content

Commit

Permalink
Updated spotifyd.conf path
Browse files Browse the repository at this point in the history
  • Loading branch information
judahpaul16 committed May 20, 2024
1 parent d76d9d1 commit 24a8885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ async def connect_service(request: Request):

if spotify_username and spotify_password:
# Update the spotifyd configuration dynamically
config_path = ROOT_DIR.parent / ".config/spotifyd/spotifyd.conf"
config_path = "/root/.config/spotifyd/spotifyd.conf"
whoami = subprocess.run(["whoami"], capture_output=True).stdout.decode().strip()
with open(config_path, "w") as file:
file.write("[global]\n")
Expand Down

0 comments on commit 24a8885

Please sign in to comment.