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
Development
Submit: Movie Info Grabbers
Fix to "IMDB with AKA grabber"
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="Deda" data-source="post: 602871" data-attributes="member: 89768"><p><strong>re: Fix to "IMDB with AKA grabber"</strong></p><p></p><p>OK, I narrow down some bugs and now it's little bit more accurate (previous script took all matches regardless of skipping TV, TV Series or Video Games - that RegEx thing killings me which is in this script critical for findings) (and all 6 harries matches works without glitch <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> ).</p><p></p><p>I tested on my 110 movie test movie base, 8 of them was not matched (more same titles in AKAs), 3 was wrongly matched (movie name was not accurate IE Cartoon my file is Tarzan 2 on IMDB is Tarzan II so MP took Tarzan as match).</p><p></p><p>I think this is final concerning parsing through HTML text, now only is a question what to cut off from results:</p><p> imdbOptions.Contains("(TV)") |</p><p> imdbOptions.Contains("(TV series)") |</p><p> imdbOptions.Contains("(VG)") |</p><p> imdbOptions.Contains("(promotional title)") |</p><p> imdbOptions.Contains("(working title)") |</p><p> imdbOptions.Contains("(poster title)") |</p><p> imdbOptions.Contains("(promotional abbreviation)") |</p><p> imdbOptions.Contains("(short title)") |</p><p> imdbOptions.Contains("(video title)") |</p><p> imdbOptions.Contains("(original script title)") |</p><p> imdbOptions.Contains("(video box title)") |</p><p> imdbOptions.Contains("(new title)") |</p><p> imdbOptions.Contains("(DVD box title)")</p><p></p><p>In my opinion all or almost all can be removed from Original Title, but AKA thing is little bit tricky because many of AKAs contains those extensions and someone whose interested in AKAs will be angry <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />.</p><p></p><p>I can create Script without AKA for more accuracy but that script must be selected from the script list if you want to use it.</p><p></p><p>Now waiting for test results from you <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> to finish this because it's killing me (C# is not my teritorry <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> )</p><p></p><p>After I will clean the code and comment relevant stuff.</p><p></p><p>//8.4.2010 Update</p><p>Fixed minor glitches in Plot, added comments, cleaned up from trash code .</p></blockquote><p></p>
[QUOTE="Deda, post: 602871, member: 89768"] [b]re: Fix to "IMDB with AKA grabber"[/b] OK, I narrow down some bugs and now it's little bit more accurate (previous script took all matches regardless of skipping TV, TV Series or Video Games - that RegEx thing killings me which is in this script critical for findings) (and all 6 harries matches works without glitch :) ). I tested on my 110 movie test movie base, 8 of them was not matched (more same titles in AKAs), 3 was wrongly matched (movie name was not accurate IE Cartoon my file is Tarzan 2 on IMDB is Tarzan II so MP took Tarzan as match). I think this is final concerning parsing through HTML text, now only is a question what to cut off from results: imdbOptions.Contains("(TV)") | imdbOptions.Contains("(TV series)") | imdbOptions.Contains("(VG)") | imdbOptions.Contains("(promotional title)") | imdbOptions.Contains("(working title)") | imdbOptions.Contains("(poster title)") | imdbOptions.Contains("(promotional abbreviation)") | imdbOptions.Contains("(short title)") | imdbOptions.Contains("(video title)") | imdbOptions.Contains("(original script title)") | imdbOptions.Contains("(video box title)") | imdbOptions.Contains("(new title)") | imdbOptions.Contains("(DVD box title)") In my opinion all or almost all can be removed from Original Title, but AKA thing is little bit tricky because many of AKAs contains those extensions and someone whose interested in AKAs will be angry :). I can create Script without AKA for more accuracy but that script must be selected from the script list if you want to use it. Now waiting for test results from you :) to finish this because it's killing me (C# is not my teritorry :) ) After I will clean the code and comment relevant stuff. //8.4.2010 Update Fixed minor glitches in Plot, added comments, cleaned up from trash code . [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: Movie Info Grabbers
Fix to "IMDB with AKA grabber"
Contact us
RSS
Top
Bottom