In latest SVN i add support for scripting using CS-Script from http://www.members.optusnet.com.au/~olegshilo/index.html
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:
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
Version history:
The green highlighted file is available via Update in MediaPortal Configuration.
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();
}
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
Version history:
- 2009-01-06 posted by Pirppuli here
- 2009-01-30 posted by Pirppuli here
- There may be older ones, which are not listed here.
The green highlighted file is available via Update in MediaPortal Configuration.