Posts: 12
Joined: Jan 2008
Reputation:
0
Wazee
Junior Member
Posts: 12
ok, thanks. Would this be a feature in the future?
Posts: 12
Joined: Jan 2008
Reputation:
0
Wazee
Junior Member
Posts: 12
Could you please point in the right direction to get started on this feature?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
sure.
VideoInfoScanner.cpp. in RetrieveVideoInfo, there's a block that checks for nfo files. if it finds a <movie> tag it grabs info and does a continue. if it finds an url it grabs the url and skips some blocks (the checks happen in NFOFile.cpp). you need to change the logic to check for both, and in the case of an url make sure you call videoinfotag.load() on the additional xml block after the usual scan.
Posts: 51
Joined: Apr 2005
Reputation:
0
I am going to be making nfo files for all of my movies so that it is directed to the correct movie on IMDb every time when scanned into the library. Since I was going to be doing this I was wondering if there is anyway to make the library database use a certain title for the movies also, that I would specify in the nfo file instead of it using the IMDb title.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Yes - see the online manual on XML-based nfo files.
Posts: 51
Joined: Apr 2005
Reputation:
0
Yes JKMAN this is exactly what I am wanting to do. Use a custom title instead of the one grabbed from IMDb. Is this possible?
Posts: 12
Joined: Jan 2008
Reputation:
0
Wazee
Junior Member
Posts: 12
I had a look at the code and couldn't make heads or tails - not a programmer at all. So anyone out there with some programming knowledge could please have a look would be greatly appreciated by all XBMC users.
Posts: 1,546
Joined: Jun 2005
Reputation:
1
I also think this would be a very nice feature. There's a quite a few movies for which IMDb has different names than what I know them as.
Posts: 112
Joined: Sep 2007
Reputation:
0
I couldn't find VideoInfoScanner.cpp or NFOFile.cpp anywhere in the xbmc structure. Am i missing something? If someone points me in the right location i'll have a go at editing it.
I'll also change my movie cleaner to accept different movie names. For me this would fix foreign films and trilogies: raiders, evil dead etc.
Good idea.