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
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#271
2009-01-15, 01:36 PM
I get a (object ref = null) if al try to call these methods from outside a GB-PVR plugin.

WizUtilities.WizInfo.GBPvrSkinRootDirectory()
WizUtilities.WizInfo.getGBPvrRootSetting()

Could you investigate please?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#272
2009-01-15, 04:05 PM
McBainUK Wrote:I get a (object ref = null) if al try to call these methods from outside a GB-PVR plugin.

WizUtilities.WizInfo.GBPvrSkinRootDirectory()
WizUtilities.WizInfo.getGBPvrRootSetting()

Could you investigate please?
Will do.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#273
2009-01-22, 03:08 AM
Sorry it's taken so long to respond to this. The prior code was using PluginHelper which is not instantiated outside of the GBPVR environment.

Try this version which looks at the config.xml file to get the settings.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#274
2009-01-22, 08:26 AM (This post was last modified: 2009-01-22, 08:39 AM by McBainUK.)
Quote:Sorry it's taken so long to respond to this
No problem, life has a habit of getting in the way Rolleyes

Working perfectly now, thanks. Is it OK to distribute this version with the Community Skin?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#275
2009-01-23, 02:16 AM
Yes, go ahead and post. I've just updated the distribution on the WizUtilities page to match.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#276
2009-03-04, 09:17 PM
WizInfo.isRunningOnMVP();

Does this include the NMT? And if not is there an easy way of finding out if the plugin is running on an MVP/NMT?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#277
2009-03-04, 10:33 PM
McBainUK Wrote:WizInfo.isRunningOnMVP();

Does this include the NMT? And if not is there an easy way of finding out if the plugin is running on an MVP/NMT?
I don't have a NMT, so have not been able to build that code. I do have some ideas from prior posts. If you have NMT and would be willing to be a tester, I could try to add that function.
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#278
2009-06-26, 05:16 AM
It's been ages since I've bumped this thread. I could start a new one I suppose but... nah.

JavaWiz:

Two questions about the listview control.

First - is there anything magical I need to do differently when using the listview in a popup? It renders correctly to start, but once I start scrolling up or down it gets mighty confused. Blank spots, wrong text, general unhappiness. I'm using the same code that I have been using for the main plugin screen for the past year, so I am pretty sure that I'm using it correctly. (Pretty sure... I'll check again. /cough).

Second - I need an additional state for the listitem. In my case, "unavailable", as opposed to selected/inactive/selectedinactive. Is this something the control can do as is, or would it need extra attention from you?

I can probably fake through some creative DrawImage work, but that really lacks elegance, and takes things out of the hands of the skin, which I would rather avoid if I can.

Any thoughts / suggestions ? Thanks!
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#279
2009-06-26, 03:26 PM
Ommina Wrote:It's been ages since I've bumped this thread. I could start a new one I suppose but... nah.

JavaWiz:

Two questions about the listview control.

First - is there anything magical I need to do differently when using the listview in a popup? It renders correctly to start, but once I start scrolling up or down it gets mighty confused. Blank spots, wrong text, general unhappiness. I'm using the same code that I have been using for the main plugin screen for the past year, so I am pretty sure that I'm using it correctly. (Pretty sure... I'll check again. /cough).
I'm pretty sure it should work the same. I believe I do this in SearchWiz for the FilterSelection dialog popup. I'll try creating a test program and see if I spot any weird behavior. If you could provide a sample where you are having a problem, I'll take a look at that as well.
Quote:Second - I need an additional state for the listitem. In my case, "unavailable", as opposed to selected/inactive/selectedinactive. Is this something the control can do as is, or would it need extra attention from you?

I can probably fake through some creative DrawImage work, but that really lacks elegance, and takes things out of the hands of the skin, which I would rather avoid if I can.

Any thoughts / suggestions ? Thanks!
What would this "unavalable" property be used for? If it is simply for the skin, you should be able to create a property off the list item something like this:
Code:
WizListItem item = (WizListItem)listItem;
if (shouldBeAvailable)
item.AddProperty("@Available", true);
else
    item.AddProperty("@Available", false);
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#280
2009-06-27, 01:52 AM
JavaWiz Wrote:I'm pretty sure it should work the same. I believe I do this in SearchWiz for the FilterSelection dialog popup. I'll try creating a test program and see if I spot any weird behavior. If you could provide a sample where you are having a problem, I'll take a look at that as well.

I'm going to work on it later tonight, and will take a closer look to ensure that I'm not missing any steps. If I don't, I'll post the details here.

JavaWiz Wrote:What would this "unavalable" property be used for? If it is simply for the skin, you should be able to create a property off the list item something like this:

Well, maybe I should have said 'disabled' instead of 'unavailable'. I'm looking for a visually distinctive list item that indicates the video is unavailable.

It my case, it will represent the name of an episode for which the client does not have a playable file. I can add an icon to the line easily enough, but I would really like to dim the text a little bit. It's fine - in fact preferred - if it is still selectable (so unlike 'disabled' in that respect).

As I type this, I wonder if I could use a @textStyle property, although that would still be taking the colour choices out of the skin and into the plugin, which I find somewhat distasteful. Hmmm.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (31): « Previous 1 … 26 27 28 29 30 31 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 3,084 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,563 2020-11-14, 08:01 PM
Last Post: sub
  Test/Development environment for npvr.db3 scJohn 10 4,593 2020-09-04, 09:14 PM
Last Post: scJohn
  VIdeo playback from plugin mvallevand 5 3,646 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 3,008 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,879 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,327 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 2,029 2013-03-12, 06:48 AM
Last Post: psycik
  Integrated Development Environment (IDE) for plugins osx-addict 5 2,867 2012-10-18, 08:35 PM
Last Post: osx-addict
  Plugin problems with started from the command line mvallevand 11 5,250 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