Page 8 of 8 FirstFirst ... 678
Results 71 to 78 of 78

Thread: Plugins and NPVR. Where do we start?

  1. #71
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,204
    Another thing this translator seems to have done incorrectly is how it implements interfaces.

    Where it writes:
    Public Function GetSettingsPage() As SettingsPage

    You need:
    Public Function GetSettingsPage() As SettingsPage Implements IPluginConfiguration.GetSettingsPage

  2. #72
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,204
    Public Sub PluginCallback(source As Object, command As String, args As Object)

    becomes

    Public Sub PluginCallback(source As Object, command As String, args As Object) Implements IPluginCallback.PluginCallback

  3. #73
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,204
    Public Sub Notify(eventName As String, eventArg As Object)

    becomes

    Public Sub Notify(eventName As String, eventArg As Object) Implements IEventNotification.Notify

  4. #74
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,204
    Public Sub HandleButtonCommand(buttonName As String)

    becomes

    Public Sub HandleButtonCommand(buttonName As String) Implements UiButtonList.IUiButtonListCallback.HandleButtonCom mand

    ...then it should compile.

  5. #75
    Join Date
    Aug 2014
    Location
    US, Louisiana
    Posts
    188
    [QUOTE=sub;482934]I'm not going to have much time today, but I'll try give pointers on a couple of these./QUOTE]

    No worries, I am gone for the holidays this afternoon. I'll have my laptop with me but I am not going to have to much time to to devote to this now until after the new year. Happy holidays to you and yours or as I like to say Merry Christmas and a Happy New Year!
    Chris


    Server - Intel Core I3-3210 @ 3.40GHz - 8 GB RAM - Windows 10.0 Pro - Total Storage - 5.4 TB
    Two Silicondust HD Prime CC capture, 6 tuners total
    Client - Intel Core I3-3210 @3.2GHz - 4GB Ram - Windows 7.0 Pro
    Client - Intel Core I3-3210 @2.9GHz - 4GB Ram - Windows 10.0 Pro
    NAS - Intel Core I3-3220T @ 2.8GHz - 4GB RAM - Windows 10.0 Pro (Total Storage - 25 TB)



  6. #76
    Join Date
    Aug 2014
    Location
    US, Louisiana
    Posts
    188
    Made the changes and resolved the errors, it compiled and ran with no issues within NPVR. I've attached it if anyone else wants it. Thanks for the pointers!
    Attached Files Attached Files

  7. #77
    Join Date
    Oct 2013
    Location
    Oregon
    Posts
    35
    Do you have a copy of the most recent sample development files? My C# skills are very poor but I'd like to load them in Visual Studio and see if I can make heads or tails out of the code.
    I want to try my hand at making a guide search plug-in. Would I need to understand how the database functions in order to do something like that?
    Thanks!

  8. #78
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,204
    The most relevent example plugin is here:

    http://forums.nextpvr.com/showthread...912#post482912

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •