HOW-TO:Share libraries using MySQL: Wiki Edition
Why isn't there a video tutorial for this yet? Seems like a 15min video would save a bunch of people trouble and time...

On my host machine, my advanced settings are as followed:

Code:
<advancedsettings>
  <splash>false</splash>
  <imageres>720</imageres>
  <fanartres>1080</fanartres>
  <useddsfanart>true</useddsfanart>
    <videodatabase>
        <type>mysql</type>
        <host>192.168.1.3</host>
        <port>3306</port>
        <user>kodi</user>
        <pass>kodi</pass>
    </videodatabase>
    <video>
        <usetimeseeking>true</usetimeseeking>
        <timeseekforward>60</timeseekforward>
        <timeseekbackward>-10</timeseekbackward>
        <timeseekforwardbig>600</timeseekforwardbig>
        <timeseekbackwardbig>-180</timeseekbackwardbig>
    </video>
    <videolibrary>
        <recentlyaddeditems>50</recentlyaddeditems>
        <importwatchedstate>true</importwatchedstate>
        <importresumepoint>true</importresumepoint>
    </videolibrary>
    <network>
        <buffermode>0</buffermode>
        <cachemembuffersize>524288000</cachemembuffersize>
        <readbufferfactor>20</readbufferfactor>
        <curlclienttimeout>45</curlclienttimeout>
    </network>
    <gui>    
        <algorithmdirtyregions>3</algorithmdirtyregions>
        <nofliptimeout>0</nofliptimeout>
    </gui>
    <videoscanner>
        <ignoreerrors>true</ignoreerrors>
    </videoscanner>
</advancedsettings>

My sources:

Code:
<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>Movies</name>
            <path pathversion="1">smb://STREAM-PC/Kodi Add-On Library/Movies/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>PlayOn</name>
            <path pathversion="1">upnp://f9124d2b-b362-4d3c-89c8-ed0c02b4b409/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>1Channel TV</name>
            <path pathversion="1">smb://STREAM-PC/Kodi Add-On Library/1CTV/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Ongoing TV Shows</name>
            <path pathversion="1">smb://STREAM-PC/Kodi Add-On Library/Ongoing TV Shows/</path>
            <allowsharing>true</allowsharing>
        </source>
    </video>
    <music>
        <default pathversion="1"></default>
    </music>
    <pictures>
        <default pathversion="1"></default>
    </pictures>
    <files>
        <default pathversion="1"></default>
        <source>
            <name>Fusion</name>
            <path pathversion="1">http://fusion.tvaddons.ag/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Xunity</name>
            <path pathversion="1">http://xfinity.xunitytalk.com/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Repositories</name>
            <path pathversion="1">C:\Users\Stream\Videos\Kodi Add-On Library\Repositories\</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>SuperRepo</name>
            <path pathversion="1">http://srp.nu/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Emulators</name>
            <path pathversion="1">C:\Users\Stream\Videos\Kodi Add-On Library\Emulators\</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Cinema Experience</name>
            <path pathversion="1">smb://STREAM-PC/Kodi Add-On Library/Cinema Experience/</path>
            <allowsharing>true</allowsharing>
        </source>
    </files>
</sources>

On the host machine, I can see all of my media in Kodi just fine. I copied my sources and advanced settings XML to a test PC (my gaming PC) that is also running Helix 14.1. The sources show up, but I can't scan them into the library. If I play a video on my test PC, mysql hovers around 20% CPU usage on my host PC. It's definitely working. I just don't know why I can't scan anything into the library. The pause/resume feature doesn't seem to be working either.

Could it be because Kodi on my host PC is the DSPlayer version? They're both 14.1 and have the same DBs, but the Git numbers are different.
Reply


Messages In This Thread
RE: HOW-TO synchronize XBMC between every room in the house: Wiki Edition - by RamboUnchained - 2015-02-21, 00:28
Logout Mark Read Team Forum Stats Members Help
HOW-TO:Share libraries using MySQL: Wiki Edition2