Problems with path substitution (NFS) on ipad
#1
Hey all,

I hope someone can help me with this.
I have the following setup:

1. HTPC with xbmc live running Pre-EDEN from Dec 11th
2. ipad 2 with Pre-EDEN from Dec 10th
3. mysql server on HTPC with XBMC library


Both machines can connect to the library without any problems.
The HTPC can play/resume items, the ipad, however cannot.

The HTPC is the Library server. I don't have a NAS or anything.
All files are on a local hard drive on the htpc.

To make sure the ipad can access those files via NFS I added some path substitutions to the advancedsettings.xml.

So here's the setup:

Mount on HTPC:
/var/mobile/Media/mediaA
Path:
/var/mobile/Media/mediaA/Media/Movies/"Some Movie Part 1" (there are blanks in the names, which doesn't bother the HTPC)
Everything plays fine on the htpc

I share this path via NFS to the ipad.
On the ipad I created the same folder structure
/var/mobile/Media/mediaA
however I cannot mount nfs shares on the ipad on ios level. That I did with xbmc-ios

I added the following lines to the advancedsettings.xml

Code:
<pathsubstitution>
   <substitute>
     <from>/var/mobile/Media/mediaA/</from>
     <to>nfs://192.168.1.46/var/mobile/Media/mediaA/</to>
   </substitute>
   <substitute>
     <from>/var/mobile/Media/mediaB/</from>
     <to>nfs://192.168.1.46/var/mobile/Media/mediaB/</to>
   </substitute>
</pathsubstitution>

When I add a source to XBMC/ipad I DON'T use "NFS://path/to/media", BUT:
Add Videos => Browse => Home Folder (/var/mobile) => Media = >MediaA (up to here all folders reside on the ipad) => Media (now we are on the htpc) => Movies.
On my iPad in VIDEO=>FILES I can now see the files that are on the remote server. I can watch them, too.
However, when I try to access the files via the library I get a message "This file is no longer available".
The path on the ipad is the same as on the htpc.
I also get the following entries in xbmc.log:
Code:
02:47:12 T:161562624   ERROR: InputStream: Error opening, /var/mobile/Media/mediaA/Media/Movies/
02:47:12 T:804130816   ERROR: GetDirectory - Error getting /var/mobile/Media/mediaA/Media/Movies/

Can anyone help me out here? :confused2:

Thanks Smile
Reply
#2
Full Debug Log with debugging turned on in Settings->System->Debug needed. Post it to pastebin.com and put the link in here...
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
here it is:

http://pastebin.com/AQKVeLJD
Reply
#4
thought I'd update this.
Everything works fine on Eden Beta 3.
Reply

Logout Mark Read Team Forum Stats Members Help
Problems with path substitution (NFS) on ipad0