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) GB-PVR Support (legacy) v
« Previous 1 … 768 769 770 771 772 … 1231 Next »
EPG update errors in log but EPG is OK

 
  • 0 Vote(s) - 0 Average
EPG update errors in log but EPG is OK
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#11
2006-06-24, 12:47 AM (This post was last modified: 2007-02-28, 04:52 AM by Jim_.)
Hi HtV
Assuming that's the only problem the xml file has, it was such a simple fix that I couldn’t resist.
Just run “HtV.exe [InFile] [OutFile]” after your grabber in UdateEPG.bat.

The compiled version's attached with a sample batch file. If it doesn’t work its no big loss, here's the entire QB 4.5 source code... a 15-minute project while I was playing back another video I didn’t really want to watch.Big Grin


HTV.EXE [InFile] [OutFile]
Remove empty programme entries
Filenames must be DOS 8.3 compliant.

Code:
CLA$ = LTRIM$(RTRIM$(COMMAND$))
FOR i = 1 TO LEN(CLA$)
IF MID$(CLA$, i, 1) = " " THEN FirstName! = 1
IF FirstName! <> 1 THEN InFile$ = LTRIM$(InFile$) + MID$(CLA$, i, 1)
IF FirstName! = 1 THEN OutFile$ = LTRIM$(OutFile$) + MID$(CLA$, i, 1)
NEXT i

OPEN InFile$ FOR INPUT AS #1
OPEN OutFile$ FOR OUTPUT AS #2

DO UNTIL EOF(1)
IF NOT EOF(1) THEN LINE INPUT #1, in$
   IF in$ = "  <programme>" THEN
      n = (n + 1)
      DO UNTIL LEFT$(in$, 18) = "  <programme start" OR in$ = "</tv>"
         LINE INPUT #1, in$
      LOOP
   END IF
PRINT #2, in$
IF LEFT$(in$, 18) = "  <programme start" THEN P = (P + 1)
LOOP
PRINT P; " Programme listings were written to the output file"
PRINT n; " Empty listings were removed"
CLOSE
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#12
2006-06-24, 08:25 AM
Jim you're the bestBig Grin
I only had little time to test but it seemed to work ok.
I'll test later when I have more time. Have to do the weekend shoppings and since my son is home for the weekendSmile , we'll be watching a lot of World Championship-soccerSmile. That too calls for some appropriate shoppingBig Grin .
Thanks again alot.

cya Hans
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#13
2006-06-24, 12:52 PM
Ok, I put the htv.exe in the updateepg.bat, made the necessary adjustments and everything is fine againBig Grin
Thanks a lot once again.
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#14
2006-06-24, 06:13 PM
You’re welcome, glad it worked!Smile
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
Ton
Offline

Member

Posts: 233
Threads: 16
Joined: Aug 2005
#15
2006-06-29, 05:55 AM
Well from the looks of it is has to do with the new .NET 2.0 changed XML-handling routines....

I'll put this on my to-do list (highest prio on EPGFilter), but unfortunately moving to 2.0 was something I hadn't planned untill beginning of August...

I'll see if I can move that up....

I'll get back on this one.

Regards,

//Ton
//Ton
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#16
2006-06-29, 07:29 AM
Well it works now with some extra filtering from Jim's htv.exe, so its not the most urgent I guess. Remember, it only (afaik) generates errors in the log but the epg kept working fine. It's very well possible that more people suffer from the same issue but haven't noticed it. I only noticed it by reading the logs.
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
« 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
  Stream errors in recordings with GBPVR seymoria 11 4,857 2011-06-19, 06:44 PM
Last Post: seymoria
  "database disk image is malformed" during attemped EPG update! (GBPVR v.1.4.7) DaveA 4 3,513 2011-01-23, 06:35 PM
Last Post: DaveA
  EPG won't update nate 3 2,738 2011-01-04, 03:55 PM
Last Post: sub
  Update EPG Issue dean70 1 2,006 2010-11-13, 05:31 PM
Last Post: sub
  EPG update problem NZ Fredo 5 2,969 2010-10-13, 10:42 PM
Last Post: Jaggy
  xmltv update timing problem aneez 3 2,251 2010-09-29, 06:34 AM
Last Post: aneez
  EPG update problem Aelanna 5 2,999 2010-09-26, 03:01 PM
Last Post: Aelanna
  EPG update error aibo 38 10,980 2010-07-23, 02:35 AM
Last Post: User
  Installation errors ziton 8 2,862 2010-07-13, 11:59 PM
Last Post: ziton
  Guide update registers multiple conflicting programs keith_leitch 0 1,410 2010-07-09, 09:48 PM
Last Post: keith_leitch

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

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

Linear Mode
Threaded Mode