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
General Support
Episode name - not being collected
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="Anthony Vaughan" data-source="post: 1149930" data-attributes="member: 153283"><p>Hi CyberSimian</p><p></p><p>Well, that was fun. I think I have managed to get all of the episode information out of the existing EPG data that I'm going to. Irritatingly, there are several ways that the episode information is stored, usually by channel, which you will be able to see by running DVBGuide and looking at the XMLTV file.</p><p></p><p>One thing that used to drive me mad was when the programme name would be truncated with '...' at the end. This used to happen under WMC as well. Once you look at the XMLTV file it becomes obvious that the length of the title is restricted to quite a short length and the rest of the title is moved to the beginning of the description field. I dealt with that first. The problem was that the title overflow in the description field can be terminated by one if three characters. So far, I have found the following characters: '?', '.' and ':'. The description field must be tested for the presence of these characters in that order and the text to the left of the terminator, the overflow, can be moved to the title field - the length of the title after doing this is perfectly workable in my view.</p><p></p><p>Quite often the description field starts with the episode number and total number of episodes; e.g. 5/16. This can be stripped out and placed in the episodeNum field. Annoyingly, the other series information in the description field I mentioned above, (S1 Ep 8), is not in a fixed format. It can be of the format 'Ep8' or 'Ep 8', so it is necessary to use Regex to match and extract that data. Also, sometimes the S1 Ep8 is not in brackets and sometimes it is. Additionally, there may be Ep information without any S data. Therefore, I search for the Ep data then work backwards to see if there is any series information.</p><p></p><p>Anyway, after I did all this, 4,300 out of 13,539 had series/episode data. Many of the programs without that data are news type or teleshopping programs that don't really have episode names or series/episode data. Overall, now I am a very happy bunny.</p><p></p><p>Tony</p></blockquote><p></p>
[QUOTE="Anthony Vaughan, post: 1149930, member: 153283"] Hi CyberSimian Well, that was fun. I think I have managed to get all of the episode information out of the existing EPG data that I'm going to. Irritatingly, there are several ways that the episode information is stored, usually by channel, which you will be able to see by running DVBGuide and looking at the XMLTV file. One thing that used to drive me mad was when the programme name would be truncated with '...' at the end. This used to happen under WMC as well. Once you look at the XMLTV file it becomes obvious that the length of the title is restricted to quite a short length and the rest of the title is moved to the beginning of the description field. I dealt with that first. The problem was that the title overflow in the description field can be terminated by one if three characters. So far, I have found the following characters: '?', '.' and ':'. The description field must be tested for the presence of these characters in that order and the text to the left of the terminator, the overflow, can be moved to the title field - the length of the title after doing this is perfectly workable in my view. Quite often the description field starts with the episode number and total number of episodes; e.g. 5/16. This can be stripped out and placed in the episodeNum field. Annoyingly, the other series information in the description field I mentioned above, (S1 Ep 8), is not in a fixed format. It can be of the format 'Ep8' or 'Ep 8', so it is necessary to use Regex to match and extract that data. Also, sometimes the S1 Ep8 is not in brackets and sometimes it is. Additionally, there may be Ep information without any S data. Therefore, I search for the Ep data then work backwards to see if there is any series information. Anyway, after I did all this, 4,300 out of 13,539 had series/episode data. Many of the programs without that data are news type or teleshopping programs that don't really have episode names or series/episode data. Overall, now I am a very happy bunny. Tony [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Episode name - not being collected
Contact us
RSS
Top
Bottom