A strange phenomena is happening in a TV series using the Kismet Strip View and the Imperium Strip View, whenever it happens that the season folder contains Blu-ray Disc folders. I have created the series.xml top folder entry as well as the folder.xml entry in the season folder. However for the series “Planet Earth” there are four folders according to the four BD discs labeled Disc1, Disc2, Disc3 & Disc4 with corresponding entries in the metadata folder Disc1.xml, Disc2.xml, Disc3.xml & Disc4.xml.
When being in the season folder level it displays properly all the details of the Disc XML data files with the exception of the Season 1 entry that is being preceded by an erroneous “x”. Why is that, because all the other Strip Views of the other themes do not? The first few lines of the XML file are as follows:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<EpisodeName>Episodes 01 - 03</EpisodeName>
<FirstAired>2006-03-05 to 2006-03-19</FirstAired>
<Overview>1 - From Pole to Pole
When using for Episode Number the entry
<EpisodeNumber></EpisodeNumber> with nothing or removing that line in the Kismet Strip view it displays “x – Episode 01-03” while in all the other views it displays “– Episode 01-03” with the exception of the Regency Strip View with in my opinion is the only strip view that handles it correctly when displaying “Episode 01-03” without the leadin “x” or “–”.
Any chance to correct this for the Kismet Strip View?
This is little complicated I guess the main reason you see the prefixed “x” is because in those views you mentioned I forgot to tell it to hide the x if no SeasonNumber is present I will add the code to remedy this issue.
A properly formatted XML is as follows:
<EpisodeName>Episode Name</EpisodeName> <EpisodeNumber>2</EpisodeNumber> <SeasonNumber>1</SeasonNumber>
This would result in the string coming back as 1x2 – Episode Name
Your second question concerning Regency is the fact that I wrote code to strip out the MB imposed concatenation of EpisodeName with EpisodeNumber. By default MB core will return a string with whatever is in EpisodeNumber Tag concatenated with what ever is in EpisodeName tag separated by a dash. So if you had nothing in EpisodeNumber you would see “– Episode Name”.
Anyways I will fix the issue of hiding the x but your out of luck for the other one as its the way core works, I’ve asked to have it changed but nothing has happened yet. Which is why in regency I had to write my own string processing to strip out the MB core concatenation.
Thanks for stating the proper formatted XML tags. I can work with that. This is only introduced when the folder has a BD disc which covers several episodes and I may be able to futz around with those 3 entries.
By using the actual numbers in the field EpisodeNumber will is properly sort according to the single digits? As you can tell I had to introduce leading zeros to have it sort properly. Episode 10-13 would come before Episode 5-8 when used in the EpisodeName field, thus I needed to change this to Episode 05-08. When entering 10-13 and 5-8 into the EpisodeNumber field will is sort those properly and have 5-8 appear before 10-13 or are leading zeros required?