Scan local files to MySQL with smb filepaths - 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: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Scan local files to MySQL with smb filepaths (/showthread.php?tid=343828) |
Scan local files to MySQL with smb filepaths - Assmonkey - 2019-05-12 Hi, I've tried my best using Google Fu to find an answer to my question but with no lucj. I'm using MySQL to share my database between my Kodi boxes. The thing is I'm running a headless-kodi instance which has local file access to my files so I'd like for this instance to scan the files to the MySQL database but instead of writing local file paths for the files, use the SMB paths that the other Kodi boxes will use in sources.xml. This would save on LAN bandwidth and speed up the scanning progress significantly since it doesn't have to go through the network share. I thought this might be possible with path substition but I can't figure out where exactly I would put it (sources.xml or advancedsettings.xml?) and how. Maybe what I'm looking for just isn't possible but thought I'd at least give it a try. Thanks in advance. RE: Scan local files to MySQL with smb filepaths - pkscout - 2019-05-12 I think the easiest thing to do is just create an SMB source on the headless Kodi (even if it’s pointing to the SMB on the local machine) and then scan everything in. That’s what I do with my Windows machine that is both my DVR and a Kodi instance. |