croneter / PlexKodiConnect

Plex integration in Kodi done right
GNU General Public License v2.0
1.19k stars 78 forks source link

Nifty way to set up Direct Paths #536

Open ghost opened 6 years ago

ghost commented 6 years ago

Not an issue, but I discovered a pretty cool way to set up direct paths, but it only applies to a specific situation: Linux on both server and client, and every library on the same mount point. The idea is, say you have your movies in /mnt/media/Movies and TV shows on /mnt/media/TV Shows. You can use NFS to serve /mnt/media, then mount that on the client at the same exact path (using fstab for example). You could then have things set up like this: screenshot001 i.e. empty strings everywhere. Cool ain't it?

bdpna commented 6 years ago

Thanks for sharing this. You're thinking like I am, I'm trying to get this working as well as MySQL but the fact of the matter is my home uses Nvidia Shield Android Boxes, Fire TV boxes, Pis, and PCs, all with Kodi on there. And I don't think they play with SMB or NFS very well. MySQL always just worked. But I'd really rather get this working instead.

ghost commented 6 years ago

You can mount SMB or NFS inside Kodi, on any platform. Try that if you haven't already.

On Fri, 14 Sep 2018, 23:46 bdpna, notifications@github.com wrote:

Thanks for sharing this. You're thinking like I am, I'm trying to get this working as well as MySQL but the fact of the matter is my home uses Nvidia Shield Android Boxes, Fire TV boxes, Pis, and PCs, all with Kodi on there. And I don't think they play with SMB or NFS very well. MySQL always just worked. But I'd really rather get this working instead.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/croneter/PlexKodiConnect/issues/536#issuecomment-421503386, or mute the thread https://github.com/notifications/unsubscribe-auth/AJemB3F5A3ObspGJmzI_wzU4qJJmKV-zks5ubDGugaJpZM4Wm0K2 .

bdpna commented 6 years ago

The mounts seem to work, using sources.xml works, but PKC is having trouble talking to them with direct paths for some reason. Croneter gave me a good idea to try over in the main plex forum thread. Thanks again for sharing this too.

ghost commented 6 years ago

No problem! Good luck.

On Sat, Sep 15, 2018 at 6:16 PM bdpna notifications@github.com wrote:

The mounts seem to work, using sources.xml works, but PKC is having trouble talking to them with direct paths for some reason. Croneter gave me a good idea to try over in the main plex forum thread. Thanks again for sharing this too.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/croneter/PlexKodiConnect/issues/536#issuecomment-421601914, or mute the thread https://github.com/notifications/unsubscribe-auth/AJemB77cKMmQaKPbthucmh12xKgxJ0igks5ubTXRgaJpZM4Wm0K2 .

daveftw84 commented 6 years ago

im thinking of setting up a apahce server and pointing it to my mnt folder. use https

kocane commented 6 years ago

I just switched from "add-on" to direct paths yesterday, doing it by entering the SMB path. Is using NFS mounts faster than SMB?

ghost commented 6 years ago

Yes it should be.

kocane commented 6 years ago

I'll try it out, thanks!

DeplorableBear commented 5 years ago

I did a similar thing with an iMac last year. I had three external hard drives, so I mounted them all from /Volumes: /Volumes/A /Volumes/B /Volumes/C

then later on, I read that you were not supposed to be able to do that on a mac. I also had one of those buggy versions of samba, so I was using SMBU, so I'm not surprised.

ghost commented 5 years ago

is webdav supported? what protocols are supported?

croneter commented 5 years ago

Good news: It's not a matter of what PKC supports, but what Kodi offers. See here: https://kodi.wiki/view/File_sharing

Webdav is supported by Kodi and should work with PKC