Closed angryzor closed 10 years ago
LRU seems to have the desired semantics
On 12/20/13 15:00, Roeland Matthijssens wrote:
how about specifying a max cache size instead? no sense in throwing it away for no good reason... "but what if the song suddenly changes?" ... well shit
— Reply to this email directly or view it on GitHub https://github.com/Infogroep/imp/issues/6#issuecomment-31010948.
Btw, what I eventually did (and what I originally wanted to do but didn't word well) is have script register their temp files with the playlist (potentially while queuing) and have the playlist destroy them (still through the cache script mind) when they fall off the history.
how about specifying a max cache size instead? no sense in throwing it away for no good reason... "but what if the song suddenly changes?" ... well shit