XBMC (The XboxMediaCenter Project) uses a very nice API for letting anyone create and/or maintaining XML and RegEx based scrapers, scrapers that scrape HTTP websites for metadata (sites such as IMDb, TheTVDB, TV.com, and many more), metadata for movies, TV-shows and music-videos. It would be great it MeD's Movie Manager could integreat that parser API so that is could use XBMC scraper XML files as is, cross compatible with both applications.
The API will only require that you integrate basic XML parser and RegEx parser into MeD's Movie Manager. Then you will have to convert XBMC's ScraperParser.cpp from C++ to JAVA code.
I understand that this could ne useful feature, but I don't think I'll implement this any time soon.
I really don't have much time, and the little time I have I've got to use on bug fixing, and small improvements.
Anyone are welcome to implement this themselves of course!
Bro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
XBMC (The XboxMediaCenter Project) uses a very nice API for letting anyone create and/or maintaining XML and RegEx based scrapers, scrapers that scrape HTTP websites for metadata (sites such as IMDb, TheTVDB, TV.com, and many more), metadata for movies, TV-shows and music-videos. It would be great it MeD's Movie Manager could integreat that parser API so that is could use XBMC scraper XML files as is, cross compatible with both applications.
The API will only require that you integrate basic XML parser and RegEx parser into MeD's Movie Manager. Then you will have to convert XBMC's ScraperParser.cpp from C++ to JAVA code.
http://sourceforge.net/projects/xbmc
The existing scapers can be found in the SVN under:
/trunk/XBMC/system/scrapers/
Find the C++ source code for XBMC parser here:
/trunk/XBMC/xbmc/utils/ScraperParser.cpp
If you do not have a SVN tool then download here:
http://xbmc.svn.sourceforge.net/viewvc/xbmc/trunk/XBMC/system/scrapers/video/
http://xbmc.svn.sourceforge.net/viewvc/xbmc/trunk/XBMC/xbmc/utils/ScraperParser.cpp
PS! Find XML parsers and RegEx parsers for JAVA here:
http://java.sun.com/javase/6/docs/api/java/util/regex/package-summary.html
http://www.brics.dk/automaton/
http://en.wikipedia.org/wiki/VTD-XML
More information on XBMC scraper:
http://xboxmediacenter.com/wiki/index.php?title=Category:Scraper
http://xboxmediacenter.com/wiki/index.php?title=Scraper.xml
http://xboxmediacenter.com/wiki/index.php?title=How_To_Write_Media_Info_Scrapers
http://xboxmediacenter.com/wiki/index.php?title=Scrap
http://xboxmediacenter.com/wiki/index.php?title=Import_-_Export_Video_Library
http://xboxmediacenter.com/wiki/index.php?title=Music_Videos
http://xboxmediacenter.com/wiki/index.php?title=TV_Shows
You can download the XML scraper examples here (IMDb.xml is the best one to use as a reference):
http://xbmc.svn.sourceforge.net/viewvc/xbmc/branches/linuxport/XBMC/system/scrapers/video/
More about the scraper function in XBMC can be found in the XBMC wiki:
http://xbmc.org/wiki/?title=Scraper
http://xbmc.org/wiki/?title=How_To_Write_Media_Info_Scrapers
http://xbmc.org/wiki/?title=Scrap
http://xbmc.org/wiki/?title=How_To_use_Scrapers
PS! A good overview of XBMC can be read in wikipedia:
http://en.wikipedia.org/wiki/XBMC
Hi
I understand that this could ne useful feature, but I don't think I'll implement this any time soon.
I really don't have much time, and the little time I have I've got to use on bug fixing, and small improvements.
Anyone are welcome to implement this themselves of course!
Bro