|
SageTV EPG Service Discussion related to the SageTV EPG Service used within SageTV. Questions about service area coverage, channel lineups, EPG listings, XMLTV, or anything else related to the service or programming guide data for SageTV should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Scripts to modify XMLTV data.
Ok, I want to make a couple of changes to some of my xmltv data... for the program below, special attention to the item in bold:
Quote:
For series that have episode titles, like this one does, there is a carriage return right after the episode name. I looked through the data and there are not any carriage returns in any other <desc> data unless it is following an episode name, and the episode names are alwats rights at the beginning. I would like to parse the data so that the info before a carriage return is removed from the <desc> field and inserted into a new field within the listing of <subtitle> like this: <sub-title lang="en">Descent Into the Ice</sub-title> Can anyone give me a little direction on creating a script to do this?? |
#2
|
|||
|
|||
my xmltv grabber ( http://www.birtles.org.uk/xmltv ) can import and process xmltv listings. You will require a little knowledge of lua to do what you want though
|
#3
|
|||
|
|||
I use bkReplaceEm to tidy up xmltv files. It replaces strings in a text file and can be run from the command line. In this case replace
<desc lang="en"> - with <desc lang="en"> It is freeware from http://www.boolean.ca/replace/ Happy New Year Eric |
#4
|
|||
|
|||
Sorry, hadn't fully read what you want.
tvxb is as close as I've found to an intelligent xmltv grabber and will probably allow you to split the description and title fields as you need. www.tvxb.com Eric |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|