XBMC NFS Client
#1
Okay so I have moved my video collection from Ubuntu 12.04 to FreeNAS 9.2.1.5. Media is shared via NFS.
I have 4 clients( Openelec Generic x86, OpenElec rPi, Win 7, Ubuntu 14.04) using a shared MySQL library. ( all Gotham 13.1)
Everything is mostly fine, all clients can see the library, update the library and play videos.
However, non of the clients browse my collection, like for adding a source, etc.
What I found was the clean library function barks out messages that files are no longer found in nfs://myserver/Videos.
I had accidentally hit Yes to remove items from library from first prompt and it wiped my entire library. Fortunately, I had a backup and was able to restore the MySQl db.

Question:
How to properly setup FreeNAS NFS server so XBMC's built in client can recognize and browse it? Anyone have experience with this?
I know how to properly configure linux with the correct options in /etc/exports but FreeNAS uses some different terminology for the NFS options.

Thanks in advance!
Reply
#2
This might help:

http://wiki.xbmc.org/?title=NFS#NFS_shar...NAS_7.x.29
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)
Reply
#3
I found the resolution and it is indeed partly specific to FreeNAS (FreeBSD actually) and partly with XBMC's internal NFS client.

1. In FreeNAS gui, set the maprootuser and maprootgroup options to an actual user ( I used media as my jails are using he same account to access those datasets)( do not turn on udp for NFS) Reference: http://doc.freenas.org/index.php/Unix_(NFS)_Shares
2. Create or edit a sources.xml manually for xbmc like so: Reference http://wiki.xbmc.org/index.php?title=Sources.xml

<video>
<default>Movies</default>
<source>
<name>My Movies</name>
<path>nfs://server_IP/share/video/</path>
</source>
</video>

3. Reboot xbmc box and now your FreeNAS NFS sources will be browseable within xbmc gui.

I hope this will help someone else in a similiar predicament.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC NFS Client0