Renaming of files
My question is... whats the best/recommended naming convention for movies,tv shows, and even audio.
Thoughts?
<?xml version="1.0" encoding="utf-8" ?>
<movie>
<title>Star Wars 5: The Empire Strikes Back</title>
<originaltitle>Star Wars 5: The Empire Strikes Back</originaltitle>
<sorttitle>Star Wars 5 - The Empire Strikes Back</sorttitle>
<set>Star Wars [Collection]</set>
<rating>9.9</rating>
<year>1980</year>
<top250>0</top250>
<votes>0</votes>
<outline>While Luke takes advanced Jedi training from Yoda, his friends are relentlessly pursued by Darth Vader as part of his plan to capture Luke.</outline>
<plot>While Luke takes advanced Jedi training from Yoda, his friends are relentlessly pursued by Darth Vader as part of his plan to capture Luke.</plot>
<tagline></tagline>
<thumb>M:\Movies\S\Star Wars 5 - The Empire Strikes Back.jpg</thumb>
<mpaa>PG</mpaa>
<id>tt0080684</id>
<filenameandpath>M:\Movies\S\Star Wars 5 - The Empire Strikes Back.avi</filenameandpath>
<genre>Action</genre>
<genre>Adventure</genre>
<genre>Family</genre>
<genre>Sci-Fi</genre>
<genre>Rated PG</genre>
<credits>
<writer>Leigh Brackett</writer>
<writer>Lawrence Kasdan</writer>
</credits>
<studio></studio>
<fileinfo>
<streamdetails>
<video>
<width>720</width>
<height>306</height>
</video>
</streamdetails>
</fileinfo>
<director>Irvin Kershner</director>
<actor>
<name>Mark Hamill</name>
</actor>
<actor>
<name>Harrison Ford</name>
</actor>
<actor>
<name>Carrie Fisher</name>
</actor>
<actor>
<name>Billy Dee Williams</name>
</actor>
</movie>
TV Shows
The filename of the NFO should be tvshow.nfo (Exact, NOT the name of the actual TV show) and it should be in the root folder of the TV show.
The nfo xml file may contain a valid <episodeguideurl> to allow online updates. If not, only episodes with nfo files will be added.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<tvshow>
<title>MythBusters</title>
<rating>9.300001</rating>
<year>0</year>
<top250>0</top250>
<season>-1</season>
<episode>143</episode>
<displayseason>-1</displayseason>
<displayepisode>-1</displayepisode>
<votes></votes>
<outline></outline>
<plot>So exactly how hard is it to find a needle in a haystack, anyway? And can water dripping on your forehead really drive you nuts? Those are the kinds of questions, myths and urban legends that are put to the test in this humorous series to find out which ones hold water (and keep it from dripping on your forehead and driving you insane).</plot>
<tagline></tagline>
<runtime></runtime>
<thumb>http://thetvdb.com/banners/graphical/73388-g3.jpg</thumb>
<thumb>http://thetvdb.com/banners/graphical/73388-g2.jpg</thumb>
<thumb type="season" season="1">http://thetvdb.com/banners/seasons/73388-1.jpg</thumb>
<thumb type="season" season="0">http://thetvdb.com/banners/seasons/73388-0.jpg</thumb>
<thumb type="season" season="2">http://thetvdb.com/banners/seasons/73388-2.jpg</thumb>
<thumb type="season" season="-1">http://thetvdb.com/banners/posters/73388-1.jpg</thumb>
<fanart url="http://thetvdb.com/banners/">
<thumb dim="1920x1080" colors="|183,185,161|51,51,51|206,205,185|" preview="_cache/fanart/original/73388-6.jpg">fanart/original/73388-6.jpg</thumb>
<thumb dim="1280x720" colors="|255,255,240|101,141,117|129,132,123|" preview="_cache/fanart/original/73388-1.jpg">fanart/original/73388-1.jpg</thumb>
</fanart>
<mpaa>TV-PG</mpaa>
<playcount>0</playcount>
<lastplayed></lastplayed>
<episodeguide>
<url cache="73388.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/73388/all/en.zip</url>
</episodeguide>
<id>73388</id>
<genre>Reality</genre>
<set></set>
<credits></credits>
<director></director>
<premiered>2003-01-23</premiered>
<status></status>
<code></code>
<aired></aired>
<studio>Discovery</studio>
<trailer></trailer>
<actor>
<name>Robert Lee</name>
<role>USA Narrator</role>
<thumb></thumb>
</actor>
<actor>
<name>Adam Savage</name>
<role></role>
<thumb></thumb>
</actor>
<artist></artist>
</tvshow>TV Episodes
The *.nfo must be named exactly as the episode filename (i.e. episodename.avi and episodename.nfo) and in the same folder, allowing multiple episode and *.nfo files within the same folder. Episode names must still follow the naming convention even though you are using a custom NFO file.
For multi-part episodes, simply add multiple <episodedetails> XML blocks in succession.
<episodedetails>
<title>My TV Episode</title>
<rating>10.00</rating>
<season>2</season>
<episode>1</episode>
<plot>he best episode in the world</plot>
<thumb>http://thetvdb.com/banners/episodes/164981/2528821.jpg</thumb>
<playcount>0</playcount>
<lastplayed></lastplayed>
<credits>Writer</credits>
<director>Mr. Vision</director>
<aired>2000-12-31</aired>
<premiered>2010-09-24</premiered>
<studio>Production studio or channel</studio>
<mpaa>MPAA certification</mpaa>
<epbookmark>200</epbookmark> <!-- For media files containing multiple episodes,
where value is the time where the next episode begins in seconds -->
<displayseason>3</displayseason> <!-- For TV show specials, determines how the episode is sorted in the series -->
<displayepisode>4096</displayepisode>
<actor>
<name>Little Suzie</name>
<role>Pole Jumper/Dancer</role>
</actor>
<fileinfo>
<streamdetails>
<audio>
<channels>6</channels>
<codec>ac3</codec>
</audio>
<video>
<aspect>1.778</aspect>
<codec>h264</codec>
<durationinseconds>587</durationinseconds>
<height>720</height>
<language>eng</language>
<longlanguage>English</longlanguage>
<scantype>Progressive</scantype>
<width>1280</width>
</video>
</streamdetails>
</fileinfo>
</episodedetails>
2011-07-31 10:15:58,820 INFO [LibraryAdditionsCheckerThread] Added file 'Despicable Me - Home Makeover Mini Movie (2010).avi' (title: Despicable Me - Home Makeover Mini Movie (2010)) to Library
2011-07-31 10:15:59,431 WARN [LibraryManager] Cannot read metadata of file M:\Movies\D\Despicable Me - Minion Madness\Despicable Me - Orientation Day Mini Movie (2010).avi via extractor XBMC. Message: File 'M:\Movies\D\Despicable Me - Minion Madness\tvshow.nfo' couldn't be parsed: null
<?xml version="1.0" encoding="utf-8" ?>
<tvshow>
<title>Despicable Me - Minion Madness</title>
<rating>9.300001</rating>
<year>0</year>
<season>-1</season>
<episode>3</episode>
<plot>Vying for the title of "World’s Greatest Villain", Gru (voiced by Steve Carell) – along with his hilarious crew of mischievous minions – plots to pull off the craziest crime of the century: steal the moon! But when Gru enlists the help of three little girls, they see something in him nobody else has ever seen: the perfect dad.</plot>
<mpaa>G</mpaa>
<genre>Animation</genre>
<genre>Short</genre>
<genre>Comedy</genre>
<genre>Family</genre>
<set>Despicable Me - Minion Madness</set>
<credits>
<writer>Pierre Coffin</writer>
<writer>Brett Hoffman</writer>
</credits>
<premiered>2010-01-01</premiered>
<director>Kyle Balda</director>
<director>Samuel Tourneux</director>
<actor>
<name>Rob Huebel</name>
</actor>
<actor>
<name>Miranda Cosgrove</name>
</actor>
<actor>
<name>Elsie Fisher</name>
</actor>
<actor>
<name>Pierre Coffin</name>
</actor>
<actor>
<name>Dana Gaier</name>
</actor>
<actor>
<name>Pierre Coffin</name>
</actor>
<actor>
<name>Minions</name>
</actor>
</tvshow>
gmann001 wrote:I finally had some time to try creating a "series" with my movies and just can't seem to get this to work. I'm starting small with just trying to get my 3 episodes of Minion Madness to work (from the Despicible Me movie shorts).
The Minion Madness are in their own folder and I created a tvshow.nfo for that folder. I also created new nfo files for each of the three movie shorts using the episodedetails format. Nothing is working. Instead I am getting a warning saying that the tvshow can not be parsed.
- Code:
2011-07-31 10:15:58,820 INFO [LibraryAdditionsCheckerThread] Added file 'Despicable Me - Home Makeover Mini Movie (2010).avi' (title: Despicable Me - Home Makeover Mini Movie (2010)) to Library
2011-07-31 10:15:59,431 WARN [LibraryManager] Cannot read metadata of file M:\Movies\D\Despicable Me - Minion Madness\Despicable Me - Orientation Day Mini Movie (2010).avi via extractor XBMC. Message: File 'M:\Movies\D\Despicable Me - Minion Madness\tvshow.nfo' couldn't be parsed: null
I double checked the XML to make sure that all nodes are opened/closed properly and can not find anything wrong with it...
- Code:
<?xml version="1.0" encoding="utf-8" ?>
<tvshow>
<title>Despicable Me - Minion Madness</title>
<rating>9.300001</rating>
<year>0</year>
<season>-1</season>
<episode>3</episode>
<plot>Vying for the title of "World’s Greatest Villain", Gru (voiced by Steve Carell) – along with his hilarious crew of mischievous minions – plots to pull off the craziest crime of the century: steal the moon! But when Gru enlists the help of three little girls, they see something in him nobody else has ever seen: the perfect dad.</plot>
<mpaa>G</mpaa>
<genre>Animation</genre>
<genre>Short</genre>
<genre>Comedy</genre>
<genre>Family</genre>
<set>Despicable Me - Minion Madness</set>
<credits>
<writer>Pierre Coffin</writer>
<writer>Brett Hoffman</writer>
</credits>
<premiered>2010-01-01</premiered>
<director>Kyle Balda</director>
<director>Samuel Tourneux</director>
<actor>
<name>Rob Huebel</name>
</actor>
<actor>
<name>Miranda Cosgrove</name>
</actor>
<actor>
<name>Elsie Fisher</name>
</actor>
<actor>
<name>Pierre Coffin</name>
</actor>
<actor>
<name>Dana Gaier</name>
</actor>
<actor>
<name>Pierre Coffin</name>
</actor>
<actor>
<name>Minions</name>
</actor>
</tvshow>
Thoughts anyone?
Cerberus wrote:
try using the renaming tool i posted in the third party forums that made short work of ll my movies and tv series and named them all correctly for me:
viewtopic.php?f=17&t=2878
moltra wrote:Cerberus wrote:
try using the renaming tool i posted in the third party forums that made short work of ll my movies and tv series and named them all correctly for me:
viewtopic.php?f=17&t=2878
He is not trying to rename individual files. He is trying to customize the metadata to get movies that are in a series ie Star Wars in a common series format like a TV series format.
I noticed that you are missing a few of the tag groups from the example of this page.
http://wiki.xbmc.org/index.php?title=Import_-_Export_Library#TV_Shows I would try and make sure it meets this as close as possible. Or maybe even copying the example and changing the title and set information and seeing if it works.
You might be able to install xbmc and import your .nfo files and see if it finds any problems. Or you might be able to use a program like notepad ++ to Validate your .nfo xml file.
if you have firefox installed it will also help validate your xml file.
Cerberus wrote:moltra wrote:Cerberus wrote:
try using the renaming tool i posted in the third party forums that made short work of ll my movies and tv series and named them all correctly for me:
viewtopic.php?f=17&t=2878
He is not trying to rename individual files. He is trying to customize the metadata to get movies that are in a series ie Star Wars in a common series format like a TV series format.
I noticed that you are missing a few of the tag groups from the example of this page.
http://wiki.xbmc.org/index.php?title=Import_-_Export_Library#TV_Shows I would try and make sure it meets this as close as possible. Or maybe even copying the example and changing the title and set information and seeing if it works.
You might be able to install xbmc and import your .nfo files and see if it finds any problems. Or you might be able to use a program like notepad ++ to Validate your .nfo xml file.
if you have firefox installed it will also help validate your xml file.
ok so clearly you guessed again moltra and did not even fully read the linked thread.
gmann001 wrote:Is there a certain way I can get it so some of my Movies show up under "Series"? For example, I would like Star Wars Episodes 1-6 all listed as a Star Wars series. In my .NFO files there is a node for this called SET. Which does what I am looking for on XBMC. Can Serviio use this node if set?
- Code:
<?xml version="1.0" encoding="utf-8" ?>
<movie>
<title>Star Wars 5: The Empire Strikes Back</title>
<originaltitle>Star Wars 5: The Empire Strikes Back</originaltitle>
<sorttitle>Star Wars 5 - The Empire Strikes Back</sorttitle>
<set>Star Wars [Collection]</set>
<rating>9.9</rating>
<year>1980</year>
<top250>0</top250>
<votes>0</votes>
<outline>While Luke takes advanced Jedi training from Yoda, his friends are relentlessly pursued by Darth Vader as part of his plan to capture Luke.</outline>
<plot>While Luke takes advanced Jedi training from Yoda, his friends are relentlessly pursued by Darth Vader as part of his plan to capture Luke.</plot>
<tagline></tagline>
<thumb>M:\Movies\S\Star Wars 5 - The Empire Strikes Back.jpg</thumb>
<mpaa>PG</mpaa>
<id>tt0080684</id>
<filenameandpath>M:\Movies\S\Star Wars 5 - The Empire Strikes Back.avi</filenameandpath>
<genre>Action</genre>
<genre>Adventure</genre>
<genre>Family</genre>
<genre>Sci-Fi</genre>
<genre>Rated PG</genre>
<credits>
<writer>Leigh Brackett</writer>
<writer>Lawrence Kasdan</writer>
</credits>
<studio></studio>
<fileinfo>
<streamdetails>
<video>
<width>720</width>
<height>306</height>
</video>
</streamdetails>
</fileinfo>
<director>Irvin Kershner</director>
<actor>
<name>Mark Hamill</name>
</actor>
<actor>
<name>Harrison Ford</name>
</actor>
<actor>
<name>Carrie Fisher</name>
</actor>
<actor>
<name>Billy Dee Williams</name>
</actor>
</movie>
<?xml version="1.0" encoding="utf-8" ?>
<tvshow>
<title>Minion Madness</title>
<rating>8.0</rating>
<year>0</year>
<id>-1</id>
<season>-1</season>
<episode>3</episode>
<displayseason>-1</displayseason>
<displayepisode>-1</displayepisode>
<plot></plot>
<mpaa>G</mpaa>
<genre>Animation</genre>
<genre>Short</genre>
<genre>Comedy</genre>
<genre>Family</genre>
<set>Minion Madness</set>
<credits>
<writer>Pierre Coffin</writer>
<writer>Brett Hoffman</writer>
</credits>
<premiered>2010-01-01</premiered>
<director>Kyle Balda</director>
<director>Samuel Tourneux</director>
<actor>
<name>Rob Huebel</name>
</actor>
<actor>
<name>Miranda Cosgrove</name>
</actor>
<actor>
<name>Elsie Fisher</name>
</actor>
<actor>
<name>Pierre Coffin</name>
</actor>
<actor>
<name>Dana Gaier</name>
</actor>
<actor>
<name>Minions</name>
</actor>
</tvshow>
2011-07-31 13:36:33,155 WARN [LibraryManager] Cannot read metadata of file M:\Movies\D\Despicable Me - Minion Madness\Season 1\Despicable Me - Minion Madness.S01E01.Home Makeover.avi via extractor XBMC. Message: File 'M:\Movies\D\Despicable Me - Minion Madness\tvshow.nfo' couldn't be parsed: null
2011-07-31 13:36:33,248 INFO [LibraryUpdatesCheckerThread] Updated 'Despicable Me - Minion Madness.S01E01.Home Makeover' (M:\Movies\D\Despicable Me - Minion Madness\Season 1\Despicable Me - Minion Madness.S01E01.Home Makeover.avi) in Library
2011-07-31 13:36:33,634 WARN [LibraryManager] Cannot read metadata of file M:\Movies\D\Despicable Me - Minion Madness\Season 1\Despicable Me - Minion Madness.S01E02.Orientation Day.avi via extractor XBMC. Message: File 'M:\Movies\D\Despicable Me - Minion Madness\tvshow.nfo' couldn't be parsed: null
moltra wrote:Let us know if you get it working.
gmann001 wrote:It would be so great if SERVIIO used the SET field of the NFO files. That would take care of exactly what I am trying to get.
Users browsing this forum: No registered users and 25 guests