Kodi Community Forum

Full Version: How shall I put up the .nfo for a movie with subdir CD1 and CD2?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a movie in a folder namned Closing.The.Ring.2007.DVDRip.XviD-RESERVED and in that folder I have CD1 and CD2 with the files ctr.cd1-xvid-reserved.avi and ctr.cd2-xvid-reserved.avi.

In the first folder Closing.The.Ring.2007.DVDRip.XviD-RESERVED I have put an .nfo with the the name ctr-xvid-reserved.nfo

In that .nfo is this info.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<movie>
<title>Closing the Ring</title>
</movie>
http://www.imdb.com/title/tt0488380/


Closing.The.Ring.2007.DVDRip.XviD-RESERVED is in my movie folder, and that's the one I've set content to "movies" and themoviedb.org (back online now).

But just this movie will not be added. Not even if I in file mode press info for just this movie.

Please, what have I done wrong?

This one works for me, and I cant see the difference?

Movies/Twin.Peaks.Fire.Walk.With.Me.1992.DVDRip.XViD.AC3.iNTERNAL-FFM
with subfolder CD1 and CD2 and rar-files in CD1 and CD2. The rarfiles contain a file with name like .cd1. and .cd2. in it.
and the root of the movie got an .nfo with the IMDB url to the movie.

Why will not the first movie be added?

/Söder
This is some info from a log.

From the time I update the library.
Code:
08:40:45 T:3041789840 M:1817255936   DEBUG: ------ Window Deinit (DialogContextMenu.xml) ------
08:40:45 T:3041789840 M:1817882624   DEBUG: ------ Window Init (DialogVideoScan.xml) ------
08:40:45 T:3041789840 M:1817882624    INFO: Loading skin file: DialogVideoScan.xml
08:40:45 T:3041789840 M:1817882624   DEBUG: Load DialogVideoScan.xml: 2.18ms
08:40:45 T:3041789840 M:1817882624   DEBUG: Alloc resources: 2.41ms (2.38 ms skin load)
08:40:45 T:2939657104 M:1817915392   DEBUG: thread start, auto delete: 0
08:40:45 T:2939657104 M:1817915392   DEBUG: Process - Starting scan
08:40:45 T:2914093968 M:1817915392   DEBUG: thread start, auto delete: 0
08:40:45 T:2914093968 M:1817915392   DEBUG: Thread 2914093968 terminating
08:40:45 T:2939657104 M:1817567232   DEBUG: DoScan Scanning dir '/media/hdd1/videos/movies/' as not in the database
08:40:45 T:2939657104 M:1817567232   DEBUG: Hash[movies,/media/hdd1/videos/movies/]:DB=[],Computed=[493F04D36DC4096457D8670B271E77DF]
08:40:45 T:3041789840 M:1817567232   DEBUG: ExecuteXBMCAction : Translating Skin.SetBool(LibraryUpdated)
08:40:45 T:3041789840 M:1817567232   DEBUG: ExecuteXBMCAction : To Skin.SetBool(LibraryUpdated)
08:40:46 T:2939657104 M:1817501696   DEBUG: Not adding item to library as no info was found :(
08:40:46 T:2939657104 M:1817501696   DEBUG: DoScan - Finished dir: /media/hdd1/videos/movies/
08:40:46 T:2939657104 M:1817501696   DEBUG: DoScan Skipping dir '/media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/' due to no change
08:40:46 T:2939657104 M:1817501696   DEBUG: Hash[movies,/media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/]:DB=[3A21745597F73023F01A8F88D1ED875B],Computed=[3A21745597F73023F01A8F88D1ED875B]
08:40:46 T:2939657104 M:1817501696   DEBUG: DoScan - Finished dir: /media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/

And this is from when I press info in video files on that specific movie:

Code:
08:41:58 T:3041789840 M:1779101696   DEBUG: LIRC: Update - NEW at 93465:000000037ff07bf0 00 More mceusb (More)
08:41:58 T:3041789840 M:1779101696   DEBUG: OnKey: 195 pressed, action is 11
08:41:58 T:3041789840 M:1779101696   DEBUG: GetMovieId (stack:///media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/CD1/ctr.cd1.xvid-reserved.avi , /media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/CD2/ctr.cd2.xvid-reserved.avi), query = select idMovie from movie where idFile=2067
08:41:58 T:3041789840 M:1779052544   DEBUG: FileCurl::Open(0xbfe76dac) http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=tt0488380&api_key=57983e31fb435df4df77afb854740ea9
08:41:59 T:3041789840 M:1778327552   DEBUG: FileCurl::Close(0xbfe76dac) http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=tt0488380&api_key=57983e31fb435df4df77afb854740ea9
08:41:59 T:3041789840 M:1778327552   DEBUG: Found matching URL NFO file: /media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/ctr-xvid-reserved.nfo
08:41:59 T:3041789840 M:1778327552   DEBUG: -- nfo-scraper: tmdb.xml
08:41:59 T:3041789840 M:1778327552   DEBUG: -- nfo-url: http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=tt0488380&api_key=57983e31fb435df4df77afb854740ea9
08:41:59 T:3041789840 M:1778327552    INFO: Loading skin file: DialogProgress.xml
08:41:59 T:3041789840 M:1778327552   DEBUG: Load DialogProgress.xml: 2.36ms
08:41:59 T:3041789840 M:1778327552   DEBUG: DialogProgress::StartModal called
08:41:59 T:3041789840 M:1778327552   DEBUG: ------ Window Init (DialogProgress.xml) ------
08:41:59 T:3041789840 M:1778327552   DEBUG: Alloc resources: 0.04ms (0.00 ms skin load)
08:41:59 T:3041789840 M:1778163712   DEBUG: GetMovieId (stack:///media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/CD1/ctr.cd1.xvid-reserved.avi , /media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/CD2/ctr.cd2.xvid-reserved.avi), query = select idMovie from movie where idFile=2067
08:42:00 T:3041789840 M:1778163712   DEBUG: FileCurl::Open(0xbfe767fc) http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=tt0488380&api_key=57983e31fb435df4df77afb854740ea9
08:42:00 T:3041789840 M:1778016256   DEBUG: FileCurl::Close(0xbfe767fc) http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=tt0488380&api_key=57983e31fb435df4df77afb854740ea9
08:42:00 T:3041789840 M:1778016256   DEBUG: Found matching URL NFO file: /media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/ctr-xvid-reserved.nfo
08:42:00 T:3041789840 M:1778016256   DEBUG: -- nfo-scraper: tmdb.xml
08:42:00 T:3041789840 M:1778016256   DEBUG: -- nfo-url: http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=tt0488380&api_key=57983e31fb435df4df77afb854740ea9
08:42:00 T:3041789840 M:1778016256   DEBUG: FileCurl::Open(0xbfe77c94) http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=tt0488380&api_key=57983e31fb435df4df77afb854740ea9
08:42:01 T:3041789840 M:1778216960   DEBUG: FileCurl::Close(0xbfe77c94) http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=tt0488380&api_key=57983e31fb435df4df77afb854740ea9
08:42:01 T:3041789840 M:1778216960   DEBUG: GetMovieId (stack:///media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/CD1/ctr.cd1.xvid-reserved.avi , /media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/CD2/ctr.cd2.xvid-reserved.avi), query = select idMovie from movie where idFile=2067
08:42:01 T:3041789840 M:1778216960   DEBUG: got details
08:42:01 T:3041789840 M:1778216960   DEBUG: show info
08:42:01 T:3041789840 M:1778216960   DEBUG: ------ Window Init (DialogVideoInfo.xml) ------
08:42:01 T:3041789840 M:1778216960    INFO: Loading skin file: DialogVideoInfo.xml
08:42:01 T:3041789840 M:1778216960   DEBUG: Load DialogVideoInfo.xml: 70.66ms
08:42:01 T:3041789840 M:1778216960   DEBUG: Alloc resources: 72.93ms (72.89 ms skin load)
08:42:01 T:3041789840 M:1778216960   DEBUG: Refresh
08:42:01 T:2914093968 M:1765916672    INFO:   msg: PICTURE::LoadImage: Unable to open image: /media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/poster.jpg Error: (2)
08:42:01 T:2914093968 M:1765916672   ERROR: Texture manager unable to load file: /media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/poster.jpg
08:42:01 T:2879626128 M:1765916672    INFO:   msg: PICTURE::LoadImage: Unable to open image: /media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/movie.tbn Error: (2)
08:42:01 T:2879626128 M:1765916672   ERROR: Texture manager unable to load file: /media/hdd1/videos/movies/Closing.The.Ring.2007.DVDRip.XviD-RESERVED/movie.tbn

please help.


/Söder
I'm still having problem with this movie.

I just renamed the files, and the movie folder. I then used "clean library" enabled debug mode.

On the next start up, I updated my library.

This is my log.

http://pastebin.com/f3813d66e

Strange is that I have an .nfo in the same folder with the correct imdb number, and the moviedb do have the movie added?

http://themoviedb.org/movie/14509

Thanks.

/Söder
movie does not exist on tmdb and you have set tmdb as the scraper (hence we try to translate the imdb url to a tmdb one)
Personally, I would skip the CD1, CD2 subfolders, keep all the files ion one directory (with a stackable extension) and simply create a movie.nfo.
EDIT:Admittetly without reading the thread thoroughly, thought it was a stacking issue.
spiff Wrote:movie does not exist on tmdb and you have set tmdb as the scraper (hence we try to translate the imdb url to a tmdb one)

But what about this url?

http://themoviedb.org/movie/14509

isnt that tmdb?

/Söder
sho Wrote:Personally, I would skip the CD1, CD2 subfolders, keep all the files ion one directory (with a stackable extension) and simply create a movie.nfo.
EDIT:Admittetly without reading the thread thoroughly, thought it was a stacking issue.

I have tried that to, but with no success.

/Söder
ctr.cd1-xvid-reserved.avi and ctr.cd2-xvid-reserved.avi are not stackable filenames, unless the tokens are allowed anywhere in the filename (which I don't believe they are).

Reading it, it does not explicitly say what the default stacking rules are (and it should) only what you need to add to advancedesettings.xml which may or may not be valid.
Back to the drawing board.
sho Wrote:ctr.cd1-xvid-reserved.avi and ctr.cd2-xvid-reserved.avi are not stackable filenames, unless the tokens are allowed anywhere in the filename (which I don't believe they are).

Reading it, it does not explicitly say what the default stacking rules are (and it should) only what you need to add to advancedesettings.xml which may or may not be valid.
Back to the drawing board.

Hehe. But, if I have an .nfo with the imdb url, shouldn't that work any way? Is is it my stacking that is the problem, and XBMC don't thing there is a movie even if there is an url?

EDIT: "When in File Mode, XBMC has the ability to recognize and present 'multi-part' video files based on filename stacking rules. For example a two part VCD can be displayed and played as a single file in the user interface. This is the default behavior of the Video Library."

What does " This is the default behavior of the Video Library." mean?

EDIT2: I have now changed the names to

movies\Closing.The.Ring.2007.DVDRip.XviD-RESERVED\Closing.The.Ring.2007.DVDRip.XviD-RESERVED.CD1.avi

and

movies\Closing.The.Ring.2007.DVDRip.XviD-RESERVED\Closing.The.Ring.2007.DVDRip.XviD-RESERVED.CD2.avi

and a .nfo with the url. Still no success..

/Söder
I have now even removed the cd2 file and renamed the cd1, and it will still not get scanned to the db.

As someone said, IF its not in the tmdb, then what is this?

http://themoviedb.org/movie/14509

EDIT:
And when I now tried to manually set the content to movie, and use IMDB as scraper, the movie was scanned. Just sad about fanart and low res. poster.

But can some one explain for my why I can find the movie at the themoviedb.org, but XMBC can't?

/Söder
soder Wrote:What does " This is the default behavior of the Video Library." mean?
It's supposed to mean that the library will stack files regardless of the Stacking setting in files mode.

Documentation has been updated btw (having the token inside the filename is apparently all fine and dandy)

I have no means of testing atm, what happens if your nfo file only includes a link to themoviedb, that is:
http://themoviedb.org/movie/14509
sho Wrote:It's supposed to mean that the library will stack files regardless of the Stacking setting in files mode.

Documentation has been updated btw (having the token inside the filename is apparently all fine and dandy)

I have no means of testing atm, what happens if your nfo file only includes a link to themoviedb, that is:
http://themoviedb.org/movie/14509

That worked. Thank you.

Then it was some problem with the IMDB number and the url for themoviedb.

/Söder
problem is that tmdb does not know about the imdb number for this movie. it needs to be fixed @ tmdb
spiff Wrote:problem is that tmdb does not know about the imdb number for this movie. it needs to be fixed @ tmdb

But the imdb-number IS added there?

But never mind...

/Söder