NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 20 21 22 23 24 … 93 Next »
WizTools - 1.x Plugin Development Toolkit

 
  • 0 Vote(s) - 0 Average
WizTools - 1.x Plugin Development Toolkit
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#241
2008-06-07, 03:37 PM
JavaWiz Wrote:I'll try to write a snippet that fails in order to determine if it's WizTools that is failing, or something new in 1.2.13.

I think it is a caching issue with the images. I've had trouble with this in the past and what I had did work but it fails now without the @fake.
Ideally I would think there would be a way to always force the getimage callback under program control.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#242
2008-06-07, 04:50 PM
pastro Wrote:I think it is a caching issue with the images. I've had trouble with this in the past and what I had did work but it fails now without the @fake.
Ideally I would think there would be a way to always force the getimage callback under program control.
I can't seem to come up with any code that fails.

I did take another look at the code around the manual refresh method and made a few changes. I also put some output messages in the routine that calculates the hashkey for the image, we should be able to see what the keys are now.

Could you try again without your @fake code and see if it helps?

Thanks..
Al
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#243
2008-06-07, 09:17 PM
No change but here is the log.
I cleared the log and there would have been probably two that would have worked and the last one didn't update the display. The ones that worked were the ones that the args changed on.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#244
2008-06-07, 11:24 PM
pastro Wrote:No change but here is the log.
I cleared the log and there would have been probably two that would have worked and the last one didn't update the display. The ones that worked were the ones that the args changed on.
Ok, tried a different approach on this one related to identifying when an object has changed, and how the forceRefresh logic works. Can you give it a try again...

Thanks.
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#245
2008-06-08, 12:14 AM
JavaWiz Wrote:Ok, tried a different approach on this one related to identifying when an object has changed, and how the forceRefresh logic works. Can you give it a try again...

Thanks.


No change. It sort of makes sense to not load the image if none of the args change but at the same time there should be some method to allow the programmer to force an image reload.

I'm ok with using the @fake workaround if you would rather spend your time on other things or I'm perfectly ok with trying any fixes you come up if you want.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#246
2008-06-08, 01:04 AM
pastro Wrote:No change. It sort of makes sense to not load the image if none of the args change but at the same time there should be some method to allow the programmer to force an image reload.

I'm ok with using the @fake workaround if you would rather spend your time on other things or I'm perfectly ok with trying any fixes you come up if you want.
I've tried to build in logic similar to your @fake. Could you post your logs?

If I install your code, is the condition easy to create? If I could recreate the situation where the render fails, I could probably find a fix.
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#247
2008-06-08, 01:27 AM
JavaWiz Wrote:I've tried to build in logic similar to your @fake. Could you post your logs?

If I install your code, is the condition easy to create? If I could recreate the situation where the render fails, I could probably find a fix.

Actually the last version got it working. I had copied the DLL to my dev directory where I compile but not to the common dir in plugins. I know I copy out the dll before I run, so I'll have to look if that is going to the wrong spot.
Anyway, it's working great. Thanks for putting in time in this. Sorry for the confusion.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#248
2008-06-08, 01:36 AM
Excellent. Glad that got it working. Did you have to call the forceRefresh(), or did the normal logic handle it?
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#249
2008-06-08, 03:25 AM
JavaWiz Wrote:Excellent. Glad that got it working. Did you have to call the forceRefresh(), or did the normal logic handle it?

Still needs the .forceRefresh().
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#250
2008-06-09, 10:43 PM
My turn for some oddness!

I'm finding that, when changing the .Visible property of a label (presently from 'true' to 'false'), that the label is not actually being removed until some other UI event happens.

That is, a label starts of visible. I then set .Visible = false in code. Label remains visible on the screen.

But! If I move the focus, either within the button list, OR within the list view, OR between the button list and the list view, the label will vanish. Alternately, if the text property of some other label (in my case, the current time) changes, the label will vanish then too.

As a workaround, I can just set the text property to String.Empty and the DrawImage to an empty bitmap, so it isn't a really big deal. But thought I'd throw it out there anyway!
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (31): « Previous 1 … 23 24 25 26 27 … 31 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 3,057 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,539 2020-11-14, 08:01 PM
Last Post: sub
  Test/Development environment for npvr.db3 scJohn 10 4,540 2020-09-04, 09:14 PM
Last Post: scJohn
  VIdeo playback from plugin mvallevand 5 3,620 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,992 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,856 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,306 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 2,014 2013-03-12, 06:48 AM
Last Post: psycik
  Integrated Development Environment (IDE) for plugins osx-addict 5 2,849 2012-10-18, 08:35 PM
Last Post: osx-addict
  Plugin problems with started from the command line mvallevand 11 5,205 2012-08-12, 07:56 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode