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
#11
2004-10-07, 11:33 PM
I've edited my above post with availabilty of the HTML library I use for parsing HTML. A binary-only package and a source+binary package are now available.

If you make changes to the HTML source and are using those changes in what will be a grabber plugin, please use a different name for your binary or include the changes directly into your project's source - this will help us in avoiding DLL ####.

Also, please submit back any changes that are made to the source of the HTML parser, as I'd be interested to see what people come up with that improves things!

Cheers,
SrChuck
srchuck
Offline

Junior Member

Posts: 44
Threads: 3
Joined: Sep 2004
#12
2004-10-08, 12:03 AM
I've sketched up a quick outline of what elements I believe would belong in an XML document describing the available films and theaters for a given location. Here is a quick annotated skeleton:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
<database> // root element
<theater name="GBPVR Theater"> // one or more can be present; name of theater
<address>1 GBPVR Way|Earth, Galaxy, Universe AreaCode</address> // optional, postal address of theater, lines separated by |
<phone>theaterphonenumber</phone> // optional
<film name="filmtitle"> // one or more required per theater
<showtimes>12:00am, 11:00pm, ...</showtimes> // required
<posterimage>url/of/poster/image</posterimage> // optional, recommended
<extrainfo> // optional
<rating>G</rating> // optional; film advisory board rating
<genre>Comedy, Drama, Action</genre> // optional
<length>1:30</length> // optional, requires no special formatting
<releasedate>Oct. 10, 2004</releasedate> // optional, date released to theater
<cast>GBPVR forum members</cast> // optional, film cast
<director>sub</cast> // optional, director of film
<synopsis>sub creates a free PVR application; forum members create plugins</synopsis> // optional
</extrainfo>
</film>
</theater>
<theater...>
</database>
[/QUOTE]

That's it, in a nutshell. Any additions, changes, etc. please direct comments as replies!
srchuck
Offline

Junior Member

Posts: 44
Threads: 3
Joined: Sep 2004
#13
2004-10-09, 02:55 AM
New config dialog screenshot!

[Image: TheaterListPluginConfig2.gif]

I've been hard at work adding all kinds of new features, such as
the ability to download names of theaters per area and exclude the ones that you don't want to get listings for. That functionality is not yet complete, but progress is steady.
srchuck
Offline

Junior Member

Posts: 44
Threads: 3
Joined: Sep 2004
#14
2004-10-09, 08:16 PM
New! Improved! Here's an example of the XML format that will be used by the TheaterList plugin:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><?xml version="1.0"?>
<database>
<theater name="Cinema 4" location="6301 University Avenue|Cedar Falls, IA 50613" number="319-277-1061">
<film title="First Daughter" showtimes="12:30, 2:45, 4:50">
<extrainfo rating="PG - language, sexual situations and alcohol-related material" genre="Comedy, Drama, Kids/Family" runningtime="1 hr. 45 min." releasedate="September 24, 2004" cast="Michael Keaton, Katie Holmes, Marc Blucas" director="Forest Whitaker" posterURL="http://images.fandango.com//images/posters/small/firstdaughter2_sm.jpg" synopsis="First daughter Samantha Mackenzie's life in the spotlight begins to take its toll. Excited about her first year away at college, she demands to be allowed to go away without having to be followed by a fleet of omnipresent secret service agents. She is elated when her father reluctantly agrees, and the chance to finally be on her own. But, without her knowing, her father assigns one of the youngest Secret Service agents to follow her around on campus disguised as a student anyway." />
</film>
</theater>
</database>[/QUOTE]

Putting data in named attributes is easier to parse than having a boatload of elements with children.. This is a (truncated) live capture from my Fandango grabber; progress is good! Pretty soon I'll start work on the plugin's user interface. I'll try to get my sketches of the layout I want scanned in and posted so people can comment on them. When the dust of experimental development has settled, I'll post the grabber interface stuff as well. I'm still tweaking things here and there.
srchuck
Offline

Junior Member

Posts: 44
Threads: 3
Joined: Sep 2004
#15
2004-10-10, 06:05 AM
Here's a mockup of the planned UI for selecting theaters to get listings from:

[Image: TheaterListMockup1.gif]

I thought it would be best to keep the UI consistent with the rest of the app; I really felt the layout of the recordings section fit very well for this application.

&quot;Get Info&quot; will return a popup with information about the theater (name, address, phone number) that won't all fit nicely in the selector.

The area as defined in the config is what shows up under the theater name in the selector.

Selecting a theater will take you to a similar-looking selector with a film and its showtimes in each box. Selecting a film will return a popup with extended information about the film.

Please post your comments on this proposal!

Thanks,
SrChuck
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#16
2004-10-10, 11:17 AM
The screen shots look great.
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
#17
2004-10-10, 07:39 PM
Here's the kind of thing you'll see when you click on &quot;Get Info&quot; in the Select a Theater page:

[Image: TheaterInfoPopup.gif]
(not a mockup)
arttext
Offline

Member

Posts: 118
Threads: 30
Joined: Sep 2004
#18
2004-10-10, 08:20 PM
This all looks very nice.
I can't wait to present my wife with more detailed listings of Portland OR although we live some 6000 miles away.
THX for all the work.

cheers, arttext

ps.
Hope somebody in NL finds a way to modify this for use over here
[SIZE="1"]
Abit AN-M2HD*Radeon HD 3850 HDMI out*Athlon 64X2 4400+*2x VS1GB667D2*HD-DVD Toshiba SD-H802A*Enermax EG425AX-VE*Hauppage WINTV 250*GBPVR GUI*Silverstone Lascala Case*
[/SIZE]
srchuck
Offline

Junior Member

Posts: 44
Threads: 3
Joined: Sep 2004
#19
2004-10-10, 08:26 PM
[b Wrote:Quote[/b] (arttext @ Oct. 10 2004,16:20)]This all looks very nice.
I can't wait to present my wife with more detailed listings of Portland OR although we live some 6000 miles away.
THX for all the work.

cheers, arttext

ps.
Hope somebody in NL finds a way to modify this for use over here
Thank you!

The goal of my enhanced plugin is that you won't have to rewrite it to get listings for other locations. All that needs to happen is a new grabber needs to be written, and it plugs easily into the main plugin.

If you can provide me with some translations of whichever site looks most promising for getting listings for the Netherlands, I can work on a grabber. I'd be glad to help. I'll probably not work actively on it until I've got the rest of the plugin settled down more though.
arttext
Offline

Member

Posts: 118
Threads: 30
Joined: Sep 2004
#20
2004-10-11, 05:50 AM
[b Wrote:Quote[/b] (srchuck @ Oct. 10 2004,22:26)]
[b Wrote:Quote[/b] (arttext @ Oct. 10 2004,16:20)]This all looks very nice.
I can't wait to present my wife with more detailed listings of Portland OR although we live some 6000 miles away.
THX for all the work.

cheers, arttext

ps.
Hope somebody in NL finds a way to modify this for use over here
Thank you!

The goal of my enhanced plugin is that you won't have to rewrite it to get listings for other locations. All that needs to happen is a new grabber needs to be written, and it plugs easily into the main plugin.

If you can provide me with some translations of whichever site looks most promising for getting listings for the Netherlands, I can work on a grabber. I'd be glad to help. I'll probably not work actively on it until I've got the rest of the plugin settled down more though.
OK I will look into it and gt back at you, no hurry's needed [Image: smile.gif]

cheers, arttext
[SIZE="1"]
Abit AN-M2HD*Radeon HD 3850 HDMI out*Athlon 64X2 4400+*2x VS1GB667D2*HD-DVD Toshiba SD-H802A*Enermax EG425AX-VE*Hauppage WINTV 250*GBPVR GUI*Silverstone Lascala Case*
[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


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