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="dukus" data-source="post: 167490" data-attributes="member: 18021"><p>In latest SVN i add support for scripting using CS-Script from <a href="http://www.members.optusnet.com.au/~olegshilo/index.html" target="_blank">http://www.members.optusnet.com.au/~olegshilo/index.html</a></p><p>in this may find some example of scripts, but basically every script are a standalone class.</p><p></p><p>Only one script included, it is for imdb.com grabbing, the code is same like used in mediaportal for grabbing.</p><p></p><p>For making a new grabber need to be implement the next class:</p><p>[CODE] public interface IIMDBScriptGrabber</p><p> {</p><p> // get the list on find films specified by the title</p><p> void FindFilm(string title, int limit, ArrayList elements);</p><p> // get movie detail from a url</p><p> bool GetDetails(IMDB.IMDBUrl url, ref IMDBMovie movieDetails);</p><p> // name of script</p><p> string GetName();</p><p> // language of grabbed site </p><p> string GetLanguage();</p><p> }</p><p>[/CODE]</p><p></p><p>then copy the new script in scripts\imdb\ directory with csscript extension</p><p>in configuration will appear in available databases with file name with you save it</p><p></p><p></p><p></p><p></p><p></p><p><strong>Version history:</strong></p><ul> <li data-xf-list-type="ul"><span style="color: SeaGreen"><strong>2009-01-06</strong> posted by <strong>Pirppuli</strong> <a href="https://forum.team-mediaportal.com/355902-post127.html" target="_blank">here</a></span></li> <li data-xf-list-type="ul"><strong>2009-01-30</strong> posted by <strong>Pirppuli</strong> <a href="https://forum.team-mediaportal.com/329400-post124.html" target="_blank">here</a></li> <li data-xf-list-type="ul">There may be older ones, which are not listed here.</li> </ul><p></p><p><span style="color: SeaGreen">The green highlighted file is available via Update in MediaPortal Configuration.</span></p></blockquote><p></p>
[QUOTE="dukus, post: 167490, member: 18021"] In latest SVN i add support for scripting using CS-Script from [URL="http://www.members.optusnet.com.au/~olegshilo/index.html"]http://www.members.optusnet.com.au/~olegshilo/index.html[/URL] in this may find some example of scripts, but basically every script are a standalone class. Only one script included, it is for imdb.com grabbing, the code is same like used in mediaportal for grabbing. For making a new grabber need to be implement the next class: [CODE] public interface IIMDBScriptGrabber { // get the list on find films specified by the title void FindFilm(string title, int limit, ArrayList elements); // get movie detail from a url bool GetDetails(IMDB.IMDBUrl url, ref IMDBMovie movieDetails); // name of script string GetName(); // language of grabbed site string GetLanguage(); } [/CODE] then copy the new script in scripts\imdb\ directory with csscript extension in configuration will appear in available databases with file name with you save it [B]Version history:[/B] [LIST] [*][COLOR="SeaGreen"][B]2009-01-06[/B] posted by [B]Pirppuli[/B] [URL="https://forum.team-mediaportal.com/355902-post127.html"]here[/URL][/COLOR] [*][B]2009-01-30[/B] posted by [B]Pirppuli[/B] [URL="https://forum.team-mediaportal.com/329400-post124.html"]here[/URL] [*]There may be older ones, which are not listed here. [/LIST] [COLOR="SeaGreen"]The green highlighted file is available via Update in MediaPortal Configuration.[/COLOR] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: Movie Info Grabbers
IMDB.com (default info grabber)
Contact us
RSS
Top
Bottom