PDA

View Full Version : XMLTV plugin users...


pawn
05-20-2003, 06:52 AM
...do all shows show up as "First Run" in your Sage Guide?

I am using the modified plugin by Lester Jacobs, the North American grabber and I sort the data by channel after grabbing it (and nothing else).

Any way around this?

That is all.

pawn
05-20-2003, 07:39 AM
BTW:

Just to make it clear:

- SageTV Beta 1.3.4
- Using Java RTE 1.4.2 Beta.
- XMLTV 0.5.10
- North American grabber, Oakville, ON cable listings
- using plugin modified by Lester Jacobs here:

http://www.freytechnologies.com/forums/attachment.php?s=&postid=2476

(he clearly states he fixed the "First Run" problem for this modification to mlar's original)

- Windows XP Home, SP1

All programming definitely flagged as first run in Sage Guide (when looking at the program "Info" in the guide).

Thanks.

Lester Jacobs
05-20-2003, 08:06 AM
I don't believe the plugin is the problem, it's probably the data from xmltv.

The plugin correctly assigns First Run/Rerun status I believe, based on my testing. However, the First Run/Rerun info from xmltv is a bit sketchy. XMLTV listings seem to have incorrect First Run/Rerun indicators. Specifically, xmltv listings seem to have a lot of rerun shows listed as first runs, which results in skewed data when the plugin does the import. There's nothing I can do as far as the data from xmltv is concerned.

In order to determine whether the plugin or xmltv is at fault here, run the following test:

Examine the epgdata.xml file (you can open it using Internet Explorer) and look for the <previously-shown/> tag. <previously-shown/> is xmltv's indicator for rerun. For each instance of this tag, determine which show it belongs to and then look at the same show in the Sage Guide. If there are any instances where a show with the <previously-shown/> tag in the epgdata.xml file does not show up as rerun in Sage Guide then please send me that section of the epgdata.xml file (not the whole file!) in a PM and I'll take a look at the code to see if I can find the bug.

Cheers
Lester

pawn
05-20-2003, 11:57 AM
Originally posted by Lester Jacobs
I don't believe the plugin is the problem, it's probably the data from xmltv.

The plugin correctly assigns First Run/Rerun status I believe, based on my testing. However, the First Run/Rerun info from xmltv is a bit sketchy. XMLTV listings seem to have incorrect First Run/Rerun indicators. Specifically, xmltv listings seem to have a lot of rerun shows listed as first runs, which results in skewed data when the plugin does the import. There's nothing I can do as far as the data from xmltv is concerned.

In order to determine whether the plugin or xmltv is at fault here, run the following test:

Examine the epgdata.xml file (you can open it using Internet Explorer) and look for the <previously-shown/> tag. <previously-shown/> is xmltv's indicator for rerun. For each instance of this tag, determine which show it belongs to and then look at the same show in the Sage Guide. If there are any instances where a show with the <previously-shown/> tag in the epgdata.xml file does not show up as rerun in Sage Guide then please send me that section of the epgdata.xml file (not the whole file!) in a PM and I'll take a look at the code to see if I can find the bug.

Cheers
Lester

I will do this later today (when I get home).

Perhaps, also, I could contribute a parser that prompts the user for known first run dates and times for common shows and inserts the proper data (and corrects all non-first run airings).

Been looking for a project lately ;^)

Thanks for the response.

olyar15
05-20-2003, 02:18 PM
I looked at the XML listings and I don't even see where they list shows as first run or rerun. It seems that if this info isn't listed, then SageTV treats it as first run. Therefore, all my show listings are "first run."

pawn
05-20-2003, 07:46 PM
Lester:

You're right, some re-runs are missing the previously shown flag.

I think I'm going to create a parser that does the following:

1. Prompts a user for a list of favourite shows and known first run times (possibly with a configuration file so everything can be automated after downloading the XMLTV data).

2. Runs through the file and adds the previously shown tag (or ensures it exists) to all instances of a given show that does not match the known first run time.

3. I'm also going to allow an option to slightly modify the name of redundant airings of the same show at the same time to ensure multiple tuners aren't recording the same show.

Maybe nobody will want it, but it will help me immensely.