v14 MySQL installed, how to share more between devices?
#1
Hey,

I set up a MySQL Database on my Synology NAS as I am going to buy another RPI for my other TV. So far it works great. Today I wanted to try to share some other things with the following code in my advancedsettings.xml:

Code:
<advancedsettings>
  <videodatabase>
    <type>mysql</type>
    <host>192.168.178.30</host>
    <port>3306</port>
    <user>sql</user>
    <pass>pass</pass>
    <name>kodi-movies</name>
  </videodatabase>
  <musicdatabase>
    <type>mysql</type>
    <host>192.168.178.30</host>
    <port>3306</port>
    <user>sql</user>
    <pass>pass</pass>
  </musicdatabase>
  <videolibrary>
    <importwatchedstate>true</importwatchedstate>
    <importresumepoint>true</importresumepoint>
  </videolibrary>
<!--
  <pathsubstitution>
     <substitute>
        <from>special://profile/sources.xml</from>
        <to>smb://user:[email protected]/video/kodi/sources.xml</to>
      </substitute>
      <substitute>
        <from>special://profile/mediasources.xml</from>
        <to>smb://user:[email protected]/video/kodi/mediasources.xml</to>
      </substitute>
      <substitute>
        <from>special://profile/passwords.xml</from>
        <to>smb://user:[email protected]/video/kodi/passwords.xml</to>
      </substitute>
  </pathsubstitution>
-->
</advancedsettings>

When I start up with this code my Openelec boots, but after the KODI screen everything remains black. As soon as I comment out the newly added part (like it is now) Kodi immediately starts up.

Anyone an idea? Any other tips on what I might share between devices? I would love to be able Kodi on my second RPI and just copy over the advancedsettings.xml and everything would be the same, even addons and settings. Is this possible?
Reply
#2
For the second installation to be essentially the same, you could clone the first and just modify the bits you want different - I find this saves a lot of trouble, especially if you take the tips from an earlier thread and do the cloning actually from the RPi installation.
Derek
Reply

Logout Mark Read Team Forum Stats Members Help
MySQL installed, how to share more between devices?0