Quote:
Originally Posted by wallaceff
Bloody Ch9! They really can't get their act together, can they! lol
I've read on a different forum about someone running a script to change the capitilisation.
|
epgStream are developing a tool called
xmltvAlter.
I'm sure it has the ability to address this problem.
It has a file called xmltvRules.config.
You edit this file with a rule.
Inside the file xmltvRules.config is a template of rules.
See below
epgStream add more rules as the app develops.
I started looking and editing xml and config files the hard way using notepad.
I quickly learnt there are better editors to use.
Download this app.
XML Marker
Very easy to use and free.
It gives a better perspective of what your looking at. Especially when working with xml files.
Here is a listings file to view with XML Marker to see what I mean...
Attachment 2471
Open the listing file in XML Marker, Microsoft Word and notepad to see how different programs view a file.
Example of rules for xmltvAlter inside xmltvRules.config.
RULE TEMPLATES
~~~~~~~~~~~~~~
<rule type="addProgrammeSubtitle" titleStartsWith="" newTitle="" />
<rule type="changeChannelDisplayName" channelId="" displayName="" />
<rule type="changeProgrammeCategory" currentCategory="" newCategory="" />
<rule type="changeProgrammeTitle" currentTitle="" newTitle="" />
<rule type="changeChannelId" currentId="" newId="" />
<rule type="changeProgrammeTimeZone" channelId="" timeZone="" />
<rule type="adjustProgrammeTime" channelId="" adjustment="" />
<rule type="deleteProgramme" channelId="" scope="" range="" criteria="" lowerTimestamp="" upperTimestamp="" />
<rule type="duplicateChannel" sourceChannelId="" destinationChannelId="" />
<rule type="mergeChannels" sourceChannelId="" destinationChannelId="" removePartialOverrides="" />
<rule type="deleteChannel" channelId="" />
<rule type="deleteAllChannels" excludedChannelIdList="" listSeparator="" />
<rule type="comment" text="" filePath="" />
<rule type="clearNode" xmlPath="" />
<rule type="deleteNode" xmlPath="" />
<rule type="deleteNodeByText" xmlPath="" comparisonType="" findText="" />
<rule type="deleteNodeByAttributeText" xmlPath="" comparisonType="" attributeName="" findText="" />
<rule type="replaceNodeText" xmlPath="" findText="" replaceText="" />
<rule type="renameNodeText" xmlPath="" findText="" replaceText="" />
<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" />
-->
Bryce