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
Products
TV-Server
Loosing XMLTV mapping
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: 1101544" data-attributes="member: 82144"><p>No, that is <strong>not </strong>what I'm saying. I'll try to explain again...</p><p></p><p>The XMLTV files that you import contain guide data for a bunch of channels. Each of those channels has a unique identifier (AKA an ID) which is used to link each of the programs for the channel. For example, your XMLTV file might contain something like this (simplified!):</p><p></p><p><channel id="<strong>1234</strong>"></p><p> <display-name>NBC</display-name></p><p></channel></p><p><programme start="20140925063000 +1200" stop="20140925073000 +1200" channel="<strong>1234</strong>"></p><p> <title>NBC Show 1</title></p><p> <desc>Description of NBC show 1.</desc></p><p></programme></p><p><programme start="20140925073000 +1200" stop="20140925080000 +1200" channel="<strong>1234</strong>"></p><p> <title>NBC Show 2</title></p><p> <desc>Description of NBC show 2.</desc></p><p></programme></p><p><channel id="<strong>1235</strong>"></p><p> <display-name>CBS</display-name></p><p></channel></p><p><programme start="20140925063000 +1200" stop="20140925073000 +1200" channel="<strong>1235</strong>"></p><p> <title>CBS Show 1</title></p><p> <desc>Description of CBS show 1.</desc></p><p></programme></p><p><programme start="20140925073000 +1200" stop="20140925080000 +1200" channel="<strong>1235</strong>"></p><p> <title>CBS Show 2</title></p><p> <desc>Description of CBS show 2.</desc></p><p></programme></p><p></p><p>Do you see how the channel ID on the programme is used to indicate which channel the program is linked to?</p><p></p><p>When you save a mapping, TV Server stores the XMLTV channel IDs against the channels in the TV Server database. So for example, we'd save 1234 with your TV Server NBC channel and 1235 with your TV Server CBS channel.</p><p></p><p>When a new XMLTV file becomes available for import, we compare the the channel ID for each program in the file against the mapped XMLTV channel ID for each of your TV Server channels. If we find a match, then we store the program details with our guide data; if we don't find a match then the program is ignored (not imported).</p><p></p><p>Now, what I'm saying is happening is that the channel IDs that mc2xml (???) is putting into the XMLTV files are changing. For example, maybe the NBC ID changes from 1234 to 2345. What does that do? Well, it effectively breaks the saved mapping. In other words, when TV Server tries to import that XMLTV file it looks at the saved ID for NBC (which is 1234) and sees it doesn't match any of the NBC programs in the XMLTV file (which are linked to channel 2345), and so none of those programs are imported.</p><p></p><p>This is not a TV Server error or mistake. TV Server is not deleting or corrupting anything. It is Microsoft/mc2xml that changes their ID, and that is what is breaking the mappings. There's nothing that TV Server can do to force Microsoft to keep using the same IDs, and unfortunately we're also unable to automatically match the new IDs with the old ones. So, if you want to keep getting your data from Microsoft then you're going to have to live with this problem.</p><p></p><p>Regards,</p><p>mm</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1101544, member: 82144"] No, that is [B]not [/B]what I'm saying. I'll try to explain again... The XMLTV files that you import contain guide data for a bunch of channels. Each of those channels has a unique identifier (AKA an ID) which is used to link each of the programs for the channel. For example, your XMLTV file might contain something like this (simplified!): <channel id="[B]1234[/B]"> <display-name>NBC</display-name> </channel> <programme start="20140925063000 +1200" stop="20140925073000 +1200" channel="[B]1234[/B]"> <title>NBC Show 1</title> <desc>Description of NBC show 1.</desc> </programme> <programme start="20140925073000 +1200" stop="20140925080000 +1200" channel="[B]1234[/B]"> <title>NBC Show 2</title> <desc>Description of NBC show 2.</desc> </programme> <channel id="[B]1235[/B]"> <display-name>CBS</display-name> </channel> <programme start="20140925063000 +1200" stop="20140925073000 +1200" channel="[B]1235[/B]"> <title>CBS Show 1</title> <desc>Description of CBS show 1.</desc> </programme> <programme start="20140925073000 +1200" stop="20140925080000 +1200" channel="[B]1235[/B]"> <title>CBS Show 2</title> <desc>Description of CBS show 2.</desc> </programme> Do you see how the channel ID on the programme is used to indicate which channel the program is linked to? When you save a mapping, TV Server stores the XMLTV channel IDs against the channels in the TV Server database. So for example, we'd save 1234 with your TV Server NBC channel and 1235 with your TV Server CBS channel. When a new XMLTV file becomes available for import, we compare the the channel ID for each program in the file against the mapped XMLTV channel ID for each of your TV Server channels. If we find a match, then we store the program details with our guide data; if we don't find a match then the program is ignored (not imported). Now, what I'm saying is happening is that the channel IDs that mc2xml (???) is putting into the XMLTV files are changing. For example, maybe the NBC ID changes from 1234 to 2345. What does that do? Well, it effectively breaks the saved mapping. In other words, when TV Server tries to import that XMLTV file it looks at the saved ID for NBC (which is 1234) and sees it doesn't match any of the NBC programs in the XMLTV file (which are linked to channel 2345), and so none of those programs are imported. This is not a TV Server error or mistake. TV Server is not deleting or corrupting anything. It is Microsoft/mc2xml that changes their ID, and that is what is breaking the mappings. There's nothing that TV Server can do to force Microsoft to keep using the same IDs, and unfortunately we're also unable to automatically match the new IDs with the old ones. So, if you want to keep getting your data from Microsoft then you're going to have to live with this problem. Regards, mm [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
Loosing XMLTV mapping
Contact us
RSS
Top
Bottom