NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 74 75 76 77 78 … 93 Next »
Extra Zap2It Meta Data

 
  • 0 Vote(s) - 0 Average
Extra Zap2It Meta Data
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#1
2004-12-01, 08:32 PM
Well so far I have been able to access zap2it downloading a big xml file of the data. I parse it apart and populate a new database with the fields.

The problem I am having is I need to be able to compact the database. Any ideas?
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,394
Threads: 741
Joined: Nov 2003
#2
2004-12-01, 08:41 PM
You cant do a "compact" with the oledb .net database stuff. You need to use ado/jet interop stuff. That said, I'm not bothering at this stage - it very difficult to coordinate all the processes to drop their connections so I can get exclusive access...
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#3
2004-12-01, 08:49 PM
Sounds like I should have a clean mdb file in the same directory that I will copy over the existing one.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#4
2004-12-01, 09:22 PM
can some zap2it users with ms access help me out with testing this on different lineups.


unzip these to gbpvr

run zapimport username password

then open it with access to make sure the data is good.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#5
2004-12-01, 09:55 PM
I'll take a look at this when I get home later tonight.
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#6
2004-12-01, 10:09 PM
I have only tested this on my listings. Once it stablizes a bit. I will post it and the code on wiki.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
ecorbin
Offline

Member

Posts: 71
Threads: 7
Joined: Sep 2004
#7
2004-12-01, 10:50 PM
jorm, I have tested this on my line-up. There is data in the db, but I'm not sure exactly what data should be there. ChannelData, Crew, and Genre all look good, but there's some weird things in ProgramData. For example, I've got a program in there that says it has an air date of '1953-10-12'. There are many, many programs with old dates like that. Would you like me to email you my db?
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#8
2004-12-02, 12:05 AM
ecorbin,

lets try this first.  There is now a file called zapdata.xml in your directory.  Can you search for '1953-10-12' in there.  The air date is the first air date.  Maybe some old holiday movies that first aired in the 50's are being picked up.  Let me know what you find.

I am glad to hear that the basic parsing is working.  [Image: smile.gif]

You can always get the program_id and look that up in the gbpvr.mdb in the unique_identifier tab to determine what show it is.

I have some shows in my xml like below with an old date as well.

program id="EP0026330066">
<title>
Little House on the Prairie
</title>
<subtitle>
The Wisdom of Solomon
</subtitle>
<description>
A black boy (Todd Bridges) offers to be the Ingalls' slave in exchange for attending school.
</description>
<showType>
Series
</showType>
<series>
SH002633
</series>
<syndicatedEpisodeNumber>
3019
</syndicatedEpisodeNumber>
<originalAirDate>
1977-02-28
</originalAirDate>
</program>
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
Lucas_24
Offline

Member

Posts: 242
Threads: 15
Joined: Jul 2004
#9
2004-12-02, 12:59 AM
just tried this, the database looks good, let me know if you'd like me to email the files. I never realised there was so much info available. I suspect you guys will write some pretty neat plugins using this.
WIN 7
1 X PVR 250
1 X PVR 500
1 X HD-PVR
2 X MVP
2 X PCH A100
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#10
2004-12-02, 01:31 AM
I have run the database with my lineup. I was just checking to make sure it worked on more than just my machine. The next step is to make some of the existing plugins aware of the zap info so if it there it will have additional functionality.

Any suggestions of plugins or enhancement please post. [Image: smile.gif]

I am going to start a dll to interface with this data tomorrow.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Extra Events jcole998 1 869 2021-03-08, 02:48 PM
Last Post: mvallevand
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 2,133 2018-10-23, 07:24 AM
Last Post: almightyj
  Getting more than 24 hours of Guide Data scJohn 4 2,904 2018-05-16, 04:20 AM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,278 2014-11-14, 02:05 AM
Last Post: Benoire
  Merge xmltv data with xslt Graham 4 2,748 2014-01-02, 12:45 PM
Last Post: Graham
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 4,548 2013-03-24, 08:03 PM
Last Post: imilne
  Get NextPVR data directory from outside a plugin McBainUK 3 1,601 2012-02-11, 05:42 PM
Last Post: mvallevand
  Extracting data from XML files ACTCMS 4 1,710 2012-01-24, 12:16 AM
Last Post: sub
  C# code to get data directory? McBainUK 2 2,322 2011-09-19, 07:57 PM
Last Post: McBainUK
  Data binding imilne 2 1,526 2011-07-20, 08:57 AM
Last Post: imilne

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

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

Linear Mode
Threaded Mode