PDA

View Full Version : Slightly confused stacking / nfo / fanart


rernst
2009-06-16, 17:43
What is the proper naming convention

I have
LOTR.part1.mkv
LOTR.part2.mkv

Is it

LOTR.nfo
LOTR.tbn
LOTR-fanart.jpg

or

LOTR.part1.nfo
LOTR.part1.tbn
LOTR-fanart.part1.jpg

?

The Wiki says "stackedname.nfo" which is, of course, wrong.

sho
2009-06-16, 17:47
Why? Stackedname is a placeholder for what the stack will be called in the db.
Where is this btw?
Both should work AFAIK, barring code discrepancies.

rernst
2009-06-16, 17:49
Why? Stackedname is a placeholder for what the stack will be called in the db.
Both should work AFAIK , barring code discrepancies.
Doesn't really answer my question. Please look at my example. I have 20 stacked files in one directory. They cannot all be 'stackedname.nfo', can they?

To be clearer: I have LOTR.part1.mkv, ST.part1.mkv, FOV.part1.mkv. They must have separate nfos.

spiff
2009-06-16, 17:52
as sho said, both works. that being said, i'd go for the first one; the lotr.nfo etc. as we may just remove the other one

xexe
2009-06-16, 17:55
use one folder per movie and forget about stacked name completely

rernst
2009-06-16, 18:02
use one folder per movie and forget about stacked name completely

That is not true. I just did some testing. The Wiki is not correct. (I am using separate folder names for the test).

It should read:

In the case of stacked files the nfo, tbn and fanart files should be named 'xxx.nof', 'xxx.tbn' and 'xxx-fanart.jpg', where xxx is the root of the actual file name, i.e. the file name without the stacking extension such as '.CD1/.CD2/.CD3' or '.part1/.part2/.part3'.

Otherwise XBMC will ignore the information and fanart.

joebrady
2009-06-16, 18:02
Doesn't really answer my question. Please look at my example. I have 20 stacked files in one directory. They cannot all be 'stackedname.nfo', can they?

To be clearer: I have LOTR.part1.mkv, ST.part1.mkv, FOV.part1.mkv. They must have separate nfos.

That does not mean to actually name the files "stackname.nfo" The 'stackname' part of the file name should be the name of the movie before the .part1

sho
2009-06-16, 18:03
Doesn't really answer my question. Please look at my example. I have 20 stacked files in one directory. They cannot all be 'stackedname.nfo', can they?"Stackedname" is a placeholder for what the actual stack is called by XBMC, it's not meant to be read or taken literally (Remember those variables from algebra 101?)

Where is this specific reference in the wiki?

This is from the thumb section:
You can either use the filename of the first file in the stack or the name of the stack, so for:

Movies\path\moviename-CD1.avi
Movies\path\moviename-CD2.avi

Either of the below would work:

Movies\path\moviename-CD1.tbn
Movies\path\moviename.tbn


nfo:
In the case of multi-part (stacked) video stacking, name the file either moviename.nfo or moviename-CD1.nfo where the first filename is moviename-CD1.avi.

rernst
2009-06-16, 18:10
That does not mean to actually name the files "stackname.nfo" The 'stackname' part of the file name should be the name of the movie before the .part1

That is certainly not clear, actually it implies the opposite. See my wording which properly describes it. 'stackedname' would be 'LOTR.part1.mkv' and therefore suggest that the nfo be called 'LOTR.part1.mkv.nfo' or with some imagination 'LOTR.part1.nfo' but certainly not dropping the stacking descriptor.

I ran into it writing the next drop of Media Reader and it is a pain in the neck to find these things out through trial and error as I have to rescan all of my movies, or so it seems. I cannot remove the information for a single movie from the library and then rescan it from the nfo, can i?

rernst
2009-06-16, 18:19
The Wiki location is:

http://xbmc.org/wiki/index.php?title=Nfo&oldid=7225

which explicitly says *quoted* "stackedname.nfo" which suggests a literal.

Btw - this is true for fanart and nfo, not just nfo.

rernst
2009-06-16, 18:20
"Stackedname" is a placeholder for what the actual stack is called by XBMC, it's not meant to be read or taken literally (Remember those variables from algebra 101?)

Where is this specific reference in the wiki?

This is from the thumb section:
You can either use the filename of the first file in the stack or the name of the stack, so for:

Movies\path\moviename-CD1.avi
Movies\path\moviename-CD2.avi

Either of the below would work:

Movies\path\moviename-CD1.tbn
Movies\path\moviename.tbn


nfo:
In the case of multi-part (stacked) video stacking, name the file either moviename.nfo or moviename-CD1.nfo where the first filename is moviename-CD1.avi.

Movies\path\moviename-fanart.CD1.jpg is not recognized, only
Movies\path\moviename-fanart.jpg.

I know this probably doesn't matter to most but writing a piece of software it does.

rernst
2009-06-16, 18:22
as sho said, both works. that being said, i'd go for the first one; the lotr.nfo etc. as we may just remove the other one

Both do *not* work.

vdrfan
2009-06-16, 18:22
moviename-CD1 is one of the stackedname variants. Everything else will be appended to it like .nfo, .tbn and -fanart.jpg.

sho
2009-06-16, 18:22
The Wiki location is:

http://xbmc.org/wiki/index.php?title=Nfo&oldid=7225

which explicitly says *quoted* "stackedname.nfo" which suggests a literal.

Btw - this is true for fanart and nfo, not just nfo.How on earth did you dig this up?
It's an obsolete version (archived) of a Wiki page.

Dunno about the fanart, a dev will have to answer for that.

rernst
2009-06-16, 18:25
How on earth did you dig this up?
It's an obsolete version (archived) of a Wiki page.

Dunno about the fanart, a dev will have to answer for that.
Obsolete? Really? I missed the 'obsolete' part on the page, especially given that everything else on it is true.

I found it googling it because the Wiki search engine is not very good.

rernst
2009-06-16, 18:30
moviename-CD1 is one of the stackedname variants. Everything else will be appended to it like .nfo, .tbn and -fanart.jpg.
Please clarify this. I have been using XBMC for a while now and since XBMC will generally go out and try to pick some artwork itself this fact is not easily discerned.

Not trying to make a big deal out of it but there really is an issue both with the forum and the Wiki. I have asked several questions now on such esoteric facts and both people answer whatever comes to their minds (which is generally not true, misleading and only sends me off in the wrong direction) and the Wiki is unclear (or wrong). It is always trial and error and such obviates both the Wiki and questioning the forum.

Not making a big deal out of it but merely pointing it out.

And 'How did you find it. It is obsolete' says 'Don't use the Wiki. Some of it is obsolete so you are on your own' instead of 'Thanks for pointing it out. Let's correct it'.

But then, I believe I have Wiki access anyhow and should have corrected it myself.

sho
2009-06-16, 18:37
Obsolete? Really? I missed the 'obsolete' part on the page, especially given that everything else on it is true.

I found it googling it because the Wiki search engine is not very good.
the oldid=7225 part is the giveaway, try looking at the current page for a start:

http://xbmc.org/wiki/index.php?title=Nfo

Here is the History, your version is probably two years old.
http://xbmc.org/wiki/index.php?title=Nfo&action=history

vdrfan
2009-06-16, 18:39
Stacking is quite simple and well documented at http://xbmc.org/wiki/?title=Videos#Stacking_in_XBMC .

Stacking your initially mentioned filenames ..
LOTR.part1.mkv
LOTR.part2.mkv

.. will result in LOTR.mkv which lets XBMC search for ..

LOTR-fanart.jpg
LOTR-trailer.avi
LOTR.tbn
LOTR.nfo

Hope this helps.

spiff
2009-06-16, 18:41
rernst; my bad, seems we already nuked the second variant then

rernst
2009-06-16, 18:55
the oldid=7225 part is the giveaway, try looking at the current page for a start:

http://xbmc.org/wiki/index.php?title=Nfo

Here is the History, your version is probably two years old.
http://xbmc.org/wiki/index.php?title=Nfo&action=history
Mmmh, somehow Google must find it spidering and somewhere is a link, I guess. I will remember this.

This does not work for fanart (Fanart *must* be the root, it does not work with the stacking descriptor). Either approach does work with nfos. The Wiki says that either will work with thumbnails but I haven't tested it.

rernst
2009-06-16, 18:59
Stacking is quite simple and well documented at http://xbmc.org/wiki/?title=Videos#Stacking_in_XBMC .

Stacking your initially mentioned filenames ..
.. will result in LOTR.mkv which lets XBMC search for ..
Hope this helps.

Thank you. (The above URL only describes the basic stacking which I had already working but I was still looking for the multipart info). MR now does the right thing but wrote the wrong fanart file name. No biggie.