Posts: 31,445
Joined: Jan 2011
2012-03-18, 21:43
(This post was last modified: 2012-03-18, 21:43 by Ned Scott.)
There's a few ways to do it, but one easy way (if you're using XBMC v11 Eden) is to just use
path substitution (wiki).
XBMC should have asked if you wanted to update the library with the new path, though, without having to rescrape everything.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
Just a headsup. There is no username/password authentiacion for nfs (auth works on a different approach in nfs - see the wiki if you are interested in details...). Though it doesn't seem to harm because i just ignore that xbmc:xbmc@ bit then ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 239
Joined: Nov 2009
Reputation:
1
bleze
Senior Member
Posts: 239
I don't think I actually had that auth part in the nfs path. I think it was added when I went back to smb to try to avoid losing my library. I had to delete rows from Paths and Movies tables in the database to get back to where I were.
Can you reproduce the problem going from smb to nfs on a source? Because it would be nice if it was possible to change between them without having to lose the database.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
thumbnails are hashed from the fullpath ... so changing from smb to nfs will invalidate the old thumbnails ... not sure if that is what you mean... but yep in general it will give problems when changing protocols with already existing db...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 26,215
Joined: Oct 2003
Reputation:
187
If it's done by pathsubstitution it won't - the substitution is done before we hit the filesystem, not in the fileitems themselves.
If it's done by altering the paths in the db, then it will, yup.
Posts: 708
Joined: Feb 2009
Reputation:
144
I do this using symlinks (on Windows)
X:\Sources\Movies
X:\Sources\Music
X:\Sources\TV Shows
X:\Sources\Music Videos
Each of the above is a symlinked folder 'pointing/linking' to wherever the REAL source is, this way, I can move my content wherever I like without affecting XBMC. The only think that MUST remain constant is the 'X' drive (or whichever drive you elect), after that you can store your media anywhere - it will also work for network (\\mynetworkdrive) paths too.
XBMC is simply configured to use the above folder sources and remains blissfully ignorant of symlinking.