NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) UbuStream, Web Radio and Universe v
« Previous 1 … 3 4 5 6 7 8 Next »
EPGExtra on GB-PVR 1.0

 
  • 0 Vote(s) - 0 Average
EPGExtra on GB-PVR 1.0
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#11
2007-09-07, 10:24 PM
ubu Wrote:I haven't forgotten about this. Just been busy.

My initial take on what's involved to get EPGExtra to work with the XMLTV output from the three programs is that my main problem is that the program ID is not available in the XML schema.

Currently, EPGExtra reads the program ID from the zap2it.xml file generated by the GBPVR update EPG process and then uses that as the key for updating the Programme table in the GBPVR database. The program ID gives me the unique identifier for a specific instance of a program being aired at a specific time. Since the XMLTV schema doesn't appear to have an equivalent identifier, I'd have to use something like a concatenation of title, channel and start time to access it. :eek:

I'd been hoping that I'd just have to add some code to read an alternate input format while leaving the database access code unchanged. But it looks like this will involve a more major rewrite. I'll try to get to it ASAP.

We have the the episode number, will that help?
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#12
2007-09-08, 04:18 AM
-Oz- Wrote:We have the the episode number, will that help?
Not really. Episode number would, in any case, only apply to a subset of TV shows (a movie wouldn't have one, for instance).

I think that a combination of channel, start date/time and title constitutes the unique identifier for an instance of a show. Presumably, that's what sub must use when he populates the Programme table from the XMLTV file. The Program ID in the Zap2It file was simply a surrogate key (in database terms) that could be used to represent that show instance. And since it was available, I used it as the predicate for the SQL updates. I'll just have to rewrite the db updates. My only worry is that this may cause EPGExtra to take longer to run since the database engine will be doing more work.
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#13
2007-09-08, 07:50 AM
ubu Wrote:Not really. Episode number would, in any case, only apply to a subset of TV shows (a movie wouldn't have one, for instance).

I think that a combination of channel, start date/time and title constitutes the unique identifier for an instance of a show. Presumably, that's what sub must use when he populates the Programme table from the XMLTV file. The Program ID in the Zap2It file was simply a surrogate key (in database terms) that could be used to represent that show instance. And since it was available, I used it as the predicate for the SQL updates. I'll just have to rewrite the db updates. My only worry is that this may cause EPGExtra to take longer to run since the database engine will be doing more work.

Would it be easier to process the actual xml file and then like gbpvr put it in the database. Seems like it wouldn't be hard to read the xml tags in then just modify the xml. That is how I would do it if I were gonna make an EPG enhancer.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#14
2007-09-08, 10:27 AM (This post was last modified: 2007-09-08, 10:39 AM by whurlston.)
Programme ID is available in the <episode-num system="dd_progid"> tag:
Code:
<programme start="20070907040500 +0000" stop="20070907050700 +0000" channel="11291">
    <title>The Tonight Show With Jay Leno (New)</title>
    <duration units="minutes">62</duration>
    <episode-num system="dd_progid">EP0043973974</episode-num>
    <desc>Actor Daniel Radcliffe; Kings of Leon perform.</desc>

Is there somewhere else that you would like it? We can pretty much put it anywhere you want.

-OZ-, if you're not outputting this, it's the field after the callsign.
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#15
2007-09-08, 04:16 PM
whurlston Wrote:-OZ-, if you're not outputting this, it's the field after the callsign.
I am definitely outputting it. And it does exist for movies as well. Its unique per episode of show, not neccessarily per individual time slot.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#16
2007-09-14, 08:15 AM
-Oz- Wrote:I am definitely outputting it. And it does exist for movies as well. Its unique per episode of show, not neccessarily per individual time slot.

whurlston Wrote:Programme ID is available in the <episode-num system="dd_progid"> tag:
Code:
<programme start="20070907040500 +0000" stop="20070907050700 +0000" channel="11291">
    <title>The Tonight Show With Jay Leno (New)</title>
    <duration units="minutes">62</duration>
    <episode-num system="dd_progid">EP0043973974</episode-num>
    <desc>Actor Daniel Radcliffe; Kings of Leon perform.</desc>
Is there somewhere else that you would like it? We can pretty much put it anywhere you want.
OK - I found it. (Sorry, I should have noticed it was there earlier.) That should solve my problem nicely. I'll try to get some time to work on my code this weekend.

And you're right, Oz, the time slot doesn't really matter. Not sure what the system="dd_progid" is all about. Does that imply that there could be other attributes added to the episode-num element in the future?
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#17
2007-09-14, 03:15 PM
there is another ep number for the on screen episode.

This may not matter though because yahoo appears to have killed the data.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#18
2007-09-14, 05:25 PM
dd_progid just means "Data Direct Program ID". As Dan said, there is also the Onscreen ID which follows no specific format and each content provider uses it differently. dd_progid is the best one to use.
chewy747
Offline

Member

Posts: 188
Threads: 36
Joined: Aug 2005
#19
2007-09-19, 01:21 AM
will epgextra be available for schedules direct? i miss knowing if it is a repeat or not
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#20
2007-09-20, 02:10 AM
chewy747 Wrote:will epgextra be available for schedules direct? i miss knowing if it is a repeat or not
See epg extra and schedules direct
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  EPGExtra Resource/CPU Utilization JavaWiz 2 2,329 2007-06-19, 05:26 AM
Last Post: JavaWiz
  EPGExtra utility - support ubu 23 10,115 2007-04-30, 05:32 AM
Last Post: zehd

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode