Skyfay 19 Posted August 17, 2021 Posted August 17, 2021 (edited) Hello, I have movies on my Google Drive. Now I would like to integrate this directly into Emby without loading it locally onto my device. I have mounted google drive on my Ubuntu 20.04 server via rclone. But if I want to create a new media folder, then I cannot select the folder where I mounted Google Drive. does anyone have experience with this and can help me? thanks! Edited August 17, 2021 by Skyfay
Luke 40140 Posted August 17, 2021 Posted August 17, 2021 Hi, try entering the folder path manually into emby library setup and see if that helps. Thanks.
Skyfay 19 Posted August 17, 2021 Author Posted August 17, 2021 @Luke My Local Media Folder are in /mnt/hc5201/movies these work Google Drive is mounted in /mnt/google-drive. that does not work.
Luke 40140 Posted August 17, 2021 Posted August 17, 2021 The emby system user probably does not have permission to access the folder. Please review this: Then try again. Thanks.
Skyfay 19 Posted August 17, 2021 Author Posted August 17, 2021 @LukeThe folder got the right permission. I gave them 775…
Luke 40140 Posted August 17, 2021 Posted August 17, 2021 Please review the document I suggested anyway. Thanks
Skyfay 19 Posted August 17, 2021 Author Posted August 17, 2021 (edited) I think I can't change the permissions for the mounted folder via Rclone. I tried to sudo chown -R emby /mnt/google-drive but it doesn‘t changed anything. Also sudo chmod -R 777 does not help. Edited August 17, 2021 by Skyfay
rodainas 188 Posted August 17, 2021 Posted August 17, 2021 1 hour ago, Skyfay said: I think I can't change the permissions for the mounted folder via Rclone. I tried to sudo chown -R emby /mnt/google-drive but it doesn‘t changed anything. Also sudo chmod -R 777 does not help. Please post your mount command and are you using --allow-other flag ?
Skyfay 19 Posted August 17, 2021 Author Posted August 17, 2021 (edited) @rodainasI used the command „rclone config“ and then created a new one. I think i don‘t use flags. Edited August 17, 2021 by Skyfay
Solution rodainas 188 Posted August 17, 2021 Solution Posted August 17, 2021 13 minutes ago, Skyfay said: @rodainasI used the command „rclone config“ and then created a new one. I think i don‘t use flags. Exactly, and thats why the problem you are having. On linux you need to specify the flag: --allow-other The reason is that without this flags other applications won't have access to the mounted directory. 1
Skyfay 19 Posted August 17, 2021 Author Posted August 17, 2021 1 minute ago, rodainas said: Exactly, and thats why the problem you are having. On linux you need to specify the flag: --allow-other The reason is that without this flags other applications won't have access to the mounted directory. So i need to type: rclone config allow-other ? When i do that, the files are still on google drive and don‘t try to download it local on my device?
rodainas 188 Posted August 17, 2021 Posted August 17, 2021 1 minute ago, Skyfay said: So i need to type: rclone config allow-other ? When i do that, the files are still on google drive and don‘t try to download it local on my device? No. Rclone doesnt download automatically any files, dont know why you have this conception, the only way rclone download the files is in the event you have the vfs cache activated and modify the files on the mount, rclone will download the files to your local computer for cache purpose and after being uploaded again it will be deleted. The command for mounting is rclone mount --allow-other remotename: /path/to/directory/ 1
Skyfay 19 Posted August 17, 2021 Author Posted August 17, 2021 (edited) 3 minutes ago, rodainas said: No. Rclone doesnt download automatically any files, dont know why you have this conception, the only way rclone download the files is in the event you have the vfs cache activated and modify the files on the mount, rclone will download the files to your local computer for cache purpose and after being uploaded again it will be deleted. The command for mounting is rclone mount --allow-other remotename: /path/to/directory/ Oh, Okey. There are a config and a mount. Sorry i‘m stupid. I forgot. Thanks i lot i will test it. Thanks! Edited August 17, 2021 by Skyfay
rodainas 188 Posted August 17, 2021 Posted August 17, 2021 2 minutes ago, Skyfay said: Oh, Okey. There are a config and a mount. Sorry i‘m stupid. I forgot. Thanks i lot i will test it. Thanks! No worries. The config is for creating your remote (the location of your files on the cloud for rclone to read it). If you already created a remote you just need to apply the rclone command, I advise you to run it as a service, so in the event rclone crash or you restart the machine the rclone mount command will be automatically invoked. 1
Skyfay 19 Posted August 17, 2021 Author Posted August 17, 2021 41 minutes ago, rodainas said: No worries. The config is for creating your remote (the location of your files on the cloud for rclone to read it). If you already created a remote you just need to apply the rclone command, I advise you to run it as a service, so in the event rclone crash or you restart the machine the rclone mount command will be automatically invoked. Which file is that, or can i do that with fstab?
rodainas 188 Posted August 17, 2021 Posted August 17, 2021 53 minutes ago, Skyfay said: Which file is that, or can i do that with fstab? You can follow this guide for example. rclone Systemd startup mount script | JamesCoyle.net Limited 1
MahiSM3300 0 Posted August 23, 2021 Posted August 23, 2021 I have emby premium... but even though i have connected my google drive api to emby i am still not being able to access my google drive contents on emby... how can i add my google drive files to emby for online streaming ?
Skyfay 19 Posted August 23, 2021 Author Posted August 23, 2021 (edited) 12 minutes ago, MahiSM3300 said: I have emby premium... but even though i have connected my google drive api to emby i am still not being able to access my google drive contents on emby... how can i add my google drive files to emby for online streaming ? It‘s not possible with the Google Drive Plugin for me. I use Rclone or Plexdrive this works on my Linux machine. Edited August 23, 2021 by Skyfay
Skyfay 19 Posted August 23, 2021 Author Posted August 23, 2021 (edited) @MahiSM3300I think you wan't to play a video over emby direct from google drive right? But this isn't possible i guess? Cause if you use rclone or something your pc or server need to download form Google Drive in your cache and then upload it to your Device. Direct play from google drive over emby is not possible if i'm right. @Luke or @rodainas probably know more about it than I do. Edited August 23, 2021 by Skyfay
rodainas 188 Posted August 23, 2021 Posted August 23, 2021 6 minutes ago, Skyfay said: @MahiSM3300I think you wan't to play a video over emby direct from google drive right? But this isn't possible i guess? Cause if you use rclone or something your pc or server need to download form Google Drive in your cache and then upload it to your Device. Direct play from google drive over emby is not possible if i'm right. @Luke or @rodainas probably know more about it than I do. It is possible to play it directly through google drive, with the use of strm files and direct links to google drive videos using the api from google, but it is not recommended as you would have to turn the links into public access, and if the content is downloaded the risk of getting the files flagged because of this is high.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now