home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Electronic Program Guide
working episode numbers for epg anyone?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mm1352000" data-source="post: 998937" data-attributes="member: 82144"><p>Okay, so obviously MP has no relation to EPG Collector, and neither EPGC or MP have any control over what is in the broadcast stream.</p><p>If EPGC is creating tags that way and you don't think they're reasonable then you should take it up with Steve.</p><p><a href="http://sourceforge.net/p/epgcollector/discussion/1125945" target="_blank">http://sourceforge.net/p/epgcollector/discussion/1125945</a></p><p> </p><p>Having said that, the first number is the series number, second number is the episode number and third number is the episode part number. I wouldn't have thought episode parts would be all that common?</p><p>Maybe it would help to read the XMLTV spec (this comes out of the dtd file, which can be opened in any text editor):</p><p>[collapse]<!-- Episode number</p><p></p><p>Not the title of the episode, its number or ID. There are several</p><p>ways of numbering episodes, so the 'system' attribute lets you specify</p><p>which you mean.</p><p></p><p>There are two predefined numbering systems, 'xmltv_ns' and</p><p>'onscreen'.</p><p></p><p>xmltv_ns: This is intended to be a general way to number episodes and</p><p>parts of multi-part episodes. It is three numbers separated by dots,</p><p>the first is the series or season, the second the episode number</p><p>within that series, and the third the part number, if the programme is</p><p>part of a two-parter. All these numbers are indexed from zero, and</p><p>they can be given in the form 'X/Y' to show series X out of Y series</p><p>made, or episode X out of Y episodes in this series, or part X of a</p><p>Y-part episode. If any of these aren't known they can be omitted.</p><p>You can put spaces whereever you like to make things easier to read.</p><p></p><p>(NB 'part number' is not used when a whole programme is split in two</p><p>for purely scheduling reasons; it's intended for cases where there</p><p>really is a 'Part One' and 'Part Two'. The format doesn't currently</p><p>have a way to represent a whole programme that happens to be split</p><p>across two or more timeslots.)</p><p></p><p>Some examples will make things clearer. The first episode of the</p><p>second series is '1.0.0/1' . If it were a two-part episode, then the</p><p>first half would be '1.0.0/2' and the second half '1.0.1/2'. If you</p><p>know that an episode is from the first season, but you don't know</p><p>which episode it is or whether it is part of a multiparter, you could</p><p>give the episode-num as '0..'. Here the second and third numbers have</p><p>been omitted. If you know that this is the first part of a three-part</p><p>episode, which is the last episode of the first series of thirteen,</p><p>its number would be '0 . 12/13 . 0/3'. The series number is just '0'</p><p>because you don't know how many series there are in total - perhaps</p><p>the show is still being made!</p><p></p><p>The other predefined system, onscreen, is to simply copy what the</p><p>programme makers write in the credits - 'Episode #FFEE' would</p><p>translate to '#FFEE'.</p><p></p><p>You are encouraged to use one of these two if possible; if xmltv_ns is</p><p>not general enough for your needs, let me know. But if you want, you</p><p>can use your own system and give the 'system' attribute as a URL</p><p>describing the system you use.</p><p>-->[/collapse]</p><p> </p><p></p><p>Trust me, it is reading all three numbers (if present):</p><p>[code]</p><p> if (nodeEpisodeNumSystem == "xmltv_ns")</p><p> {</p><p> serEpNum = ConvertHTMLToAnsi(nodeEpisodeNum.Replace(" ", ""));</p><p> int dot1 = serEpNum.IndexOf(".", 0);</p><p> int dot2 = serEpNum.IndexOf(".", dot1 + 1);</p><p> seriesNum = serEpNum.Substring(0, dot1);</p><p> episodeNum = serEpNum.Substring(dot1 + 1, dot2 - (dot1 + 1));</p><p> episodePart = serEpNum.Substring(dot2 + 1, serEpNum.Length - (dot2 + 1));</p><p> //xmltv_ns is theorically zero-based number will be increased by one</p><p> seriesNum = CorrectEpisodeNum(seriesNum, 1);</p><p> episodeNum = CorrectEpisodeNum(episodeNum, 1);</p><p> episodePart = CorrectEpisodeNum(episodePart, 1);</p><p> }</p><p> </p><p>[/code]</p><p> </p><p>The entries you're seeing in the logs are effectively errors saying the numbers are too big to be held in a 4 byte signed integer.</p><p> </p><p></p><p> </p><p>Hopefully the above info is useful to you. Short of checking the database nothing that you've said here confirms the XMLTV plugin is not storing the data (when possible). I get the feeling there is a disconnect between your expectations and what is actually happening, and your expectations still aren't entirely clear to me. If you're used to using DJBlu's or miroslav22's custom builds for Sky EPG then it is entirely possible that things will be very different to what you're used to. $ky episode numbers may be intended to be interpreted in ways that the EPG Collector is not aware of...</p></blockquote><p></p>
[QUOTE="mm1352000, post: 998937, member: 82144"] Okay, so obviously MP has no relation to EPG Collector, and neither EPGC or MP have any control over what is in the broadcast stream. If EPGC is creating tags that way and you don't think they're reasonable then you should take it up with Steve. [url]http://sourceforge.net/p/epgcollector/discussion/1125945[/url] Having said that, the first number is the series number, second number is the episode number and third number is the episode part number. I wouldn't have thought episode parts would be all that common? Maybe it would help to read the XMLTV spec (this comes out of the dtd file, which can be opened in any text editor): [collapse]<!-- Episode number Not the title of the episode, its number or ID. There are several ways of numbering episodes, so the 'system' attribute lets you specify which you mean. There are two predefined numbering systems, 'xmltv_ns' and 'onscreen'. xmltv_ns: This is intended to be a general way to number episodes and parts of multi-part episodes. It is three numbers separated by dots, the first is the series or season, the second the episode number within that series, and the third the part number, if the programme is part of a two-parter. All these numbers are indexed from zero, and they can be given in the form 'X/Y' to show series X out of Y series made, or episode X out of Y episodes in this series, or part X of a Y-part episode. If any of these aren't known they can be omitted. You can put spaces whereever you like to make things easier to read. (NB 'part number' is not used when a whole programme is split in two for purely scheduling reasons; it's intended for cases where there really is a 'Part One' and 'Part Two'. The format doesn't currently have a way to represent a whole programme that happens to be split across two or more timeslots.) Some examples will make things clearer. The first episode of the second series is '1.0.0/1' . If it were a two-part episode, then the first half would be '1.0.0/2' and the second half '1.0.1/2'. If you know that an episode is from the first season, but you don't know which episode it is or whether it is part of a multiparter, you could give the episode-num as '0..'. Here the second and third numbers have been omitted. If you know that this is the first part of a three-part episode, which is the last episode of the first series of thirteen, its number would be '0 . 12/13 . 0/3'. The series number is just '0' because you don't know how many series there are in total - perhaps the show is still being made! The other predefined system, onscreen, is to simply copy what the programme makers write in the credits - 'Episode #FFEE' would translate to '#FFEE'. You are encouraged to use one of these two if possible; if xmltv_ns is not general enough for your needs, let me know. But if you want, you can use your own system and give the 'system' attribute as a URL describing the system you use. -->[/collapse] Trust me, it is reading all three numbers (if present): [code] if (nodeEpisodeNumSystem == "xmltv_ns") { serEpNum = ConvertHTMLToAnsi(nodeEpisodeNum.Replace(" ", "")); int dot1 = serEpNum.IndexOf(".", 0); int dot2 = serEpNum.IndexOf(".", dot1 + 1); seriesNum = serEpNum.Substring(0, dot1); episodeNum = serEpNum.Substring(dot1 + 1, dot2 - (dot1 + 1)); episodePart = serEpNum.Substring(dot2 + 1, serEpNum.Length - (dot2 + 1)); //xmltv_ns is theorically zero-based number will be increased by one seriesNum = CorrectEpisodeNum(seriesNum, 1); episodeNum = CorrectEpisodeNum(episodeNum, 1); episodePart = CorrectEpisodeNum(episodePart, 1); } [/code] The entries you're seeing in the logs are effectively errors saying the numbers are too big to be held in a 4 byte signed integer. Hopefully the above info is useful to you. Short of checking the database nothing that you've said here confirms the XMLTV plugin is not storing the data (when possible). I get the feeling there is a disconnect between your expectations and what is actually happening, and your expectations still aren't entirely clear to me. If you're used to using DJBlu's or miroslav22's custom builds for Sky EPG then it is entirely possible that things will be very different to what you're used to. $ky episode numbers may be intended to be interpreted in ways that the EPG Collector is not aware of... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
working episode numbers for epg anyone?
Contact us
RSS
Top
Bottom