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) v
« Previous 1 … 88 89 90 91 92 … 125 Next »
UKCinemaListings plugin error

 
  • 0 Vote(s) - 0 Average
UKCinemaListings plugin error
DronnyBoyd
Offline

Member

Posts: 63
Threads: 15
Joined: Dec 2005
#11
2005-12-15, 08:07 AM
Cool.. thanks McBainUK, I'll try it out tonight...

Must say, I'm loving GB-PVR so far, even though its taking me a while to get everything set up 'just so' and make it ready for the rest of the fmaily to use as if it were a nice and easy DVD player. Before this I had a LiteOn LVD2010 'net player' which is basically a DVD/XviD player with a wireless network interface and a streaming server running on a PC elsewhere, with all your media on it. It was okay, but then LiteOn dumped it and so firmware bugs would never be fixed. I decided a HTPC was what I needed, and found GB-PVR quite by accident. The rest is history!
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#12
2005-12-16, 01:22 PM
How did the test go?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
tkgafs
Offline

Senior Member

Posts: 594
Threads: 61
Joined: Jun 2004
#13
2005-12-17, 10:28 AM
I am using latest version of plugin from the wiki


I am having a problem with one local cinema http://www.britinfo.net/cinema/cinema-li...004166.htm

this is an odeon cinema [Douglasfield Dundee]

the only thing I can spot on the britinfo site that looks different from the other two local cinemas is that on the cinema info pop up it does not have the number of screens detailed.

When you try and use it the cinema details etc are shown but the film info part of the screen remains empty if you press return you then get object not set error

as detailed below


17/12/2005 10:15:54.234 VERBOSE [2] installDirectory is C:\Program Files\devnz\gbpvr\
17/12/2005 10:15:54.234 VERBOSE [2] configurationFile is C:\Program Files\devnz\gbpvr\config.xml
17/12/2005 10:15:54.250 VERBOSE [2] getValue() loading new key/value into cache: /settings/DatabaseConnectionString
17/12/2005 10:15:54.250 VERBOSE [2] getValue: /settings/DatabaseConnectionString : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=".\gbpvr.mdb";User Id=admin;Password=
17/12/2005 10:15:54.250 VERBOSE [2] databaseConnectionString is Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\Program Files\devnz\gbpvr\\gbpvr.mdb";User Id=admin;Password=
17/12/2005 10:15:54.250 VERBOSE [2] getValue() loading new key/value into cache: /settings/DontAntiAlias
17/12/2005 10:15:54.250 VERBOSE [2] getValue: /settings/DontAntiAlias : false
17/12/2005 10:15:54.250 VERBOSE [2] getValue() loading new key/value into cache: /settings/LoggingLevel
17/12/2005 10:15:54.250 VERBOSE [2] getValue: /settings/LoggingLevel : Info
17/12/2005 10:15:54.312 INFO [2] Starting
17/12/2005 10:16:10.718 INFO [2] Initializing InputDeviceManager
17/12/2005 10:16:11.015 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="MenuType"]
17/12/2005 10:16:11.171 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="Inset"]
17/12/2005 10:18:20.437 ERROR [2] Error: msg=0x100 (WM_KEYDOWN) hwnd=0x280396 wparam=0xd lparam=0x11c0001 result=0x0 : System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.SortedList.GetByIndex(Int32 index)
at UKCinemaListingsPlugin.UKCinemaListings.showFilmInfo()
at UKCinemaListingsPlugin.UKCinemaListings.OnKeyDown(KeyEventArgs e)
at xae10db17d26ba033.x86396f56243de9fb.OnKeyDown(KeyEventArgs xc4f45905cb1fc7ba)
at xae10db17d26ba033.xbb1566157f5f8b1f.xdae9991ab918b397(Object xdf2e3583f942db7b, KeyEventArgs xc4f45905cb1fc7ba)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at xae10db17d26ba033.xbb1566157f5f8b1f.WndProc(Message& x5f8f2c40c000ab2c)



the other problem I have noticed is that if you have a cinema set in the config and then change that to something else you get a similar error to the above but from the changecinema function

if you go the ukcinemas folder in the plugin folder and delete all the cinemas and films you can then use the cinema you have set in the config

Tkgafs
DronnyBoyd
Offline

Member

Posts: 63
Threads: 15
Joined: Dec 2005
#14
2005-12-17, 02:43 PM
McBainUK Wrote:How did the test go?

It seems to work now, thanks! The config just keeps one number inthe 'preferred' but allow more than one (well, two Smile ) in the list of all cinemas.

Nice work, thanks again, I'm really happy now Big Grin

Dave.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#15
2005-12-18, 10:06 PM
Hi tkgafs

I reproduced the error on my machine, the problem with the Douglasfield Odeon is it's film list. For some reason, half of the film titles are not links (this is what UKCinemaInfo uses to find film times).

The cinema info is scraped, the missing number of screens is no problem:

Quote:18/12/2005 21:55:45.281 VERBOSE [2] cinemaNumber : 1004166
18/12/2005 21:55:45.328 VERBOSE [2] Looking for the cinema's name.
18/12/2005 21:55:45.343 VERBOSE [2] Found cinema name : Odeon Cinema Douglasfield
18/12/2005 21:55:45.343 VERBOSE [2] Looking for the cinema telephone number.
18/12/2005 21:55:45.343 VERBOSE [2] Found cinema booking telephone number : 08705050007
18/12/2005 21:55:45.343 VERBOSE [2] Looking for the cinema's number of screens.
18/12/2005 21:55:45.343 VERBOSE [2] Can't find the cinema's number of screens.
18/12/2005 21:55:45.343 VERBOSE [2] Begin scraping of film times.
18/12/2005 21:55:45.406 VERBOSE [2] Found 0 film times lines.
18/12/2005 21:55:45.406 VERBOSE [2] Making cinema info object.
18/12/2005 21:55:45.406 VERBOSE [2] Number of films found at cinema : 0

None of the Cinemas I test with have this problem, will try to sort it for the next release as its quite a big problem (it means changing the scraper).

Quote:the other problem I have noticed is that if you have a cinema set in the config and then change that to something else you get a similar error to the above but from the changecinema function

if you go the ukcinemas folder in the plugin folder and delete all the cinemas and films you can then use the cinema you have set in the config
Hmm didnt think about the saved info becoming out of date with the config. :o Easy to fix tho.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#16
2005-12-18, 10:10 PM
Update : After looking at the HTML source for Douglasfield I've discovered it uses Javascript to show the film times:
Quote:<script type="text/javascript" src="/js/cinema/1004166.js">
</script>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
show_times() ;
// -->
</script>
I'm afraid this is un-scrapable, sorry. Sad
Hope britinfo don't do this for too many cinemas as will be forced to change source :mad:
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
mgg1010
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Dec 2005
#17
2005-12-28, 11:33 PM
Hi

Been testing 2.1 this evening. Got a few object not referenced errors, but reconfigured and reloaded, and it seems to be working a bit better now.

The current error is that it can't find any film listings for cinema 1003904
- I think the time lines are a bit odd - can you check?

Also... if I display the listing for this cinema, then press 'up' - I get an index
exception. Basically, I don't think the code handles cinemas with zero films on very well Smile

Regards

Martin
alexisread
Offline

Junior Member

Posts: 11
Threads: 3
Joined: Dec 2005
#18
2005-12-29, 09:20 AM
Yep, the 2.1 version solves the multi-default cinema bug thanks! As a suggestion for v2.2, you could try using google movies for the scraper (eg. type wandsworth cinema into google and click on the showtimes link) - it has imdb links, by cinema /film etc.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#19
2005-12-29, 01:02 PM
alexisread Wrote:As a suggestion for v2.2, you could try using google movies for the scraper (eg. type wandsworth cinema into google and click on the showtimes link) - it has imdb links, by cinema /film etc.
Afraid google uses javascript to show the film times etc. This is unscrapeable. Sad

mgg1010 Wrote:Also... if I display the listing for this cinema, then press 'up' - I get an index
exception. Basically, I don't think the code handles cinemas with zero films on very well
Very true, it just assumes there are films. Im working on the new version right now. Fixes include the zero films crash, config app bug fixes, more efficent use of local listings and now looks up poster art.

This is what a typical film times page looks like. Problem with Royal Spa Centre film times is the extra line on every film, repeating the phone numbers. Also the film titles are not links so the scraper is not looking for it. This is a known limitation.

On a side note, I'm finding that a few cinemas on britinfo.net have non standard ways of showing film times, scraping these is really hard (scraping code is always ugly). An alternative source maybe on the cards one day. Need that does not use java (ie has the required info in the html source). An xml one would be &*^@ing great Smile If anyone finds a source that maybe suitable let please post.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#20
2005-12-29, 07:02 PM
Note sure if this works outside the US or not, but here is a webservice that might be of use:

http://www.xmethods.com/ve2/ViewListing....DDB8FDD6D1
« 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
  BBC Iplayer Downloader Plugin - Beta + Support smiler 420 157,356 2012-01-20, 12:15 PM
Last Post: martint123
  Un-installation of the Weather plugin rkircher 1 13,963 2011-05-20, 08:40 PM
Last Post: scb147
  software recorder, any plugin like it for npvr? chesterusob 2 14,762 2011-04-11, 07:28 AM
Last Post: chesterusob
  Caller ID Plugin elbryyan 3 14,959 2011-02-23, 01:17 AM
Last Post: smajor
  Newest IMon display-hardware finally gets Plugin-mode back mila06 1 5,082 2011-01-01, 05:37 PM
Last Post: kindt nick
  Freazing up trying to watch live TV or access System plugin dspdrew 2 3,525 2010-11-03, 07:52 AM
Last Post: johnsonx42
  Music plugin support thread MixMan 103 40,263 2010-08-31, 09:46 PM
Last Post: povarotti
  New Videos Library Plugin jasonbs10 202 65,886 2010-08-22, 01:38 PM
Last Post: 7ore
  GuidePlus xml loading error help tvshowman 6 4,252 2010-04-15, 03:03 AM
Last Post: tvshowman
  videos library plugin crashes pvrx2 on fanart... cs4 no crash and no fan art why??. tvshowman 2 4,087 2010-04-01, 09:59 PM
Last Post: tvshowman

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

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

Linear Mode
Threaded Mode