Format of the file xmltv-A_0001.xml
|
|
Hi, Does someone know the tags used in the xml file in order to have the background colors on each program of the EPG (like yellow for news, blue for sport, red for movies, etc.) What are the other tags which are used ? <actor>, <date>, <actor>, <programme start="stop="> Thanks JVL |
|
|
The following tags & attributes are used somehow by EEP from XMLTV files: The category tag is used to send a ‘genre’ to EEP. Here’s the genres I had in my original trace of TitanTV data; I’m not sure if all of those give a different color, but some of them should. Action |
|
|
Great, thanks Do you know any good freeware (over mac osx) to edit an xml file (the xmltv file) because I have to merge two channels together in one new channel and I have to add 11 or 12hours to some channels (I leave in Tahiti and the program is from France : TPS). |
|
|
For the time difference, there’s an option in the config.inc.php file: Uncomment the line and test with +11 or +12, -11 or -12 to find the correction you need. As for a XML editor, I’m always using a text editor (TextMate) to edit XML files myself. |
|
|
The correction is for some channels only, not all of them. |
|
|
You can also automate this with a combination of: sed (to rename the channel names within your xml files)
tv_cat to merge the files
tv_sort to sort the data and strip redundant channel info
Combine these in a script with tv_grab_XX and you have a full automated procedure |
|
|
I didn’t know sed, looks quite powerfull. |
|
|
If you can provide both input and expected results, and give concrete examples of both 1 and 2 above from the provided data, I could probably make something quick in EEP that would do what you want. |
|
|
Exemple, if I use tv_grab_fr with a .conf file with the following channels : I would like to have : I’ll detail you this more in the week-end if necessary, thanks for your help ! |
|
|
Overwrite those two files in your EEP installation with those new versions: And add the following at the end of config.inc.php, before the ?> line:
Good luck. |
|
|
Hi Guillaume, Just to inform you that I haven’t managed to make it work yet. It seems that there is no tz correction by channel. 1. Just to be sure when I use a new XML file and/or modify the config.inc.php file, I rename it as A-0003 in the config.inc.php, I delete the old epg.db, I put the new A-0003 in cache and I erase from the cache the old A-0002 files, is that all I have to do to or is there something else to do to be sure not to use files in cache ? 2. It seems that the content (title) of the epg doesn’t appear on the channel in the blue part when I zap channels is that normal ? |
|
|
1. Set cacheDays to 0. This will completely disable the cache. 2. EyeTV doesn’t show the episode title in that blue bar, only the show ‘main’ title. |
|
|
When I do what is described in the previous post (1.) and set cacheDays to 0, I have noticed that I have errors in the /var/http/error_log and that the file which makes the error is concerning a previous file, for instance in the tail error_log, I have the following stuff whereas in my conf file it is the number A_0010 and in the cache also A_0010. I have the same error if I use either “old” functions.inc or the new one you have posted. Any explanation ? Thu Feb 21 23:18:24 2008 PHP Notice: Undefined index: A_00009 in /Library/WebServer/Documents/eyetv-epg-proxy/dataservice.asmx/RequestProgramData.php on line 20 2. The show which is in the <title> </title> doesn’t apear in the blue bar, here is a few lines in my xmltv file <channel id="C1.telepoche.com"> <display-name>tf1</display-name> <icon src="http://static.guidetele.com/c_img/chaine/tf1.gif" /> </channel> <programme stop="20080221061500 +0100" start="20080221055000 +0100" channel="C1.telepoche.com"> <title>Wounch-Pounch – Dans la peau d’un autre</title> <category lang="fr">emission jeunesse</category> </programme> |