Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support


Go Back   Australian Media Center Community > Windows Media Center Solutions > Windows Media Center - EPG Discussion & Support

Community Information

Reply
 
Thread Tools
Old 10th February 2008, 07:24 AM   #1 (permalink)
MC Guru
 
epgStream's Avatar
Status epgStream is Offline:
ActivityPosts: 1,000
Reputation & Thanks Support Rating:
epgStream epgStream epgStream epgStream epgStream epgStream epgStream
Points Earned: 711

epgStream has been Thanked 246 times in 116 posts
xmltvAlter - "Merge SD/HD XMLTV Channels" Sample

Hi,

In case you haven't noticed we are starting to re-factor and release some of our code technology for everyone to use! xmltvAlter is one of those applications that can do alot with only a little effort.

Here is a sample set of rules to merge your Standard Definition and High Definition channels together.

The first two "duplicateChannel" rules create two new channels, "SevenHD-Syd" and "TenHD-Syd", by copying "Seven-Syd" and "Ten-NSW". The next two "mergeChannels" rules overlay the "SevenHD" and "TenHD" programmes into the newly created channels.

Code:
<rule type="duplicateChannel" sourceChannelId="Seven-Syd" destinationChannelId="SevenHD-Syd" />
<rule type="duplicateChannel" sourceChannelId="Ten-Nsw" destinationChannelId="TenHD-Syd" />
<rule type="mergeChannels" sourceChannelId="SevenHD" destinationChannelId="SevenHD-Syd" removePartialOverrides="false" log="true" />
<rule type="mergeChannels" sourceChannelId="TenHD" destinationChannelId="TenHD-Syd" removePartialOverrides="false" log="true" />
OR ...
... you could just do it with only two rules (and no new channels created)! These two merge rules are using the mergeType="underwrite" attribute which means the destinationChannel is under-written by the sourceChannel. In effect this means "Seven-Syd" data is slipped under the "SevenHD" data, allowing the original HD data to replace the underlaying SD data.

Code:
<rule type="mergeChannels" sourceChannelId="Seven-Syd" destinationChannelId="SevenHD" removePartialOverrides="false" mergeType="underwrite" log="true" />
<rule type="mergeChannels" sourceChannelId="Ten-NSW" destinationChannelId="TenHD" removePartialOverrides="false" mergeType="underwrite" log="true" />
Hope that made sense!

Thanks,
__________________
banger @epgStream.net

Visit us at www.epgStream.net! || Forum Support at http://forum.epgstream.net!
Email us at free-epg@epgstream.net! || Talk to us on +61 2 80113647
Help us out with a small donation if you find our service useful!
  Reply With Quote
Reply

Bookmarks

Thread Tools



Advertisers
Terms Of Service - Contact Us - Advertise With Us - Archive - Privacy Statement - FAQ
Microsoft©, Windows XP©, Windows XP Media Center© & Windows Vista© are registered trademarks of Microsoft Corporation.
www.xpmediacentre.com.au has no relationship with, nor is affiliated in any way with Microsoft Corporation.
All original content on this website © 2004 - 2008 xpmediacentre.com.au, All rights reserved
Forum by vBulletin Version 3.7.3 - Copyright Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
Local time now is 02:13 AM AEDT.