NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 71 72 73 74 75 … 93 Next »
new TheaterListPlugin info

 
  • 0 Vote(s) - 0 Average
new TheaterListPlugin info
srchuck
Offline

Junior Member

Posts: 44
Threads: 3
Joined: Sep 2004
#1
2004-10-07, 01:14 AM
Here's a screenshot of the new config dialog (accessible from GBPVR's Config app) for your viewing pleasure!

[Image: TheaterListPluginConfig.gif]

Feel free to post comments and suggestions!

( FYI: This isn't a mockup screenshot [Image: smile.gif] )
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2004-10-07, 01:40 AM
Thats looking very nice. Well done.
joshley
Offline

Member

Posts: 146
Threads: 40
Joined: Jul 2004
#3
2004-10-07, 03:24 AM
Does the grabber grab the listings into XML format? I might write a grabber for Scoot.co.uk for British cinemas.
joshley
Offline

Member

Posts: 146
Threads: 40
Joined: Jul 2004
#4
2004-10-07, 03:25 AM
Does the grabber grab the listings into XML format? I might write a grabber for Scoot.co.uk for British cinemas.
srchuck
Offline

Junior Member

Posts: 44
Threads: 3
Joined: Sep 2004
#5
2004-10-07, 03:19 PM
Joshley,

Yes, the grabbers will grab the listings in XML format. The final structure of the XML is not decided yet.

Grabber plugins get the listings of shows and any other information they care to gather, and return it to the main plugin as an XmlNodeList object. I'll be releasing the plugin interface specs and the required SDK (just a plugin interface dll, really) when some of this stuff gets finalized.

I would recommend going ahead with writing the core logic of a grabber! If you like, I can send you the DLL + source for the HTML parser I'm using for the Fandango grabber, if you want to do screen scraping to get your listings.

SrChuck
joshley
Offline

Member

Posts: 146
Threads: 40
Joined: Jul 2004
#6
2004-10-07, 04:46 PM
The source for the HTML parser would probably save a lot of unnecessary work, just a little adaption here and there! I am definately thinking of screen scraping, Scoot looks quite easy to parse. They're almost giving it away!
Thanks SrChuck
josh
srchuck
Offline

Junior Member

Posts: 44
Threads: 3
Joined: Sep 2004
#7
2004-10-07, 05:11 PM
Josh,

You can find the binaries (now with docs!Wink for the HTML parser I use (licensed under the LGPL) at this location:

http://gcm.dnsalias.org/HTMLparser-bin.zip

To use it in your project, just reference HTML.dll in your project and do something similar to below.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
using HTML;

....
{
.... Your code here ....
ParseHTML htmlParser = new ParseHTML();
ParseHTML.Source = page; // page is a string with the contents of the page to parse
.... Your code here ....
}
[/QUOTE]

I've added a MSDN-style compiled HTML help file to the distribution, and I've removed the source for now. If you still want the source, it'll be available from:

http://gcm.dnsalias.org/HTMLparser-source.zip
joshley
Offline

Member

Posts: 146
Threads: 40
Joined: Jul 2004
#8
2004-10-07, 06:18 PM
SrChuck,

Cheers! I'll have a look at that as soon as I can. I use Sharp Develop so that's perfect [Image: smile.gif]
I'll have a play over the coming weekend and see what I come up with, thanks very much for that!

joshley
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#9
2004-10-07, 06:28 PM
srcchuck,

looks nice. Far cry from my initial command line. [Image: smile.gif] Great work.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
srchuck
Offline

Junior Member

Posts: 44
Threads: 3
Joined: Sep 2004
#10
2004-10-07, 07:03 PM
Thanks everyone for your support! I've really been enjoying working on the plugin in my spare time, with the exception of figuring out how to do plugins for plugins.. that was really kicking my posterior for a while! But, that's working nicely now! [Image: smile.gif]

I'm working on Microsoft HTML Help for the HTML class; progress is good. I'll repost the link to the HTML parser class with docs when I've got that done. I imagine I'll have that finished some time tonight, perhaps tomorrow.

I may remove the source from the HTML help class and distribute it separately, to help reduce the possibility of multiple different versions of the HTML.dll being used by different grabber plugins.

[Image: biggrin.gif]

Thank yous go to sub and to jorm and to everyone that made this all possible!

SrChuck
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  API (URL Info?) arrmo 14 14,450 2015-08-26, 02:04 PM
Last Post: arrmo
  Timing.Info question mvallevand 2 2,144 2013-04-19, 03:54 AM
Last Post: mvallevand
  NPVR 2.x recordings metadata and timing.info whurlston 4 2,958 2012-08-01, 06:19 PM
Last Post: whurlston
  DVD info lookup via WMP? McBainUK 20 10,004 2010-07-23, 09:55 PM
Last Post: whurlston
  Getting reoccurring extras info fla 6 2,347 2009-08-28, 06:47 PM
Last Post: fla
  DVB-S tuning info bgowland 11 4,033 2008-12-08, 11:37 PM
Last Post: bgowland
  EXIF info ACTCMS 5 2,339 2008-07-11, 02:27 AM
Last Post: bgowland
  Function to provide more info on playing video? markm 3 2,060 2007-09-16, 02:19 PM
Last Post: ralphy
  Video OSD plugin - Current channel info McBainUK 4 1,984 2006-09-21, 01:34 AM
Last Post: tipstir
  How to get info on a running instance of GBPVR McBainUK 5 2,406 2006-03-23, 11:09 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