mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #707] Exception when using ~ in cache path #402
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#402
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @snadorp on GitHub (Apr 22, 2021).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/707
librespot is throwing an exception when initializing with a
~sign in the path.cache_path = "~/.cache/spotify"
@Johannesd3 commented on GitHub (Apr 23, 2021):
Using
~in the path works for me. It's probable another problem: Does the directory~/.cachealready exist? Librespot 0.1.5 is not able to create multiple dirs in a row for the cache dir, but this is fixed on thedevbranch.@Johannesd3 commented on GitHub (May 1, 2021):
Please reopen if my explanation is wrong.
@damif94 commented on GitHub (Sep 3, 2022):
Hi @Johannesd3 I am having the same error message when running
spotifyd --no-daemon.How is this related to a cache directory?
Can you help me solve it 🙏 ?