Parsing settings on load

lispwarez

08-10-2011 23:52:03

found a bug where if you dont have any subnodes in one of the settings in TVRenameSettings.xml it reads over the next setting.
eg:

<FNPRegexs>
<Regex Enabled="true" RE="(^|[^a-z])s?(?&lt;s&gt;[0-9]+)[ex](?&lt;e&gt;[0-9]{2,})(e[0-9]{2,})*[^a-z]" UseFullPath="false" Notes="3x23 s3x23 3e23 s3e23 s04e01e02e03" />
<Regex Enabled="false" RE="(^|[^a-z])s?(?&lt;s&gt;[0-9]+)(?&lt;e&gt;[0-9]{2,})[^a-z]" UseFullPath="false" Notes="323 or s323 for season 3, episode 23. 2004 for season 20, episode 4." />
</FNPRegexs>
<RSSURLs />
<ShowStatusTVWColors>
<ShowStatusTVWColor IsMeta="false" IsShowLevel="true" ShowStatus="Continuing" Color="#008040" />
<ShowStatusTVWColor IsMeta="false" IsShowLevel="true" ShowStatus="Ended" Color="#FF0000" />
</ShowStatusTVWColors>

if <RSSURLs /> has no settings for it, it will skip right over <ShowStatusTVWColors>