astrada / google-drive-ocamlfuse

FUSE filesystem over Google Drive
https://astrada.github.io/google-drive-ocamlfuse/
MIT License
5.48k stars 349 forks source link

Plex with google drive #554

Closed ambigus9 closed 4 years ago

ambigus9 commented 5 years ago

Hi, i'm trying to stream files from my google drive account to plex media server (PMS) on linux ubuntu 16.04. Currently PMS doesn't show me any file that is in my movies folder from google drive using google drive ocamlfuse, here are the steps i'm following:

install plex using snap sudo snap install plexmediaserver install google Drive Ocamlfuse

sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt-get update
sudo apt-get install google-drive-ocamlfuse

link to my google drive account google-drive-ocamlfuse

create folder and mount it allowing other

mkdir ~/miguel-google-drive
sudo google-drive-ocamlfuse -o allow_other ~/miguel-google-drive

Any suggestion? Thanks.

meszape commented 5 years ago

I think the problem is, that by default pms runs in the name of the user "plex" and you mount drive with another user account. You have two options: 1 configure the drive mount with the plex user. 2 configure fuse in way, that all users can see the files I use the first method with my plex server

ambigus9 commented 5 years ago

@meszape Thanks, Wich command i must use to configure the drive mount with the plex user? Do you have plex installed with snap?

meszape commented 5 years ago

Hi

I installed via apt. You have to run the command as the plex user (the config and the mount)

Br

On Thu, 27 Jun 2019, 16:55 Miguel Alberto Plazas, notifications@github.com wrote:

@meszape https://github.com/meszape Thanks, Wich command i must use to configure the drive mount with the plex user? Do you have plex installed with snap?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/astrada/google-drive-ocamlfuse/issues/554?email_source=notifications&email_token=AK22HZ62ANVRIX5ZDREWHPTP4TIHLA5CNFSM4HUJQMPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYXMHTQ#issuecomment-506381262, or mute the thread https://github.com/notifications/unsubscribe-auth/AK22HZ6VGVB7HDRE7GPXZB3P4TIHLANCNFSM4HUJQMPA .

ambigus9 commented 5 years ago

Thanks, that's the problem. Installing using apt works perfect! But by snap I must access data in /media/ folder.

meszape commented 5 years ago

I am not familiar how plex works when you install with snap. But if media needs to be in /media, than you should mount with /media path

Br Peter

On Thu, 27 Jun 2019, 17:27 Miguel Alberto Plazas, notifications@github.com wrote:

Thanks, that's the problem. Installing using apt works perfect! But by snap I must access data in /media/ folder.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/astrada/google-drive-ocamlfuse/issues/554?email_source=notifications&email_token=AK22HZY5IUTARKGEGZKSGULP4TL57A5CNFSM4HUJQMPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYXPLGY#issuecomment-506394011, or mute the thread https://github.com/notifications/unsubscribe-auth/AK22HZ54ZOKMV6R2K6UC3VTP4TL57ANCNFSM4HUJQMPA .

ambigus9 commented 5 years ago

thanks

El jue., 27 jun. 2019 a las 10:47, meszape (notifications@github.com) escribió:

I am not familiar how plex works when you install with snap. But if media needs to be in /media, than you should mount with /media path

Br Peter

On Thu, 27 Jun 2019, 17:27 Miguel Alberto Plazas, < notifications@github.com> wrote:

Thanks, that's the problem. Installing using apt works perfect! But by snap I must access data in /media/ folder.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/astrada/google-drive-ocamlfuse/issues/554?email_source=notifications&email_token=AK22HZY5IUTARKGEGZKSGULP4TL57A5CNFSM4HUJQMPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYXPLGY#issuecomment-506394011 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AK22HZ54ZOKMV6R2K6UC3VTP4TL57ANCNFSM4HUJQMPA

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/astrada/google-drive-ocamlfuse/issues/554?email_source=notifications&email_token=AD6P2EDOTJZAWF7EPFQLWXTP4TOKRA5CNFSM4HUJQMPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYXRMXQ#issuecomment-506402398, or mute the thread https://github.com/notifications/unsubscribe-auth/AD6P2EFTP7PO4ZDCORBQKQDP4TOKRANCNFSM4HUJQMPA .