2012-03-14, 19:55
Hi,
I've setup MySQL database on my mac mini, and the apple tv2 in the bedroom to share the library. The apple tv can see the library, and shares the watched flags etc, however any time I click to play a file it says this file is no longer available, do you wish to remove from library
Obviously the files on the mini are fine, so I'm thinking it's the path substitution in my advancedsettings.xml. Here's my file, can anyone assist?
Thanks
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.1.112</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.1.112</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</musicdatabase>
<pathsubstitution>
<substitute>
<from>/MACINTOSH HD/MEDIA FILES/MOVIES/</from>
<to>AFP://192.168.1.112:548/MEDIA FILES/MOVIES/</to>
</substitute>
<substitute>
<from>/MACINTOSH HD/MEDIA FILES/TV/</from>
<to>AFP://192.168.1.112:548/MEDIA FILES/TV/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
I've setup MySQL database on my mac mini, and the apple tv2 in the bedroom to share the library. The apple tv can see the library, and shares the watched flags etc, however any time I click to play a file it says this file is no longer available, do you wish to remove from library
Obviously the files on the mini are fine, so I'm thinking it's the path substitution in my advancedsettings.xml. Here's my file, can anyone assist?
Thanks
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.1.112</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.1.112</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</musicdatabase>
<pathsubstitution>
<substitute>
<from>/MACINTOSH HD/MEDIA FILES/MOVIES/</from>
<to>AFP://192.168.1.112:548/MEDIA FILES/MOVIES/</to>
</substitute>
<substitute>
<from>/MACINTOSH HD/MEDIA FILES/TV/</from>
<to>AFP://192.168.1.112:548/MEDIA FILES/TV/</to>
</substitute>
</pathsubstitution>
</advancedsettings>