I really don't understand caching

Issue description:

I have asked for help in the past and thought I had it set up correctly, but it does not function as I would expect and even reading the help guides I seem to come up short.

So, I have a Playlist I am trying to listen to that is created within Plex.

That imports fine.

When I set to add it to rolling cache, it downloads up to the 9GB limit, but then it carries on down the playlist replacing the next queued tracks with the ones at the bottom of the playlist.

I tried to set Playback cache to 5GB, with 15tracks (mobile) and 80 tracks (wifi)
Force first song pre-cache and Add playback cached media to offline rolling cache.

It never seemed to work and store what I was expecting to see in the rolling cache.

However, As I typed this out and followed my steps (on wifi) it seemed to work as expected.
Although I have just turned to mobile data and nothing seems to be happening in the rolling cache. While I have signal it is still playing the playlist and queue but the next 15 tracks are not appearing in the rolling cache.

An addition to this, is that sometimes played tracks are not sync’d back to Plex where they should be automatically removed.

I think my issue is that it does not seem to be consistent with what I would expect to see, or how I think I am reading what each setting should do.

Any help gratefully received.

Logs:

Upload description: TheRealTomTom

Additional information:

Reproduction steps:

Media provider:

Plex

Screenshots:

There’s no question and you do not detail what you want to achieve so not sure what answer you expect here ?

Sorry,

I guess, am I doing it correctly? Have I understood what the different caching options mean?

Why does it some times pre-cache 15 songs when at other times it doesn’t?

The app does what it’s supposed to do, the question is what do you want to do ?

You can’t auto cache to rolling cache so it’s a manual process, if you cache more songs that what can be in the rolling cache then the new songs removes the old ones as the name rolling with a limit.

Pre cache will pre cache the now playing queue, not the playlist as already explained. If your now playing queue is 1 song there there’s nothing to cache.

Define your need first, then think about the solution, don’t touch everything and hope that maybe it will do something you want.

“Pre cache will pre cache the now playing queue, not the playlist as already explained. If your now playing queue is 1 song there there’s nothing to cache.”

So I click play (no shuffle) on the track in the playlist. The next 15 songs should be the ones in the playlist. I am not caching the playlist directly but because they are the next batch of songs, the pre-cache should be the playlist.

I thought I had defined what I needed and how to get the solution, but as it was not doing what I expected, I moved to trying other options.

The simple outline is I click play and (for when I lose signal on the train) the next 15 songs are cached so that it keeps playing until I get signal again and can load the next few songs to make it the next 15.

Is there anywhere to see if the system has loaded the next selection (it is why I said to put the playback cache into the rolling cache as you can see the tracks that are available).

Thanks very much!

I am sorry if this is frustrating, but as I say, the way I would expect it to work is not what always seems to happen and I am unsure what options/settings I am not getting right.

You don’t need rolling cache, just enable playback cache with enough space, and the pre cache.

It will pre cache the next songs in the queue as you play. And no you can’t see the status as it’s in playback cache, but it works as long as the cache is large enough. If you pre cache 80 songs in a cache that can only support 15 then you’ll have a 65 song gap between the active song and the next cached one.

1 Like

Thanks, the bit I don’t understand is the last section about pre-caching 80 in one that can only support 15.

Is that because of the difference between mobile and wifi?

What would a 65 song gap be? It skips 65 songs?

As most cache it’s first in first out.

So if you pre cache 80 songs but the cache can only support 15 songs, guess what happens ?

Only the last 15 songs are cached, 80-15 = 65 so there’s 65 songs not cached between your current song and the next cached ones. It’s just simple math.

You can’t cache more things than what the cache can contain.

1 Like