Kodi Community Forum
Using moviename.nfo and scraping from IMDB for additional info - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Using moviename.nfo and scraping from IMDB for additional info (/showthread.php?tid=65062)



Using moviename.nfo and scraping from IMDB for additional info - kelque - 2009-12-26

I'm trying to use moviename.nfo files to group sets of movies, and on that files I only have something like this:

[HTML]<movie>
<set>Star Trek</set>
<sorttitle>Star Trek 2009</sorttitle>
</movie>[/HTML]

So the set does get picked up, but since I don't have a <title> section (or anything else for that matter), I was wondering whether that info could be scraped from IMDB.

I mean XBMC does the scraping, not that I do it and put it in the nfo. Essentially, that XBMC fills in the missing information from one of the online scrapers.

Here is some info on that: http://wiki.xbmc.org/?title=Import_-_Export_Library#Video_nfo_files_containing_a_mix_of_XML_and_URL

But I'd still have to get the URL myself, and I was hoping that wasn't necessary. Also, the example only mentions IMDB, but is it usable with the other scrapers, like TheMovieDB?

Thanks!


- jmarshall - 2009-12-26

Yes, you can put in any URL supported by any of the scrapers.


- kelque - 2009-12-27

Alright, I created a script, and it wasn't hard at all (Ruby FTW!).

I *almost* have a fully working library... now on to the music.

Thanks!