Rclone cache question for plex

Hello, I want to know if this is possible...

When I play a plex movie I want this file download a cache on backend so the plex read from the cache, this file will download more faster than I see the film, so if internet crash the file will be on the cache and I will be a able to continue seeing it.

I have test this https://rclone.org/cache/ BUT this only load on cache the parte of file I am seeing, I can go back 3 minutes and load fast but I cant forward 3 minutes because this is not loaded, I want the file download complete, so I could forward 30 minutes and this part of the film would be on the cache.

It is possible???.

I have rclonbe on raspberrypi.

Lot of thanks.

hello,

the answer is yes, but depends on your setup.
as you have not supplied the required information, not easy to give you a detailed answer.

What is the problem you are having with rclone?

What is your rclone version (output from rclone version)

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Which cloud storage system are you using? (eg Google Drive)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

Paste  log here

Hello I attach info for here, thanks.

  • you did not post your mount commands.

Excuse me I edited the post and insert this:

rclone mount team1prueba:/ /home/team1 --allow-other

And

rclone mount team1pruebacache:/ /home/team1prueba --allow-other

Plex takes the content from team1prueba.

Thanks and excuse me

i have never used the cache backend, as it is buggy, not maintained and soon to be depreciated.
https://rclone.org/cache/#status

with the mount, you can try this
https://rclone.org/commands/rclone_mount/#vfs-cache-mode-full

Hello, on first post you tell me whay I want its possible, I dont want to cache all files, only file I am playing.

It is possible?

Thanks.

that flag, will not cache all the files, just the file you play.

HEllo, and can you help me with the sitanxis for mount???

Thanks.

rclone mount team1prueba:/ /home/team1 --allow-other --vfs-cache-mode=full
i am not sure how that flags interacts with the cache backend

I test it but play dosnt strart until the file is downloaded!

I have used:
rclone mount team1pruebacache:/ /home/ubuntu/pruebacache/ --allow-other --vfs-cache-mode full

I have used this:

rclone mount team1prueba:/ /home/team1 --allow-other

And

rclone mount team1pruebacache:/ /home/team1prueba --allow-other --vfs-cache-mode full

Plex take data from team1pruebacache but film dosnt start until the fim is downloaded :frowning:

Some idea?

Lot of thanks

Currently there is no way to do what you are looking for. There are two possible ways:

  1. Use cache session, this will keep a local copy as you read it. So going back will work, but going forward will need to wait for rclone to serve the content.

  2. use VFS full mode, which will not serve the file until a complete copy is stored locally.

I guess you have unstable internet and watch content locally, so you want to download the file and be able to watch regardless of any hiccups that happen with your connection. If so, why don't you play with a big buffer? This will store the content in RAM, and will read ahead and store the amount you set. Therefore you can fast forward for a bit and get the content directly.

there might be another way to do what you want, but i do not know what that way is.

This should be possible with the latest beta which has a revamped full-mode, which doesn't wait for the full file to be downloaded before starting to play.

Setting vfs-read-ahead significantly large will keep that amount of file on disk so you can continue playing for some time even if the internet goes out. Setting it to the size of the movie will buffer the whole file on disk.

Help I have a Raspberry pi using rclone, with 4gb game, how much buffer can I put?, how should I mount the drive m

Thanks

Hello, on new version of rclone? When will be published?, and how should I mount my drive?

Lot of thanks.

you can read about it here.

Hello, on oficial web https://rclone.org/downloads/ show the version 1.52.3 for download, on your link is the 1.52.2.285, what version should I download?.

can I upgrade with:

curl https://rclone.org/install.sh | sudo bash ????????

I have a 1.52.2

Lot of thanks.

Follow the steps for beta installation on the website i.e.

curl https://rclone.org/install.sh | sudo bash -s beta

The mentioned changes have been merged to the latest beta.