2013-02-28, 21:17
This is happening on my Linux systems, and my ATV2 systems, and it's driving me nuts.
For some reason they're having no problem aliasing one of my NFS shares via subsitution, but refusing to do the other.
This is all shared out by a FreeNAS box.
First, here's a snippet of the sources.xml I'm sharing across all the boxes:
Next, here's a snippet of advancedsettings.xml on the linux box where this is not working:
So, the reason I do this is that my main MySQL DB is run by a server, where the indexed content is mounted (and stored in the DB) at /Volumes/xxxxx. Therefore, I use the path substitution in XBMC at startup to tell XBMC that anywhere it encounters "/Volumes/tv" when loading a file, to alias that to the local "/storage/tv" and anywhere it sees "/Volumes/tv2" to alias that to the local "/storage/tv2". Seems logical. If neither were working, I'd at least think I was totally off base here, but the problem is one works great, and the other refuses to work!
Even more maddening, my ATV2 boxes are behaving in a similar way, but only with the one source. I made sure that permissions matched up as well.
Above, the first substitute works great...The second one, no dice. If I try and browse to "TV-2" in the files view I get a "Path Not Found or Invalid" error. "TV-1" is working great.
If I browse the file system, both /storage/tv and /storage/tv2 have files in them and mounted correctly via autoexec.sh, like this:
So what gives? I've been struggling with this for WEEKS to no avail...Can anyone help me? Anything I can try? Anything I can look at in the logs to get detail on the error that XBMC is throwing?
Please help save my weekend!
For some reason they're having no problem aliasing one of my NFS shares via subsitution, but refusing to do the other.
This is all shared out by a FreeNAS box.
First, here's a snippet of the sources.xml I'm sharing across all the boxes:
Quote:<source>
<name>TV-1</name>
<path pathversion="1">/Volumes/tv</path>
</source>
<source>
<name>TV-2</name>
<path pathversion="1">/Volumes/tv2</path>
</source>
Next, here's a snippet of advancedsettings.xml on the linux box where this is not working:
Quote:<pathsubstitution>
<substitute>
<from>/Volumes/tv</from>
<to>/storage/tv</to>
</substitute>
<substitute>
<from>/Volumes/tv2</from>
<to>/storage/tv2</to>
</substitute>
</pathsubstitution>
So, the reason I do this is that my main MySQL DB is run by a server, where the indexed content is mounted (and stored in the DB) at /Volumes/xxxxx. Therefore, I use the path substitution in XBMC at startup to tell XBMC that anywhere it encounters "/Volumes/tv" when loading a file, to alias that to the local "/storage/tv" and anywhere it sees "/Volumes/tv2" to alias that to the local "/storage/tv2". Seems logical. If neither were working, I'd at least think I was totally off base here, but the problem is one works great, and the other refuses to work!
Even more maddening, my ATV2 boxes are behaving in a similar way, but only with the one source. I made sure that permissions matched up as well.
Above, the first substitute works great...The second one, no dice. If I try and browse to "TV-2" in the files view I get a "Path Not Found or Invalid" error. "TV-1" is working great.
If I browse the file system, both /storage/tv and /storage/tv2 have files in them and mounted correctly via autoexec.sh, like this:
Quote:mount -t nfs 192.168.1.199:/mnt/tv/shows /storage/tv -o tcp,timeo=6000,nolock
mount -t nfs 192.168.1.199:/mnt/tv2/shows /storage/tv2 -o tcp,timeo=6000,nolock
So what gives? I've been struggling with this for WEEKS to no avail...Can anyone help me? Anything I can try? Anything I can look at in the logs to get detail on the error that XBMC is throwing?
Please help save my weekend!