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) International Cinema Listings, RSS Reader, WebCams, Calendar, Files and Screen Saver v
1 2 3 4 Next »
Web Cams 2 - Support Thread

 
  • 0 Vote(s) - 0 Average
Web Cams 2 - Support Thread
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#31
2007-03-06, 01:45 AM (This post was last modified: 2007-03-06, 01:52 AM by Ted the Penguin.)
just a question, what is the point of having the WebCamsListImage and ButtonListBoxImage CompositeImages? they just seem to be required, and dont scale or constrain anything?

also, the skinning doesnt seem to comply with the GB-PVR default plugins, such as button spacing etc
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#32
2007-03-06, 01:52 AM
The ButtonListBoxImage allows you to define the size of the "zone" that the buttons fits in. Say you had a plugin that had 10 buttons on the left side of the screen, you adjust this composite image to show like 5 or 6 at a time due to space restrictions.

The same concept holds true for the WebCamsListImage.
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#33
2007-03-06, 09:51 AM (This post was last modified: 2007-03-06, 12:17 PM by McBainUK.)
kaizen Wrote:My guess is that the parser is having trouble with the dashes "-" in the image name since they are the only cams I can't see with your version. It's either black or it hangs up GBPVR completely. BTW, thanks again for adding US to your cinema plugin!! Big Grin
Your guess is spot on. Think I may have to re-consider how I name these images. In the meantime if you want them to work you could give them names that are valid file names. \,/,:,;,*,?,",<,>,|,+,= are not allowed.

edit: v2.3 is on the wiki which fixes this issue (does the re-naming itself).
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
#34
2007-03-06, 01:01 PM
Ted the Penguin Wrote:also, the skinning doesnt seem to comply with the GB-PVR default plugins, such as button spacing etc
Comply is not the word, as there is no public GBPVR API for generating buttons all the plugin authors have gone their own way.

You should find that all my plugins (and the few others that use the UI elements libary) have the same ways of skinning - might make it abit easier. Smile
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
kaizen
Offline

Member

Posts: 113
Threads: 6
Joined: Jul 2006
#35
2007-03-06, 01:34 PM
McBainUK Wrote:Your guess is spot on. Think I may have to re-consider how I name these images. In the meantime if you want them to work you could give them names that are valid file names. \,/,:,;,*,?,",<,>,|,+,= are not allowed.

edit: v2.3 is on the wiki which fixes this issue (does the re-naming itself).

Good deal, because these are Pennsylvania Dept of Transportation Traffic cams, and I don't know how I would have renamed the images. I'm glad I waited before installing the new version Smile Very impressive, McBain; every time I think I can come up with a new feature I look in the forums and you've already added it!

Thanks so much!
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#36
2007-03-06, 03:32 PM
McBainUK Wrote:Comply is not the word, as there is no public GBPVR API for generating buttons all the plugin authors have gone their own way.

You should find that all my plugins (and the few others that use the UI elements libary) have the same ways of skinning - might make it abit easier. Smile

yeah, I was just noticing the differences, I had been having some trouble with the default skins, so I got pretty familiar with how their skins are done.

I do appreciate that all your plugins are consistent.
capone
Offline

Posting Freak

Posts: 1,756
Threads: 190
Joined: Jan 2005
#37
2007-03-08, 02:39 PM
McBainUK Wrote:Will see what I can do.

If it happens again could you post a the gbpvr.exe.log? Would be much appreciated.

It got hung up last night again, eventually let go after 10sec or so.
2007-03-07 09:30:02.217 ERROR [1] WebCams2 Plugin: Could not download WebCam image
2007-03-07 09:30:02.217 ERROR [1] WebCams2 Plugin: The remote server returned an error: (404) Not Found.
2007-03-07 09:31:13.076 ERROR [1] WebCams2 Plugin: Could not download WebCam image
2007-03-07 09:31:13.076 ERROR [1] WebCams2 Plugin: Unable to connect to the remote server

My guess that is the end of the attempt. It only happens when I am flipping through the images (not when updating in background).

It looks like it only needs logic to skip those that are trying to connect, or show last image instead until it is done (making it work like passive ftp if possible).
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#38
2007-03-08, 06:13 PM
I think a change of logic might be in order, at the moment it works like this:

- The current WebCam is polled every second if it needs refreshing, if so then it downloads the updated image and re-draws the plugin.
- If the current WebCam is changed (eg by flipping through) the WebCam shows the cached image.
- But if the WebCam being switched to is due a refresh then it dowloads the updated image and then displays it.

------------------------------------------------------------------

I think the due-refresh download is where the problem is. Thinking of changing it so the WebCams are refreshing in the background so when flicking / changing WebCams you don't have to wait for the image to download - this is probably what is causing the delays / lockups.

The downside of this is while the plugin is active it will generate more net traffic as it will be downloading images it might not even get to show.

Hmm...
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
capone
Offline

Posting Freak

Posts: 1,756
Threads: 190
Joined: Jan 2005
#39
2007-03-08, 10:34 PM
I guess this may be different than my use, or than I how I expected it to behave.

My thought was it was doing the following:
- On starting GB, get new images in background (like weather does, regardless of if you use the plugin yet)
- Show those images
- At the get new image interval, get the new image (as temp1.jpg, temp2.jpg)
- Once sucessfully d/l'ed, replace existing image (so there is still an image if fials).

What I meant about "my use" vs what you describe is that I only use the plugin when we pause while watching something (eg, my wife goes to the bathroom), so my interval is set to 10min (refresh="600"). I don't have any intervals that are real-time or on-demand.

So I'm confused, because now that I read your description, it seems like it is getting a new image way more frequently than what I have it set to...meaning, it seems like it is getting new images every time I use it, but it would seem unlikely that I'm always checking it just at that 10min interval.

Is it possible it's not honoring that interval, or is the bahavior you're describing override the interval when you view/flip?
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#40
2007-03-08, 11:54 PM
Can you post your \gbpvr\Plugins\WebCams2.xml file so I can run tests with the same setup? What internet connection type/speed have you got?

Quote:Is it possible it's not honoring that interval, or is the bahavior you're describing override the interval when you view/flip?
The only way to check is to run tests and add some extra logging.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (13): « Previous 1 2 3 4 5 6 … 13 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  RSS Reader X2 - Support Thread McBainUK 56 35,754 2010-09-29, 09:40 PM
Last Post: hasso
  Screen Saver Plugin - Support Thread McBainUK 34 30,648 2010-01-10, 10:10 PM
Last Post: McBainUK
  Files Plugin support thread McBainUK 28 22,288 2010-01-04, 02:46 PM
Last Post: msrtlt
  Could the Web Cams be grouped? mkenyon2 1 2,911 2008-11-07, 02:23 PM
Last Post: McBainUK
  Calendar - Support Thread McBainUK 18 8,934 2007-09-08, 12:57 PM
Last Post: McBainUK
  International Cinema Listings plugin - Support Thread McBainUK 120 31,134 2007-03-09, 09:42 AM
Last Post: McBainUK
  Support questions McBainUK 0 7,321 2007-02-27, 02:45 PM
Last Post: McBainUK
  Games plugin - Support Thread McBainUK 13 6,813 2007-02-07, 12:49 AM
Last Post: pastro
  UK Cinema Listings - Support Thread McBainUK 12 6,420 2006-12-04, 12:51 AM
Last Post: McBainUK
  Volume OSD plugin - Support Thread McBainUK 11 6,972 2006-11-29, 01:52 PM
Last Post: kayak4ever

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

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

Linear Mode
Threaded Mode