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+
Overhaul IMDb+ rating system
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: 1271075" data-attributes="member: 18896"><p>Anything is possible, and I plan to look into this when I undertake the massive rewrite effort.</p><p></p><p>Until then all I can work on are small baby-step adjustments.</p><p></p><p>The main problem is that RT killed my API key as I lacked activity for a while when I retired my HTPC with a 3TB drive failure. By the time I resolved that they had expired my key and now made it super difficult to obtain a new one. That means I cannot do any debugging on the IMDb+ ratings with RT which must be broken by now.</p><p></p><p>Is your API key still working?</p><p></p><p>Otherwise it is down to just IMDb and their MetaCritics score, but the existing IMDb+ options should allow you to use either by itself, or merge them via average. Are you saying that is broken as well? What I'm working on whenever I have a moment is a fix for the 'actors' as I wanted to start to import 10 names into Moving-Pictures now after some skin changes, and realized that new RegExp code looks at JSON values that max out around 3 or 4 names. So, have to adjust that to be flexible enough to also look at HTML entries so I can get many more.</p><p></p><p>Got the RegExp finished last night:</p><p></p><p>[code]Cast\sOverview[^<]+</td></tr>\s*(?:<tr[^>].+?>\s*(?<actor>[^<]+?)\s*</a>\s*</td>\s*<[^"]+"ellipsis"[^>]*>.+?</tr>\s*){3,10}[/code]</p><p></p><p>For the new actors_block, but I have to merge it properly where the JSON would act as a backup in case the HTML fails, without duplicating entries or causing other issues. That requires a bit more scripting that I might not have time for this weekend.</p></blockquote><p></p>
[QUOTE="RoChess, post: 1271075, member: 18896"] Anything is possible, and I plan to look into this when I undertake the massive rewrite effort. Until then all I can work on are small baby-step adjustments. The main problem is that RT killed my API key as I lacked activity for a while when I retired my HTPC with a 3TB drive failure. By the time I resolved that they had expired my key and now made it super difficult to obtain a new one. That means I cannot do any debugging on the IMDb+ ratings with RT which must be broken by now. Is your API key still working? Otherwise it is down to just IMDb and their MetaCritics score, but the existing IMDb+ options should allow you to use either by itself, or merge them via average. Are you saying that is broken as well? What I'm working on whenever I have a moment is a fix for the 'actors' as I wanted to start to import 10 names into Moving-Pictures now after some skin changes, and realized that new RegExp code looks at JSON values that max out around 3 or 4 names. So, have to adjust that to be flexible enough to also look at HTML entries so I can get many more. Got the RegExp finished last night: [code]Cast\sOverview[^<]+</td></tr>\s*(?:<tr[^>].+?>\s*(?<actor>[^<]+?)\s*</a>\s*</td>\s*<[^"]+"ellipsis"[^>]*>.+?</tr>\s*){3,10}[/code] For the new actors_block, but I have to merge it properly where the JSON would act as a backup in case the HTML fails, without duplicating entries or causing other issues. That requires a bit more scripting that I might not have time for this weekend. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
IMDb+
Overhaul IMDb+ rating system
Contact us
RSS
Top
Bottom