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.com (default info 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="Pirppuli" data-source="post: 355902" data-attributes="member: 79793"><p>I made some changes to the script:</p><ol> <li data-xf-list-type="ol">Added partial match handling. As a side effect you'll get more matches even when there are exact matches.</li> <li data-xf-list-type="ol">Added HTML entity decoding in various places.</li> <li data-xf-list-type="ol">Removed direct-to-video (V) releases from exclude list.</li> <li data-xf-list-type="ol">Added removal of commas from votes, as they are interpreted as decimal points in some countries.</li> <li data-xf-list-type="ol">Added removal of pipe character from the end of taglines and plot outlines.</li> </ol><p></p><p>MP only appears to pass alphanumeric characters to the grabber in the title string (without the year, even if supplied in the file name). E.g. "The In-Laws (2003)" is searched as "the in laws", which only produces partial matches. Unless the way MP itself outputs the search strings is changed, the script cannot do anything about this. Displaying partial matches is a workaround.</p><p></p><p>The changes I made should address problems 1, 2, 4, 5, and 6 in your list. You are welcome to try the attached grabber at your own risk <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />. As far as I could see, the only problem with the pipe character (|) was that it wasn't stripped from taglines or plot outlines.</p><p></p><p>Please note that I'm not a professional programmer nor am I the developer of this script. The changes I made may have some unintentional side effects that I have not foreseen.</p></blockquote><p></p>
[QUOTE="Pirppuli, post: 355902, member: 79793"] I made some changes to the script: [LIST=1] [*]Added partial match handling. As a side effect you'll get more matches even when there are exact matches. [*]Added HTML entity decoding in various places. [*]Removed direct-to-video (V) releases from exclude list. [*]Added removal of commas from votes, as they are interpreted as decimal points in some countries. [*]Added removal of pipe character from the end of taglines and plot outlines. [/LIST] MP only appears to pass alphanumeric characters to the grabber in the title string (without the year, even if supplied in the file name). E.g. "The In-Laws (2003)" is searched as "the in laws", which only produces partial matches. Unless the way MP itself outputs the search strings is changed, the script cannot do anything about this. Displaying partial matches is a workaround. The changes I made should address problems 1, 2, 4, 5, and 6 in your list. You are welcome to try the attached grabber at your own risk :). As far as I could see, the only problem with the pipe character (|) was that it wasn't stripped from taglines or plot outlines. Please note that I'm not a professional programmer nor am I the developer of this script. The changes I made may have some unintentional side effects that I have not foreseen. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: Movie Info Grabbers
IMDB.com (default info grabber)
Contact us
RSS
Top
Bottom