I am using rclone to mount data, which I then watch through Plex/JF. The problem is the timeline scrubbing. This is all done using vfs.
If I skip forward (and it has buffered): It is pretty much instant
If I skip backward at all (even a small amount like 5 seconds): 5-10 seconds load to rebuffer and play
Is there anything I can do to improve this aspect of my rclone mount? It seems the cache is flushed instantly once that part of the video file is played. Is there a setting where I can tweak this so that data is only flushed once it reaches X amount?
From reading the mount documentation, it seems like maybe combining these options might accomplish what I want:
I think so, that could be very useful. I have always wished that there was an option to activate the sequential download, that is, when I start playing a file it will be downloaded sequentially until it is completely downloaded.
If you try to advance to a point that has not yet been downloaded, rclone could delay it and not allow you to do so, or rclone could cancel the previous sequential download and start downloading sequentially again from the new point to the end.
This would be the way to go, in my humble opinion. With the way rclone handles chunks, seeking would not be too "costly", as far as API limits are concerned. Also, the above would be needed anyway, as one might need to start viewing a file not at the beginning (Plex, Kodi, MPC-HC... pretty much all players allow to resume).
I think that might be best in version 2! The rclone cache is very simple at the moment which is good because I can reason about it easily, but bad because there isn't anywhere to store the fact that only the second half of a file has been downloaded.