librespot-org / librespot

Open Source Spotify client library
MIT License
4.84k stars 610 forks source link

Cache path option not working #1376

Open fjromerom opened 5 hours ago

fjromerom commented 5 hours ago

Description

Hi,

I'm using raspotify and I see the following warning in the logs.

WARN  librespot] Without a `--cache` / `-c` path, and/or if the `--disable-audio-cache` / `-G` fl

I have enabled the following options:

Why does the service print out the warning? is the cache not working?

Version

$ librespot -V
librespot 0.5.0 84d28e8 (Built on 2024-10-17, Build ID: NYHYOuGX, Profile: release)

How to reproduce

Using raspotify provide the previous options.

Log

Provided before.

Host (what you are running librespot on):

Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l

kingosticks commented 4 hours ago

Edit, sorry I misread , that warning does seem wrong but it's also an odd collection of options. If you want to use caching you need to actually turn it on, where did you do that ?

roderickvd commented 3 hours ago
  1. You're asking if the cache is not working -- well, is the cache not working? (do you see files in your cache dir?)
  2. You believe this is a librespot issue or should it be reported to raspotify?
kingosticks commented 3 hours ago

Provide the full log, as very clearly requested in the issue template.