2012-09-15, 00:21
So I have XBMCbuntu 11.0 running on my HTPC ("htpc"), with my library residing in a MySQL database on separate Xubuntu box ("shodan"), and my videos and thumbnails residing on a separate Windows box ("jarvis").
I had my HTPC configured so that it was using SMB sources for videos. For example:
...and I was also storing thumbnails on the SMB share via path substitution:
However, I set up an NFS server on the Windows box and wanted to try having the HTPC use that instead of SMB (NFS over UDP is supposed to work better with powerline ethernet). Therefore, I set up the HTPC to mount the NFS shares via /etc/fstab (and verified that it worked), then I set up a path substitution rule:
After restarting XBMC, it is now happily adding duplicate entries to my library. Doh!
Both the old and new entries play fine. Anyone have any idea what's going on here?
What is the best strategy for getting things set up so that multiple XBMC installations can access the same videos via different protocols and/or mount paths, while still sharing the same database?
I had my HTPC configured so that it was using SMB sources for videos. For example:
Code:
sources.xml excerpt:
<source>
<name>Movies</name>
<path pathversion="1">smb://jarvis/Shared/Video/Movies/</path>
</source>
...and I was also storing thumbnails on the SMB share via path substitution:
Code:
advancedsettings.xml excerpt:
<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>smb://jarvis/Shared/Video/Thumbnails/</to>
</substitute>
</pathsubstitution>
However, I set up an NFS server on the Windows box and wanted to try having the HTPC use that instead of SMB (NFS over UDP is supposed to work better with powerline ethernet). Therefore, I set up the HTPC to mount the NFS shares via /etc/fstab (and verified that it worked), then I set up a path substitution rule:
Code:
advancedsettings.xml excerpt:
<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>/mnt/jarvis/Shared/Video/Thumbnails/</to>
</substitute>
<substitute>
<from>smb://jarvis/Shared/</from>
<to>/mnt/jarvis/Shared/</to>
</substitute>
</pathsubstitution>
After restarting XBMC, it is now happily adding duplicate entries to my library. Doh!
Both the old and new entries play fine. Anyone have any idea what's going on here?
What is the best strategy for getting things set up so that multiple XBMC installations can access the same videos via different protocols and/or mount paths, while still sharing the same database?