Skip to content

Feature request: Cache size limiting options #87

@not-siblers

Description

@not-siblers

Currently there appears to be no limit to the size of the cache and mine has currently ballooned to the 15GB mark in a very short period of time. Could it be possible to add some kind of option to limit the size of the cache?

The few I can think of are:

  • Limit by number of tracks
  • Limit by date (ie don't store tracks if not listened to for a period of time)
  • Limit by overall cache size

I'm not sure the best way to handle deletion, I don't think a first in first out method would work but might be the easiest. I feel like deleting the track that has the longest amount of time since it was last played would be the best as its least likely to need to be cached again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions