XBMC Community Forum
advancedsettings.xml does not seem to be read - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+--- Thread: advancedsettings.xml does not seem to be read (/showthread.php?tid=123193)



advancedsettings.xml does not seem to be read - LB06 - 2012-02-18 00:24

Recently I upgraded to the team-xbmc unstable build from 10.1. It works great, but it would seem that ~/.xbmc/userdata/advancedsettings.xml is no longer being read/parsed.

My advancedsettings.xml contains some stuff to ignore samples and some custom scraping. It worked before in Dharma, but exactly these things don't seem to work anymore in Eden. That's why I'm suspecting the advancedsettings.xml.

This is it:
Code:
cat ~/.xbmc/userdata/advancedsettings.xml
<advancedsettings>

        <video>
                <excludefromscan>
                        <regexp>trailer</regexp>
                        <regexp>sample</regexp>
                </excludefromscan>
        </video>

        <tvshowmatching>
                <regexp>[Ss](\d\d).?[Ee](\d\d+)</regexp> <!-- s01?e01* -->
                <regexp>(\d)x(\d{1,2})</regexp> <!-- 2x01 -->
                <!-- <regexp>[Ss]([0-9][0-9]).+[\\/].+[Ee]([0-9]+)[^\\/]*</regexp> S01*/*E01* -->
        </tvshowmatching>

        <measurerefreshrate>true</measurerefreshrate>

</advancedsettings>

Any help would be appreciated!


- Dilligaf - 2012-02-18 01:27

check the xbmc log, it will tell you if the file is being read.

Mike


- jhsrennie - 2012-02-18 11:33

The XML looks fine. As Dilligaf says, the log file will tell you if your advancedsettings.xml is being read. Taking my log file as an example, you should see something like:

Code:
12:34:00 T:2820  NOTICE: Loaded settings file from special://profile/advancedsettings.xml
12:34:00 T:2820  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <loglevel>1</loglevel>
                                              <gui>
                                                <algorithmdirtyregions>1</algorithmdirtyregions>
                                              </gui>
                                            </advancedsettings>

JR


- LB06 - 2012-02-18 21:09

Hmm I should've thought of that. My bad. The log shows the contents are loaded.

This means that there's something else wrong. Have there been changes with respect to regexes?


RE: advancedsettings.xml does not seem to be read - xdoktor - 2012-04-25 02:48

If the formating from the XBMC advancedsettings.xml guide is correct...try this :-)

http://wiki.xbmc.org/index.php?title=Userdata/advancedsettings.xml#.3Cvideo.3E

<video>
<excludefromlisting> <!-- Regular expressions that if evaluated to true won't be displayed in Files View -->
<regexp>[-\._ ](sample|trailer)[-\._ ]</regexp>
</excludefromlisting>
</video>