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: 601911" data-attributes="member: 89768"><p><strong>re: Fix to "IMDB with AKA grabber"</strong></p><p></p><p>Yes I see, problem in the script is :</p><p></p><p>bool bSkipThisAkaEntry = imdbakaOptions.Contains("(TV)") |</p><p> imdbakaOptions.Contains("(TV series)") |</p><p> imdbakaOptions.Contains("(VG)") |</p><p> imdbakaOptions.Contains("(poster title)") |</p><p> imdbakaOptions.Contains("(working title)") |</p><p> imdbakaOptions.Contains("(promotional abbreviation)") |</p><p> imdbakaOptions.Contains("(video title)") |</p><p> imdbakaOptions.Contains("(original script title)") |</p><p> imdbakaOptions.Contains("(video box title)") |</p><p> imdbakaOptions.Contains("(new title)") |</p><p> imdbakaOptions.Contains("(DVD box title)");</p><p> if (bSkipThisAkaEntry == false)</p><p></p><p>In Harry potter case you can find in Popular list (total 6 entries) 2 of them contains working title, dvd title and maybe some more from the list above</p><p></p><p>I think :</p><p>Regex.Match(strBodyPopular, "<tr>[\s]*<td[^>]*>.*?</td>[\s]*<td[^>]*>.*?</td>[\s]*<td[^>]*>.*?<a\shref=""(?<tt>/title/tt[0-9]*/)[^>]*>(?<title>.*?)</a>(?<options>.*?)[\s]*(?(?=<br>)(?<aka><br>.*?))</td>[\s]*</tr>", RegexOptions.IgnoreCase Or RegexOptions.IgnorePatternWhitespace Or RegexOptions.Singleline Or RegexOptions.Compiled)</p><p></p><p>must be reviewed so the return string contain only English movie name without AKA, 'cause those AKA contains all that rubbish</p><p></p><p>I'm little bit tiny in RegEx coding but I have some time maybe I will found something <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Deda, post: 601911, member: 89768"] [b]re: Fix to "IMDB with AKA grabber"[/b] Yes I see, problem in the script is : bool bSkipThisAkaEntry = imdbakaOptions.Contains("(TV)") | imdbakaOptions.Contains("(TV series)") | imdbakaOptions.Contains("(VG)") | imdbakaOptions.Contains("(poster title)") | imdbakaOptions.Contains("(working title)") | imdbakaOptions.Contains("(promotional abbreviation)") | imdbakaOptions.Contains("(video title)") | imdbakaOptions.Contains("(original script title)") | imdbakaOptions.Contains("(video box title)") | imdbakaOptions.Contains("(new title)") | imdbakaOptions.Contains("(DVD box title)"); if (bSkipThisAkaEntry == false) In Harry potter case you can find in Popular list (total 6 entries) 2 of them contains working title, dvd title and maybe some more from the list above I think : Regex.Match(strBodyPopular, "<tr>[\s]*<td[^>]*>.*?</td>[\s]*<td[^>]*>.*?</td>[\s]*<td[^>]*>.*?<a\shref=""(?<tt>/title/tt[0-9]*/)[^>]*>(?<title>.*?)</a>(?<options>.*?)[\s]*(?(?=<br>)(?<aka><br>.*?))</td>[\s]*</tr>", RegexOptions.IgnoreCase Or RegexOptions.IgnorePatternWhitespace Or RegexOptions.Singleline Or RegexOptions.Compiled) must be reviewed so the return string contain only English movie name without AKA, 'cause those AKA contains all that rubbish I'm little bit tiny in RegEx coding but I have some time maybe I will found something :) [/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