2012-09-28, 16:46
Extant documentation is quite unclear on that.
So I have a TV show, a miniseries only present in one database - a movie database - as a single title with no episode data. As such it is impossible to correctly scrape. No big deal, I'll just create an NFO file...
The tvshow.nfo looks like this:
That, together with folder.jpg and fanart.jpg, scans into the library correctly, but individual episodes obviously don't scan because it doesn't say how many the show has. I need to have <episodedetails> blocks to give information on individual episodes. But where should they be really?
Having them in the "tvshow.nfo" file itself does not seem to work regardless of placement or location, and the wiki is not very clear on that point -- <tvshow></tvshow><episodedetails>... and <tvshow><episodedetails></episodedetails></tvshow>, etc, etc, do not work, if there's a higher level tag they should be enclosed in, the wiki does not say what it should be. The only way I got them to scan was creating individual "Episode 1x1.nfo" files and placing <episodedetails> blocks in those. That seems quite silly, especially in the case of a miniseries which I know is never, ever, getting any new episodes, but might end up in my library with better encodes which would necessitate renaming all those nfo files. (The original files have CRC in them which I'd like to keep.) I wish to only have one nfo file in that directory - preferably "tvshow.nfo", call it OCD if you like.
Is that at all possible? I'm not really up for digging through the source and trying to figure the nfo parser out, C++ is not my best language by far.
So I have a TV show, a miniseries only present in one database - a movie database - as a single title with no episode data. As such it is impossible to correctly scrape. No big deal, I'll just create an NFO file...
Code:
Showname\
-- tvshow.nfo
-- Episode 1x1.mkv
-- Episode 1x2.mkv
The tvshow.nfo looks like this:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<tvshow>
<title>Show name</title>
<id>-1</id>
<plot>Something Something.</plot>
</tvshow>
</xml>
That, together with folder.jpg and fanart.jpg, scans into the library correctly, but individual episodes obviously don't scan because it doesn't say how many the show has. I need to have <episodedetails> blocks to give information on individual episodes. But where should they be really?
Having them in the "tvshow.nfo" file itself does not seem to work regardless of placement or location, and the wiki is not very clear on that point -- <tvshow></tvshow><episodedetails>... and <tvshow><episodedetails></episodedetails></tvshow>, etc, etc, do not work, if there's a higher level tag they should be enclosed in, the wiki does not say what it should be. The only way I got them to scan was creating individual "Episode 1x1.nfo" files and placing <episodedetails> blocks in those. That seems quite silly, especially in the case of a miniseries which I know is never, ever, getting any new episodes, but might end up in my library with better encodes which would necessitate renaming all those nfo files. (The original files have CRC in them which I'd like to keep.) I wish to only have one nfo file in that directory - preferably "tvshow.nfo", call it OCD if you like.
Is that at all possible? I'm not really up for digging through the source and trying to figure the nfo parser out, C++ is not my best language by far.