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
General Development (no feature request here!)
Movies - enhanced details + cover retrieval + auto matching
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="gamejester" data-source="post: 293017" data-attributes="member: 50634"><p>Knowing how the code works this can't have anything to do with a sepecfic csscript as they are out of the equation here, it is just doing a DB retrival and spitting out the info to the screen, so I assume this bug has always been there but it has just gone un-noticed, good spot. I will add it to the bug list, a step through should shed light on the problem.</p><p></p><p></p><p></p><p>Don't give up, if there is still a problem there I want to fix it. The dash issue was introdcued about 6 months ago but was fixed about 3 weeks ago. Lets check you have the correct csscript file.</p><p></p><p>Find this file moviexml.csscript</p><p>you can find it here</p><p>"%ProgramFiles%\Team MediaPortal\MediaPortal\scripts\imdb\"</p><p></p><p>open it in notepad.</p><p>If it is the correct version you will have a line the same as this at the top</p><p></p><p><em>void MediaPortal.Video.Database.IIMDBScriptGrabber.FindFilm(string strSearch, <strong>string strYear</strong>, int iLimit, ArrayList elements)</em></p><p></p><p>The year in bold, if that is missing you have the old version.</p><p></p><p>Also towards the bottom of the script the old version you had this section to get the cover:</p><p></p><p><em> XmlNodeList xmldatat = Generic("http://www.movie-xml.com/interfaces/getmoviecovers.php?id=" + movieXMLID);</em></p><p><em></em></p><p><em> foreach (XmlNode itemNode in xmldatat)</em></p><p><em> {</em></p><p><em></em></p><p><em> foreach (XmlNode propertyNode in itemNode.ChildNodes)</em></p><p><em> {</em></p><p><em> if (propertyNode.Name.ToString() == "filename")</em></p><p><em> movieDetails.ThumbURL = "http://www.movie-xml.com/banners/" + propertyNode.InnerText;</em></p><p><em> }</em></p><p><em> }</em></p><p></p><p>This should now NOT be in the script to allow the user to specify which search engines they want to use.</p></blockquote><p></p>
[QUOTE="gamejester, post: 293017, member: 50634"] Knowing how the code works this can't have anything to do with a sepecfic csscript as they are out of the equation here, it is just doing a DB retrival and spitting out the info to the screen, so I assume this bug has always been there but it has just gone un-noticed, good spot. I will add it to the bug list, a step through should shed light on the problem. Don't give up, if there is still a problem there I want to fix it. The dash issue was introdcued about 6 months ago but was fixed about 3 weeks ago. Lets check you have the correct csscript file. Find this file moviexml.csscript you can find it here "%ProgramFiles%\Team MediaPortal\MediaPortal\scripts\imdb\" open it in notepad. If it is the correct version you will have a line the same as this at the top [I]void MediaPortal.Video.Database.IIMDBScriptGrabber.FindFilm(string strSearch, [B]string strYear[/B], int iLimit, ArrayList elements)[/I] The year in bold, if that is missing you have the old version. Also towards the bottom of the script the old version you had this section to get the cover: [I] XmlNodeList xmldatat = Generic("http://www.movie-xml.com/interfaces/getmoviecovers.php?id=" + movieXMLID); foreach (XmlNode itemNode in xmldatat) { foreach (XmlNode propertyNode in itemNode.ChildNodes) { if (propertyNode.Name.ToString() == "filename") movieDetails.ThumbURL = "http://www.movie-xml.com/banners/" + propertyNode.InnerText; } }[/I] This should now NOT be in the script to allow the user to specify which search engines they want to use. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Movies - enhanced details + cover retrieval + auto matching
Contact us
RSS
Top
Bottom