Jump to content
DZMM

Guide: How To Use Rclone To Mount Cloud Drives And Play Files

357 posts in this topic Last Reply

Recommended Posts

Hmm, now I'm wondering if I should add the delete back in due to that issue or I should wait. Also looking forward to seeing -drive-pacer added in. 

Share this post


Link to post

Hi guys 

 

I have a question for you. I'm trying to listen to a bluray rip that is 33Go in size and i keep getting buffering or it takes 5- 10 sec to start the movies is it normal ?

 

Can you tell me if i can modify something in my script ?

 

 

rclone mount --allow-other --buffer-size 512M --dir-cache-time 72h --drive-chunk-size 512M --fast-list --log-level INFO --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off gdrive_media_vfs: /mnt/user/mount_rclone/google_vfs &

 

 

thx

Edited by francrouge

Share this post


Link to post
1 hour ago, francrouge said:

Hi guys 

 

I have a question for you. I'm trying to listen to a bluray rip that is 33Go in size and i keep getting buffering or it takes 5- 10 sec to start the movies is it normal ?

 

Can you tell me if i can modify something in my script ?

 

 

rclone mount --allow-other --buffer-size 512M --dir-cache-time 72h --drive-chunk-size 512M --fast-list --log-level INFO --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off gdrive_media_vfs: /mnt/user/mount_rclone/google_vfs &

 

 

thx

what's your broadband connection download speed?

Share this post


Link to post
what's your broadband connection download speed?
120/20

Envoyé de mon Pixel 2 XL en utilisant Tapatalk

Share this post


Link to post
3 minutes ago, francrouge said:

120/20

Envoyé de mon Pixel 2 XL en utilisant Tapatalk
 

Assuming a 90min movie, you'll need about 50Mbps on average to play the movie and some bits might be higher e.g. 60-70Mbps.  On your 120 connection if the line isn't available you'll have problems. 

 

You could possibly try increasing your chunk size to ask rclone to download more before starting playback - a chunk size of 256M might stop the buffering for this movie with the trade-off being the start time will be slower whilst waiting for that first chunk.

Share this post


Link to post
Assuming a 90min movie, you'll need about 50Mbps on average to play the movie and some bits might be higher e.g. 60-70Mbps.  On your 120 connection if the line isn't available you'll have problems. 
 
You could possibly try increasing your chunk size to ask rclone to download more before starting playback - a chunk size of 256M might stop the buffering for this movie with the trade-off being the start time will be slower whilst waiting for that first chunk.
Good to know thx for the info

Envoyé de mon Pixel 2 XL en utilisant Tapatalk

Share this post


Link to post

Hi all

 

Question for you guys anyone tried the sync option in plex with a movie in gdrive for exemple ?

 

Just curious if its working or the time it took to sync.

 

thx

Share this post


Link to post

I'm so curious about trying this.  I have done the first few steps and rclone is working great to my Google Drive.  I just can't bring myself to fully rely on Drive in case something goes wrong!

Share this post


Link to post
1 hour ago, francrouge said:

Hi all

 

Question for you guys anyone tried the sync option in plex with a movie in gdrive for exemple ?

 

Just curious if its working or the time it took to sync.

 

thx

It definitely works.  Probably a bit slower due to the need to download the file, but I do my syncs in the background so I never notice and the biggest delay for me is copying to my tablet.

 

27 minutes ago, adammerkley said:

I'm so curious about trying this.  I have done the first few steps and rclone is working great to my Google Drive.  I just can't bring myself to fully rely on Drive in case something goes wrong!

I've gone almost all in this month and I'm uploading all my non-4k content and a good chunk of the 4k as well.  It's been working well for me for over six months and after seeing some absolutely massive plex libraries setup like this, I'm not worried.

  • Like 1

Share this post


Link to post

Having issues with excluding folders with Rclone. If I run it the first time it will exclude it. However if I add a folder like "logs" to the exclude then it wont delete it off the destination. I would manually have to do that. Is this script fine?

 

rclone sync -v --delete-during /mnt/user/backups/Usbdrive NAS:adehaan86/unraidbkup/Usbdrive --exclude "/config/**" --exclude "/logs/**"

 

a work around I can see be would if I add something to the exclude then manually go delete that directory.

 

 

Share this post


Link to post
1 hour ago, scubieman said:

Having issues with excluding folders with Rclone. If I run it the first time it will exclude it. However if I add a folder like "logs" to the exclude then it wont delete it off the destination. I would manually have to do that. Is this script fine?

 

rclone sync -v --delete-during /mnt/user/backups/Usbdrive NAS:adehaan86/unraidbkup/Usbdrive --exclude "/config/**" --exclude "/logs/**"

 

a work around I can see be would if I add something to the exclude then manually go delete that directory.

 

 

wrong thread as this is for plex playback and mounting.  But, I think you won't be able to solve your problem like that as I think exclude only works on files not folders

 

https://rclone.org/filtering/

 

 

Share this post


Link to post
3 hours ago, scubieman said:

Thank you! Sorry about wrong thread.

For future reference, you can always get to the right thread by clicking on the docker icon in the webUI and selecting Support, or from the Support page link for the docker in Apps (Community Applications).

  • Like 1

Share this post


Link to post

I've noticed some buffering with 4k content roughly 10 minutes in. I'm currently using DZMM's setup which works well for non-4k.

Quote

 rclone mount --allow-other --buffer-size 512M --dir-cache-time 72h --drive-chunk-size 512M --fast-list --log-level INFO --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off rclone_mount: /mnt/user/mount_rclone/rclone_mount & 

Anyone mind sharing what they have working well with 4k content? Or is that still a hit or miss. I figure I could increase the --buffer-size to 1G and see how that works.

Share this post


Link to post
27 minutes ago, slimshizn said:

I've noticed some buffering with 4k content roughly 10 minutes in. I'm currently using DZMM's setup which works well for non-4k.

Anyone mind sharing what they have working well with 4k content? Or is that still a hit or miss. I figure I could increase the --buffer-size to 1G and see how that works.

Let me know how you get on with this as I've never conclusively seen any difference for my connection when I increase/decrease the buffer

Share this post


Link to post

I guess its a per user/server/connection setting which might be different for every person. 

 

 

Share this post


Link to post

For my use, its a server I have here at home, 10G connection, I'll tweak it a bit see what I can come up with. Might go back to --rc and see if that helps any with 4k content.

Share this post


Link to post

Hi guy 

 

Did someone experience problem with metadata that is taking couple of sec to load ?

 

Normally it take 1-2 sec but not its like 10

 

thx

 

My metadata is in cache by the way

Share this post


Link to post

Another question

 

Any idea how to accelerate the scan processus its so long to scan 100 movies right now its been 3 hours

 

thx

Share this post


Link to post

@francrouge that's got nothing to do with the rclone setup - plex's scanner sometimes does that.  I find restarting Plex sometimes helps

  • Like 1

Share this post


Link to post

Do you have your movies like this...?

 

.../movies/movie1/file.mkv

.../movies/movie2/file.mkv

Share this post


Link to post
Do you have your movies like this...?

 

.../movies/movie1/file.mkv

.../movies/movie2/file.mkv

Some yes but its like 20% like that.

 

Should i put them all in the same folder ?

 

Envoyé de mon Pixel 2 XL en utilisant Tapatalk

 

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now