NFO grabber for you, very beta

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
coastal Offline
Senior Member
Posts: 108
Joined: Sep 2007
Reputation: 0
Post: #1
I've made a little tool today to help manually create nfo files.

linky (Microsoft .NET Framework 2.0 required)

The exe file is in the bin subfolder. yeah, i've included all the code if you want to modify it.

You select your main movies folder, then select an individual movie folder. Hit Run IMDB on File, reach the correct movie in imdb.com, then hit Use IMDB to write NFO file. The selection moves on one and you can just keep hitting Run and Use and hopefully get through your movies fairly quickly.

As the NFO file contents are still to be decided i've just let it record the URL in the file and that's it.

The checkboxes don't do anything yet. That's for later when doing multiple selections. I'll be doing some overwrite existing nfo options and i'll add extra info for when it comes definite.
(This post was last modified: 2007-09-29 11:22 by Gamester17.)
find quote
szsori Offline
TheTVDB.com Admin
Posts: 662
Joined: Aug 2006
Reputation: 1
Location: Milwaukee, WI
Post: #2
coastal.. if you want to do something similar for tv series, let me know and I'll give you access to the XML interfaces on TheTVDB.com. They'll be changing soon, but the series lookup would be the same.
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #3
still no support for tvshow nfo files but i guess that would be a kick in the arse for me to add it
find quote
szsori Offline
TheTVDB.com Admin
Posts: 662
Joined: Aug 2006
Reputation: 1
Location: Milwaukee, WI
Post: #4
Oh.. I thought it was in there already. Sorry. Smile
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #5
code is in there just needs some refactoring
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 9
Location: Sweden
Lightbulb  Just an idea...
Post: #6
@coastal, does your tool use the XBMC scraper standard?, if it did then people could simply drop-in the same XML's from XBMC into your tool which would benifit maintainence of both. I guess that compability would also make it easier for you to add TV-series and music-video support to your tool.
http://xboxmediacenter.com/wiki/index.ph...craper.xml
http://xboxmediacenter.com/wiki/index.php?title=Scrap

PS! It would also be nice if it downloaded folder.jpg and .tbn files for movies and TV-shows.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
coastal Offline
Senior Member
Posts: 108
Joined: Sep 2007
Reputation: 0
Post: #7
It doesn't use the scraper standard. I'll have to look into that. I'm afraid i'm not very good on XML parsing and reg expressions.. but something to learn.

I would like to concentrate on getting images in. I've seen the other threads list movieposters.com etc for images and it would be nice to be shown a selection of possible images and then select one quickly - dumping it to both folder.jpg and movie.tbn. Personally i've liked the available images on wikipedia so i'll include that too for my own benefit.
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #8
you'll find the source code for the scraper parser in xbmc/utils/ScraperParser.cpp

as long as you have the basic tools (an xml parser and a regexp parser) you dont need to understand any of them - just clone my code in c#.
find quote
coastal Offline
Senior Member
Posts: 108
Joined: Sep 2007
Reputation: 0
Post: #9
I've finished the code for writing simple nfo files containing just the imdb url.
here

.net Framework 2.0 is required.

[Image: 2000375540191207789_th.jpg]

Find your parent movie folder, select the movies without NFO files,
run imdb, and click use imdb to save an nfo.
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 9
Location: Sweden
Lightbulb  MeD's Movie Manager?
Post: #10
I think I have (IMHO) another good idea for you; how about inteas writting a new application from scratch, you instead extend MeD's Movie Manager so it can export movie data to NFO files (in XBMC's scraper XML standard). MeD's Movie Manager today pulls movie metadata information from IMDb (and TV-show info from TV.com) and stores it into a SQL database (HSQLDB comes pre.packaged and is the recommended default), so the scraper functionallity is already there, it is only the export to seperate NFO/XML for each movie that is missing. Later maybe MeD's Movie Manager could also be extended to use XBMC's scraper parser and scraper XML's to be able to use any website that XBMC has a scraper for.

MeD's Movie Manager is also a great for cataloging and managing you movies on a windows, mac and linux computers. MeD's Movie Manager is a free software distributed under the GPL open source license. The code is JAVA to be cross-platform compatible.

PS! Not directly related but also checkout this http://forum.xbmc.org/showthread.php?tid=27990

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
coastal Offline
Senior Member
Posts: 108
Joined: Sep 2007
Reputation: 0
Post: #11
download

Here's my movie cleaner. It'll create NFO files for those missing and create movie images which xbmc is certain to pick up. It requires .net framework. 2.0 i think.

You got some nice ideas there Gamester but i wanted to just do something that would get a new avi file into xbmc with the correct movie details and image quickly. .. plus i don't know java yet so it would be up hill curve and i don't have the time no more - started a new job.
find quote
fiende Offline
Junior Member
Posts: 29
Joined: Apr 2007
Reputation: -10
Post: #12
cant u make the program to grabb the image from i imdb ?
and make copy them to folder.jpg
xmbc have problems when i have my movies in example e:\movies\starwars\lots of rarfiles

dosnt work
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #13
fiende, as i have stated about 100 times atleast in this forum:
you want to scan rarred movies you HAVE TO ENABLE TRANSPARENT ARCHIVES
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 9
Location: Sweden
Smile   
Post: #14
coastal Wrote:You got some nice ideas there Gamester but i wanted to just do something that would get a new avi file into xbmc with the correct movie details and image quickly. .. plus i don't know java yet so it would be up hill curve and i don't have the time no more - started a new job.
OK. I submitted those ideas as feature requests directly to MeD's Movie Manager then:

Use XBMC's XML scrapers for HTTP scraping - RFE:
http://sourceforge.net/forum/message.php?msg_id=4553533
Use XBMC's XML scrapers for HTTP scraping - Forum discussion:
http://sourceforge.net/tracker/index.php...tid=569698

Export database to individual NFO files - RFE:
http://sourceforge.net/tracker/index.php...tid=569698
Export database to individual NFO files - Forum discussion:
http://sourceforge.net/forum/message.php?msg_id=4553574

Hopefully some other developer(s) will someday like those ideas and implement them.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote