Linux Recommended src configuration for Linux desktop that also acts as media server - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Linux Recommended src configuration for Linux desktop that also acts as media server (/showthread.php?tid=163924) |
Recommended src configuration for Linux desktop that also acts as media server - ADFHogan - 2013-05-03 Hi all, I have all my media loaded onto my desktop machine. The paths to the media configured in XBMC are currently filesystem paths
Eg. /var/local/media -> nfs://server/srv/nfs4/media The notebook I had connected to my TV launched XBMC with a wrapper script that mounted an NFS share from the server to the same path on the notebook as the workstation. The metadata is provided by a MySQL database on the desktop/server specified in advancedsettings.xml. Now, as I no longer have the notebook that was connected to the TV and there is an Android version of XBMC and I have an Android device with HDMI out, my understanding is that to use NFS on Android, one needs to configure the sources as NFS sources with NFS:// URLs. This seems all well and good (I export all the metadata for my media to separate files to allow for easy importing should I need to rebuild the DB), but... it seems a little inefficient (and potentially problematic) to have the machine on which the media resides access itself via NFS. Is there a way to share the same media database, but have the Android client access it via NFS and the Linux desktop/server on which the media resides access it direct via the filesystem? I'm thinking that if I configure the media sources to use NFS URLs and then on the desktop/server machine, to advanced settings I use path substitution as documented here: http://wiki.xbmc.org/index.php?title=Path_substitution Eg. Code: <advancedsettings> ... or am I thinking the wrong way about this? RE: Recommended src configuration for Linux desktop that also acts as media server - Kib - 2013-05-03 That would work. RE: Recommended src configuration for Linux desktop that also acts as media server - ADFHogan - 2013-05-03 Thanks ... On my desktop/server, I've implemented the advancedsettings.xml file: Code: <?xml version="1.0" encoding="UTF-8"?> Code: <sources> RE: Recommended src configuration for Linux desktop that also acts as media server - ADFHogan - 2013-05-05 Ok.. after some testing, it turns out that using the pathsubstitution mentioned here BREAKS the config. The Video -> Files view still sees files, but playback cannot see the files and searching for videos ("Search for new content") fails, stopping prematurely without obvious error. Loopback NFS does appear to be working, but it still feels messy. Arguably this'd be a bug, no? advancedsettings.xml now reads: Code: <?xml version="1.0" encoding="UTF-8"?> |