Kodi Community Forum
AppleTV 2 not using advancedsettings.xml - 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: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137)
+---- Thread: AppleTV 2 not using advancedsettings.xml (/showthread.php?tid=127835)



AppleTV 2 not using advancedsettings.xml - T800 - 2012-04-05

Does anything need changing for the advancedsettings.xml for the AppleTV 2?

I have just set up a MySQL database on my main HTPC and now trying to get it to work on my ATV2 running Eden.

On start up I get this in the log:
Code:
22:07:51 T:119607296  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
22:07:51 T:119607296  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
[b]22:07:51 T:119607296  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
22:07:51 T:119607296   ERROR: Error loading special://profile/advancedsettings.xml, Line 0
                                            Failed to open file[/b]
22:07:51 T:119607296  NOTICE: Default DVD Player: dvdplayer
22:07:51 T:119607296  NOTICE: Default Video Player: dvdplayer
22:07:51 T:119607296  NOTICE: Default Audio Player: paplayer

I'm using the same xml on my main HTPC running Windows Ultimate 7 64bit - (Eden RC2) but without the Thumbnail path substitution.
I'm also using it on my OSX Intel 32bit and 64bit builds running Eden and on Crystalbuntu without any problems.

This is the advancedsettings.xml:
Code:
<advancedsettings>
  
    <sorttokens>
    
        <token>the</token>
    
        <token>a</token>
    
        <token>an</token>
  
    </sorttokens>
    <musiclibrary>
        <albumssortbyartistthenyear>true</albumssortbyartistthenyear>
    </musiclibrary>
    <videodatabase>
            <type>mysql</type>
            <host>192.168.0.9</host>
            <port>3306</port>
            <user>xbmc</user>
            <pass>xbmc</pass>
        </videodatabase>

        <musicdatabase>
            <type>mysql</type>
            <host>192.168.0.9</host>
            <port>3306</port>
            <user>xbmc</user>
            <pass>xbmc</pass>
        </musicdatabase>
    <pathsubstitution>
          <substitute>
                <from>special://masterprofile/playlists/</from>
                <to>smb://192.168.0.9/userdata/playlists/</to>
          </substitute>
        <substitute>
                <from>special://masterprofile/addon_data/</from>
                <to>smb://192.168.0.9/userdata/addon_data/</to>
          </substitute>
        <substitute>
                <from>special://masterprofile/keymaps/</from>
                <to>smb://192.168.0.9/userdata/keymaps/</to>
          </substitute>
          <substitute>
                <from>special://masterprofile/sources.xml</from>
                <to>smb://192.168.0.9/userdata/sources.xml</to>
          </substitute>
          <substitute>
                <from>special://masterprofile/favourites.xml</from>
                <to>smb://192.168.0.9/userdata/favourites.xml</to>
          </substitute>
          <substitute>
                <from>special://masterprofile/Thumbnails</from>
                <to>smb://192.168.0.9/userdata/Thumbnails</to>
          </substitute>
    </pathsubstitution>



</advancedsettings>

Even though it works on all them other machines could it be the spacing between lines?



RE: AppleTV 2 not using advancedsettings.xml - Memphiz - 2012-04-05

Could be the windows line endings. Or just the folder. Where did you put that file? Could also be permission issue.


RE: AppleTV 2 not using advancedsettings.xml - T800 - 2012-04-05

(2012-04-05, 13:20)Memphiz Wrote: Could be the windows line endings. Or just the folder. Where did you put that file? Could also be permission issue.

var/mobile/Library/Preferences/XBMC/userdata

Just dropped it in via Cyberduck on OSX.


RE: AppleTV 2 not using advancedsettings.xml - prae5 - 2012-04-05

I might be mistaken, but I think the path should be:

Code:
/private/var/mobile/Library/Preferences/XBMC/userdata/

You might want to double check file permissions too.


RE: AppleTV 2 not using advancedsettings.xml - T800 - 2012-04-05

(2012-04-05, 14:49)prae5 Wrote: I might be mistaken, but I think the path should be:

Code:
/private/var/mobile/Library/Preferences/XBMC/userdata/

You might want to double check file permissions too.

I just checked there and they seem to be the same place as the advancedsettings.xml is there.

I will look into permissions.


RE: AppleTV 2 not using advancedsettings.xml - T800 - 2012-04-05

Correcting file permissisions sorted it.
Thanks guys!


RE: AppleTV 2 not using advancedsettings.xml - seth.feinberg - 2012-04-17

(2012-04-05, 20:27)T800 Wrote: Correcting file permissisions sorted it.
Thanks guys!

I'm having a similar issue, may I ask @T800, where exactly you fixed the permissions? On the ATV2 or somewhere at the source?


RE: AppleTV 2 not using advancedsettings.xml - Ned Scott - 2012-04-17

(2012-04-17, 02:31)seth.feinberg Wrote:
(2012-04-05, 20:27)T800 Wrote: Correcting file permissisions sorted it.
Thanks guys!

I'm having a similar issue, may I ask @T800, where exactly you fixed the permissions? On the ATV2 or somewhere at the source?

ATV2. See iOS FAQ (wiki).