home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
IMDb+
UK-English Title Problem
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RoChess" data-source="post: 821780" data-attributes="member: 18896"><p>No idea how that slipped through, but thanks to your log file, I found the problem.</p><p></p><p>The new CA/AU/NZ rating support is only added at scraper-script level, and not yet added to the IMDb+ plugin. This means there is no configuration entry for it in the options XML file. So inside the scraper-script I first configure the default value, which for this setting is "01" and then overwrite this via the options XML file.</p><p></p><p>The problem I now find out is that when a config option is missing, it gets a value of 'false'. In other languages this equals "00", so in my code when looking for "01" I actually look for <=1 meaning I also accept 0 or any other value. Well looking at your log file I now find out that does not work on your system (and it does on mine, at least I'm sure it did during testing).</p><p></p><p>So I've added extra logic that verifies if the options XML file actually contains the value, which will preserve the default "01" value set before.</p><p></p><p>Long story short, please test v4.1.2 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite6" alt=":cool:" title="Cool :cool:" loading="lazy" data-shortname=":cool:" /></p></blockquote><p></p>
[QUOTE="RoChess, post: 821780, member: 18896"] No idea how that slipped through, but thanks to your log file, I found the problem. The new CA/AU/NZ rating support is only added at scraper-script level, and not yet added to the IMDb+ plugin. This means there is no configuration entry for it in the options XML file. So inside the scraper-script I first configure the default value, which for this setting is "01" and then overwrite this via the options XML file. The problem I now find out is that when a config option is missing, it gets a value of 'false'. In other languages this equals "00", so in my code when looking for "01" I actually look for <=1 meaning I also accept 0 or any other value. Well looking at your log file I now find out that does not work on your system (and it does on mine, at least I'm sure it did during testing). So I've added extra logic that verifies if the options XML file actually contains the value, which will preserve the default "01" value set before. Long story short, please test v4.1.2 :cool: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
IMDb+
UK-English Title Problem
Contact us
RSS
Top
Bottom