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
IMDB with AKA script
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: 689406" data-attributes="member: 89768"><p>Just wait a little, I'm doing little changes in script so it can be compatible with all versions of MP, also rating will be USA as default if user country rating isn't listed (little team discussion). User review is separated from plot in version 1.2.0 Beta (new button in Movie Info screen).</p><p></p><p>For q 1 and 2 it's not easy to answer you really need to do it by yourself (need some regex knowledge and little C# coding skill).</p><p></p><p>For q 5 there short summary is already inside script and the database:</p><p></p><p>[code]</p><p>// Plot short</p><p>regexPattern =</p><p> @"<h5>Plot:</h5>[^>]+>\s+?(?<moviePlotShort>.+?)(?: \|)?\s+?<a|Users:.*?<p>(?<moviePlotShort>.+?)</p>";</p><p>string shortPlot = Regex.Match(strBody, regexPattern, RegexOptions.Singleline).Groups["moviePlotShort"].Value;</p><p>movieDetails.PlotOutline = HttpUtility.HtmlDecode(Utils.stripHTMLtags(shortPlot));</p><p>[/code]</p></blockquote><p></p>
[QUOTE="Deda, post: 689406, member: 89768"] Just wait a little, I'm doing little changes in script so it can be compatible with all versions of MP, also rating will be USA as default if user country rating isn't listed (little team discussion). User review is separated from plot in version 1.2.0 Beta (new button in Movie Info screen). For q 1 and 2 it's not easy to answer you really need to do it by yourself (need some regex knowledge and little C# coding skill). For q 5 there short summary is already inside script and the database: [code] // Plot short regexPattern = @"<h5>Plot:</h5>[^>]+>\s+?(?<moviePlotShort>.+?)(?: \|)?\s+?<a|Users:.*?<p>(?<moviePlotShort>.+?)</p>"; string shortPlot = Regex.Match(strBody, regexPattern, RegexOptions.Singleline).Groups["moviePlotShort"].Value; movieDetails.PlotOutline = HttpUtility.HtmlDecode(Utils.stripHTMLtags(shortPlot)); [/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: Movie Info Grabbers
IMDB with AKA script
Contact us
RSS
Top
Bottom