*UPDATED* DCInfo automatically get Movieinfo Ger & Eng

11 replies [Last post]
Itze
Itze's picture
User offline. Last seen 3 years 41 weeks ago. Offline
Joined: 04/20/2008
Posts: 9
Groups: None

updated, go here: CLICK ME

cbei1261
cbei1261's picture
User offline. Last seen 46 weeks 5 days ago. Offline
Joined: 06/28/2007
Posts: 88
Another IMDB Scraper Suggestion

Could the following be used as an example of how to integrate IDMB scraping into DivX Connected?

http://simile.mit.edu/wiki/Crowbar

cbei1261
cbei1261's picture
User offline. Last seen 46 weeks 5 days ago. Offline
Joined: 06/28/2007
Posts: 88
XBMC HTTP IMDB XML Scraper Suggestion

I would like to suggest that DivX Connected should start using XBMC's XML scrapers for HTTP media information scraping. XBMC has a very nice generic API for letting anyone create and/or maintain XML and regular expression (RegEx) based parsing scrapers without prior programming knowledge, scrapers that scrape HTTP websites for metadata (sites such as IMDb.com, TheTVDB.com, TV.com, and many more), metadata for movies, TV-series and music-videos and parse that metadata before entering it into the database library. I think that it would be great if DivX Connected could integrate that same parser API so that it could use XBMC scraper XML files as is, and vice versa, so cross-compatible with both applications. This scraper API should in theory only require that you first integrate basic XML parser and RegEx parser into DivX Connected, which I assume already exist and if so only a hook should be needed.

You can download the XBMC source code from the SVN, instructions can be found here:
http://sourceforge.net/projects/xbmc

The existing scapers can be found in the SVN under "/trunk/XBMC/system/scrapers/"
(Please note that IMDb.xml is the best scraper of these to use as a reference).
Find the C++ source code for XBMC parser in "/trunk/XBMC/xbmc/utils/ScraperParser.cpp"

If you do not have a SVN tool then download via the web-interface 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

More about the scraper function can be found in the XBMC wiki:
http://xbmc.org/wiki/?title=Category:Scraper
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
http://xbmc.org/wiki/?title=Import_-_Export_Video_Library
http://xbmc.org/wiki/?title=TV_Shows
http://xbmc.org/wiki/?title=Music_Videos

Itze
Itze's picture
User offline. Last seen 3 years 41 weeks ago. Offline
Joined: 04/20/2008
Posts: 9
Groups: None
updated, go here:

updated, go here: CLICK ME

slightlyoffbeat
slightlyoffbeat's picture
User offline. Last seen 35 weeks 6 days ago. Offline
pretty sweet. I gave it a

pretty sweet. I gave it a shot and worked great. It only seemed to pick up movies with a .avi extension though. It didn't seem to find the files with a .divx extension.

[dan]

villait
villait's picture
User offline. Last seen 1 year 40 weeks ago. Offline
Joined: 04/22/2008
Posts: 11
same here!

Yes thats the issue i have, Avi doesn't always get seen though so still seems to be a problem, MP4 and Dvix are nowhere to be seen!!

Would be fantastic if it would see all files

villait
villait's picture
User offline. Last seen 1 year 40 weeks ago. Offline
Joined: 04/22/2008
Posts: 11
Excellent ------But i seem to be having a problem!!

This is just what i've been looking for!!

Problem i'm having is when it scans a folder with lots of movies in it only selects one or two? they are all the same format??

Any ideas?

Thanks

Itze
Itze's picture
User offline. Last seen 3 years 41 weeks ago. Offline
Joined: 04/20/2008
Posts: 9
Groups: None
i would enter the contest

i would enter the contest but:

a) it's no plugin... standalone
b) i use 3rd party scripts for parsing the websites which i can't take any credit for(i modded them for my needs)

i'll also try to update it with new features / fixes

as for adding other language movie websites, i CAN add them if the website allows to get the info via xml

the script running on my webserver for parsing imdb for example outputs the info like this:

Quote:

<?xml version="1.0" encoding="UTF-8"?>

Indiana Jones and the Last Crusade
1989
imagelink here lalala.jpg

Action

Description HERE blah

so if you can write a parser for the website(or link me to one) that outputs the basic info i can add it to the programm...(unfortunately i suck at php or i'd write it myself) :)

dsalmonsen
dsalmonsen's picture
User offline. Last seen 1 year 2 weeks ago. Offline
Joined: 05/15/2007
Posts: 779
Someone should at least get a Connected T shirt for this.

Someone should at least get a Connected T shirt for this. :)

Good work

Nice! Why don't you enter the plug-ins contest with this?

http://labs.divx.com/node/6185

fkm
fkm's picture
User offline. Last seen 41 weeks 6 days ago. Offline
Joined: 12/22/2007
Posts: 225
Great

Itze, many many thanks for this.

This has been in big demand for a while now and you're the first to crack it. Do you plan to develop it some more at all?

Two suggestions:

1. Sometimes the software/IMDB 'recognises' the filename and makes X proposals. However, the correct one is not always in the suggested list. Would be nice to be able to manually type in a name to do another search.

2. It would also be nice to see what metadata/JPG IMDB is proposing and perhaps provide the user the option to modify it before it is written to the text/JPG file.

Nonetheless, many thanks for this superb utility.

gorneman
gorneman's picture
User offline. Last seen 31 weeks 18 hours ago. Offline
Joined: 12/11/2007
Posts: 25
What about a french version

Great Job,
such a tool should be part of nucleus because it brings added value to the interface.
By the way have you thought to a french version, using http://www.allocine.fr as movie database for example. I would be glad to cooperate in order to set this up.

Regards and thanks again.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.