NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 26 27 28 29 30 … 93 Next »
1.3.11 plugin ctor changed?

 
  • 0 Vote(s) - 0 Average
1.3.11 plugin ctor changed?
DronnyBoyd
Offline

Member

Posts: 63
Threads: 15
Joined: Dec 2005
#1
2009-01-20, 08:03 AM
I've just installed 1.3.11 and now my plugin doesn't get started (added to the main menu), whereas 5 mins ago it did!

In the gbpvr log I see:-

Code:
2009-01-20 07:54:45.129    INFO    [1]    About to check 'c:\Program Files\devnz\gbpvr\plugins\DronnyVideos' for plugins
2009-01-20 07:54:45.129    VERBOSE    [1]    About to check file: c:\Program Files\devnz\gbpvr\plugins\DronnyVideos\DronnyVideos.dll
2009-01-20 07:54:45.145    VERBOSE    [1]    DronnyVideosPlugin constructor parameter count: 0
2009-01-20 07:54:45.160    INFO    [1]    About to check 'c:\Program Files\devnz\gbpvr\plugins\SkinPlugin' for plugins

where DronnyVideos is my plugin. Any idea why this is??

Dronny.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#2
2009-01-20, 08:21 AM
The api hasn't changed as far as I'm aware, or all the other plugins compiled before 1.3.11 would stop working also..

That looks like it's run the constructor for "DronnyVideos" to me, is that not correct?
DronnyBoyd
Offline

Member

Posts: 63
Threads: 15
Joined: Dec 2005
#3
2009-01-20, 08:59 AM
psycik Wrote:The api hasn't changed as far as I'm aware, or all the other plugins compiled before 1.3.11 would stop working also..

That looks like it's run the constructor for "DronnyVideos" to me, is that not correct?

I know, its weird... maybe its something I've done...

You're right, it *has* run the ctor, because it shows up in my own logfile, but for some reason the task doesn't show up in the config app (in the Plugins list). And hence, doesn't show up in the main menu when I run PVRX2.

I must have inadvertently changed something else, at the same time as installing 1.3.11 so I guess I'd better go back to how things were. That's what you get for coding in the 10 minutes between breakfast and leaving for work, whilst the kids are leaving for school and arguing over who's been using the hair-straighteners the longest :confused:

Fortunately I commited to SVN last thing the night before, so I will revert and try it all again.

thanks anyway

Dronny.
DronnyBoyd
Offline

Member

Posts: 63
Threads: 15
Joined: Dec 2005
#4
2009-01-20, 07:07 PM
Now I'm really baffled!

I reverted to how my code was before installing 1.3.11 and rebuilt, and it still doesn't show up in Config.

What else do I need to do to have a plugin show up in Config? It's been so long since I write it I can't remember the details, but I thought it was enough to implement IMenuTask (which I do by extending BaseButtonUiList).

There are no exceptions in the log, it just doesn't show up in Config now.

If anyone can suggest anything, please do -- I'm stuck!!!

Dronny.
DronnyBoyd
Offline

Member

Posts: 63
Threads: 15
Joined: Dec 2005
#5
2009-01-20, 07:26 PM
Oh God if ever there was an advert for "think before you post" this is it!!!

I'd moved a line in Initialise() to the ctor inadvertently, and it was causing a NullReferenceException. But stupid me, I was looking in PVRX2.exe.log and not in Config.exe.log. Once I looked in there, I was the NRE and figured out what was going on. Bingo, now its all working happily again.

Once day I'll release the source to DronnyVideos, its a fairly basic VideoLibrary replacement with some features I (and the family) wanted, like hiding file extensions, remembering when you've watched (or are in the middle of watching) something, and a few other bits and bobs.

Programming all day for a living is obvioulsy straining my brain, I need help! Smile

Dronny
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,723 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,292 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,420 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,856 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,734 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,027 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,930 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 4,930 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,210 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,406 2012-01-15, 08:33 PM
Last Post: imilne

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

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

Linear Mode
Threaded Mode