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+
IMDb+ Plugin 2.0.0.281 with IMDb+ Scraper v4.9.41
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: 821782" data-attributes="member: 18896"><p><strong>Re: IMDb+ Scraper - Movie Scraping on Steroids v4.1.2</strong></p><p></p><p>IMDb+ scraper-script v4.1.2 is released.</p><p></p><p>It fixes a problem introduced by the new CA/AU/NZ rating support from v4.1.1. This is because the new option 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 (thanks to ibmonkey) 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 this now turned out to not work properly (pretty sure it did on mine, but perhaps I had already manually added the config option to my options XML file and therefore never saw the 'bug').</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 enjoy 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: 821782, member: 18896"] [b]Re: IMDb+ Scraper - Movie Scraping on Steroids v4.1.2[/b] IMDb+ scraper-script v4.1.2 is released. It fixes a problem introduced by the new CA/AU/NZ rating support from v4.1.1. This is because the new option 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 (thanks to ibmonkey) 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 this now turned out to not work properly (pretty sure it did on mine, but perhaps I had already manually added the config option to my options XML file and therefore never saw the 'bug'). 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 enjoy v4.1.2 :cool: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
IMDb+
IMDb+ Plugin 2.0.0.281 with IMDb+ Scraper v4.9.41
Contact us
RSS
Top
Bottom