Jump to content

Emby configuration with Rclone Google Drive Mount?


Recommended Posts

Posted

Greetings,

 

I've been trying to use Emby with rclone. I've looked around on the forums but they're basically unsearchable, and I checked the first 50 topics that popped up for rclone and nothing useful showed up.

Does anyone have a setup so that you can read your mounted Rclone Google Drive?

For me, it works fine with Pl*x but not with Emby.

I'm all but ready to buy an Emby Premiere Pass but I'd like to figure out this feature first.

Posted

If it works on Plex, it should work with emby. What issues are you seeing?

 

On Linux, I use this with an encrypted mount. Video startup is around 3 seconds. Nightly library scan is under a minute. I have 17TB up there.

 

rclone mount gcrypt: /mnt/media --config /root/.config/rclone/rclone.conf --vfs-cache-mode writes  --use-mmap --daemon-timeout=10m --vfs-read-chunk-size 10M --vfs-read-chunk-size-limit 512M --cache-dir /home/rclone/vfs_cache --allow-other --dir-cache-time 48h --drive-chunk-size 128M --log-level INFO --log-file /var/log/rclone.log --timeout 1h --umask 002

Posted

Hi, yes, what exactly is the problem?

Posted (edited)

The problem is that I literally don't see the drive in Emby, but I see it in Plex.

https://i.imgur.com/sIP5QEH.png
For me, Emby doesn't find any of my Network folders or Rclone.

https://i.imgur.com/ys6t3oq.png

 

 

 

 

 

If it works on Plex, it should work with emby. What issues are you seeing?

 

On Linux, I use this with an encrypted mount. Video startup is around 3 seconds. Nightly library scan is under a minute. I have 17TB up there.

 

rclone mount gcrypt: /mnt/media --config /root/.config/rclone/rclone.conf --vfs-cache-mode writes  --use-mmap --daemon-timeout=10m --vfs-read-chunk-size 10M --vfs-read-chunk-size-limit 512M --cache-dir /home/rclone/vfs_cache --allow-other --dir-cache-time 48h --drive-chunk-size 128M --log-level INFO --log-file /var/log/rclone.log --timeout 1h --umask 002

 

Your rclone mount is way different from mine. I don't use any of that cache directory stuff. I'm not sure which part of yours is making it work.

Here's mine:

rclone mount --allow-other --dir-cache-time 96h --vfs-cache-max-age 48h --vfs-cache-mode writes --vfs-read-chunk-size 128M --poll-interval 2m --vfs-read-chunk-size-limit 50G --vfs-cache-max-size off --buffer-size 100M --log-level INFO GdriveXPS: X:

 

 

*edit*

OK, I figured it out. At some point, I think changing my own rclone config would've made it work, but I also changed Emby Server.exe to run as administrator, and that makes it not see any network drives or rclone.

Edited by vladz0r
  • Like 1
Posted

Did you check the permissions on the drive to make sure the emby system user can access it?

Posted

Did you check the permissions on the drive to make sure the emby system user can access it?

 

The --umount 002 flag should allow any user on the system to see the drive. Otherwise, you can run the rclone mount command as the same user that emby runs as.

 

John

  • Like 1
Posted

Did you try typing in the path manually like the help text says?

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
×
×
  • Create New...