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
ecorbin
Offline

Member

Posts: 71
Threads: 7
Joined: Sep 2004
#11
2004-12-02, 03:11 AM
[b Wrote:Quote[/b] (jorm @ Dec. 01 2004,18:05)]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.
Hmmm...the 1953-10-12 show is ABC World News Tonight. The next oldest date was 1956-11-26, which was for The Price Is Right. Is it giving the date for the first episode of these programs, rather than for the current episode?
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#12
2004-12-02, 11:13 AM
It seems to be the first airing of the series not of the current episode.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
mroy
Offline

Junior Member

Posts: 13
Threads: 2
Joined: Feb 2005
#13
2005-02-02, 08:21 AM
Are you guys still working on this plugin? I downloaded & ran the zapimport.exe. It downloaded the 7.5 Mb zapdata.xml, and then came up w/ the following errors:

Alert Window:
CLR Debugging Services
Application has generated an exception that could not be handled.
Process id=0x990(2448), Thread id=0xca4(3236).

Command Line:
Total Loaded 0
Loading up schedules

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at org.kjac.dev.DataDirect.ZapDataeader.loadSchedules(XmlNode rootNode)
at org.kjac.dev.DataDirect.MainClass.Main(String[] args)

Depending on what language you're writing this in I may be able to help out.

Any thoughts on doing this in MSDE? It's noticeably faster than access.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#14
2005-02-02, 03:52 PM
The XML processing probably needs to change, as I believe since Jorm originally wrote this application, the Zap2It XML format has changed. Mainly the web services just need to be regenerated.

Once this is stabalized, I'll look at integrating this with MSDE as well since I did the original leg work on that research project. Shouldn't be to difficult to do, either a new database will exist, or a new set of tables.



mroy
Offline

Junior Member

Posts: 13
Threads: 2
Joined: Feb 2005
#15
2005-02-02, 08:37 PM
Sounds great, thanks for your work.
gwyden
Offline

Junior Member

Posts: 39
Threads: 5
Joined: Mar 2005
#16
2005-03-15, 04:05 AM
[b Wrote:Quote[/b] (jorm @ Dec. 01 2004,14:32)]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?
@J: I don't know if you're still looking for an answer to this questions but check this out (for Access Version 2000 and later only):

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
Public Function AutoCompactMe()
Dim fs, f, s, filespec
Dim strProjectPath As String, strProjectName As String
strProjectPath = Application.CurrentProject.Path
strProjectName = Application.CurrentProject.Name
filespec = strProjectPath &amp; "\" &amp; strProjectName
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFile(filespec)
s = CLng(f.Size / 1000000) ‘convert size of app from bytes to Mb’s
If s > 20 Then ‘edit the 20 (Mb’s) to the max size you want to allow your app to grow.
Application.SetOption ("Auto Compact"), 1 ‘compact app
Else
Application.SetOption ("Auto Compact"), 0 ‘no don’t compact app
End If
End Function[/QUOTE]

Put this in as a Global Module

Then Call the Function from the procedure that closes down your app, before e.g. Docmd.Quit:

AutoCompactMe
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#17
2005-03-15, 04:19 AM
The application will already compact the database each time you click the OK button in the config app. It can only be done at this time because it needs to stop the recording service from accessing the database at the same time as the compact occurs.
gwyden
Offline

Junior Member

Posts: 39
Threads: 5
Joined: Mar 2005
#18
2005-03-15, 12:31 PM
[b Wrote:Quote[/b] (sub @ Mar. 14 2005,22:19)]The application will already compact the database each time you click the OK button in the config app. It can only be done at this time because it needs to stop the recording service from accessing the database at the same time as the compact occurs.
@sub: This is actually a suggestion for the zapdb.mbd that is holding the unused information.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#19
2005-03-15, 03:45 PM
ah, sorry. skim reading....
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Extra overriding #EXT-X-KEY wishlist mvallevand 4 336 2025-01-08, 05:56 PM
Last Post: sub
  Extra Events jcole998 1 1,430 2021-03-08, 02:48 PM
Last Post: mvallevand
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,350 2018-10-23, 07:24 AM
Last Post: almightyj
  Getting more than 24 hours of Guide Data scJohn 4 3,555 2018-05-16, 04:20 AM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,857 2014-11-14, 02:05 AM
Last Post: Benoire
  Merge xmltv data with xslt Graham 4 3,410 2014-01-02, 12:45 PM
Last Post: Graham
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,027 2013-03-24, 08:03 PM
Last Post: imilne
  Get NextPVR data directory from outside a plugin McBainUK 3 2,211 2012-02-11, 05:42 PM
Last Post: mvallevand
  Extracting data from XML files ACTCMS 4 2,311 2012-01-24, 12:16 AM
Last Post: sub
  C# code to get data directory? McBainUK 2 2,756 2011-09-19, 07:57 PM
Last Post: McBainUK

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

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

Linear Mode
Threaded Mode