2012-07-21, 18:32
(2012-07-21, 17:03)papampi Wrote:(2012-07-21, 15:52)m4x1m Wrote: Can you post your advancedsettings.xml content?
here is my advancedsettings.xml
Code:<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<advancedsettings>
<splash>false</splash>
<videoscanner>
<ignoreerrors>true</ignoreerrors> <!-- Set to true to silently ignore errors while scanning videos-->
</videoscanner>
<videodatabase>
<type>mysql</type>
<host>192.168.1.14</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>MyVideos</name>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.1.14</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>MyMusic</name>
</musicdatabase>
<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails</from>
<to>smb://user:pass@PAYAM-UBUNTU/XBMCThumbnails</to>
</substitute>
</pathsubstitution>
</advancedsettings>
From: http://wiki.xbmc.org/index.php?title=Use...ttings.xml
Code:
name
Not needed by default, and some users report issues when defining the this tag. When not used "MyVideos"+DB number will be used.
Could you try to remove, set None or add the DB number in the name tag in advancedsettings.xml?
Your changes in dbutils.py are not needed the script automatically reads the tag values in advancedsettings.xml!
dbutils.py is not mine and I no way to test the mysql db at this moment. If these steps don't work you must give me some time to install a version of mysql.
EDIT: Try to change last line in dbutils.py
from : return mysql.connector.Connect( host = host, port = port, database = name, user = user, password = pswd )
to: return mysql.connector.Connect( host = host, user = user, password = pswd, database = name, port = port )
just as the last attempt :-D