[solved] TVServer Plugin must be missing something. (2 Viewers)

Dave Reynolds

MP Donator
  • Premium Supporter
  • February 23, 2012
    59
    18
    42
    United Kingdom United Kingdom
    Country flag
    Hi All,

    Developing a TVServer Plugin, but get the following when attempting to run:

    PluginManager: TvEngine.TVHController is incompatible with the current tvserver version and won't be loaded!

    It compiles find and is using .Net 4.0

    Main Plugin code:

    Code:
    using System;
    using System.Net;
    using System.Collections.Generic;
    using System.Text;
    using System.Threading;
    using System.IO;
    using SetupTv;
    using TvControl;
    using TvDatabase;
    using TvLibrary.Log;
    using TvLibrary.Interfaces;
    using TvEngine.PowerScheduler.Interfaces;
    using TvEngine.Interfaces;
    using System.Runtime.CompilerServices;
    using Gentle.Common;
    using Gentle.Framework;
    
    
    namespace TvEngine
    {
        public class TVHController : ITvServerPlugin
        {       
            public string Name
            {
                get { return "TVHPlugin"; }
            }
    
            public string Version
            {
                get { return "1.0.0.0"; }
            }
    
            public string Author
            {
                get { return "DTR"; }
            }
    
            public bool MasterOnly
            {
                get { return true; }
            }
    
    
    
            public void Start(IController controller)
            {
                Log.WriteFile("plugin: TVHeadend Plugin started");         
            }
    
            public void Stop()
            {
                Log.WriteFile("plugin: TVHeadend Plugin stopped");
              
            }
    
          
            public SetupTv.SectionSettings Setup
            {
                get { return new SetupTv.Sections.Setup(); }
            }
    
          
        }

    Setup:


    Code:
    using System;
    using System.Collections;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Drawing;
    using System.Globalization;
    using System.IO;
    using System.Text;
    using System.Windows.Forms;
    using System.Xml;
    using System.Linq;
    using TvDatabase;
    using TvEngine;
    using TvLibrary.Log;
    using TvLibrary.Channels;
    using TvLibrary.Interfaces;
    using TvControl;
    using Newtonsoft.Json;
    using System.Net;
    using Gentle.Framework;
    
    namespace SetupTv.Sections
    {
        public partial class Setup : SetupTv.SectionSettings
        {
            public Setup()
            : this("TVHeadend Plugin") { }
    
            public Setup(string name) : base(name)
            {
                InitializeComponent();
            }
    
            public override void OnSectionActivated()
            {
            }
    
            public override void OnSectionDeActivated()
            {
            }
        }
    }
    Assembly:

    Code:
    using MediaPortal.Common.Utils;
    using System.Reflection;
    using System.Runtime.CompilerServices;
    using System.Runtime.InteropServices;
    
    
    // General Information about an assembly is controlled through the following
    // set of attributes. Change these attribute values to modify the information
    // associated with an assembly.
    [assembly: AssemblyTitle("TVHControl")]
    [assembly: AssemblyDescription("")]
    [assembly: AssemblyConfiguration("")]
    [assembly: AssemblyCompany("")]
    [assembly: AssemblyProduct("TVHControl")]
    [assembly: AssemblyCopyright("Copyright ©  2020")]
    [assembly: AssemblyTrademark("")]
    [assembly: AssemblyCulture("")]
    
    // Setting ComVisible to false makes the types in this assembly not visible
    // to COM components.  If you need to access a type in this assembly from
    // COM, set the ComVisible attribute to true on that type.
    [assembly: ComVisible(false)]
    
    // The following GUID is for the ID of the typelib if this project is exposed to COM
    [assembly: Guid("54416078-ff86-4073-a903-ace8359d129f")]
    
    // Version information for an assembly consists of the following four values:
    //
    //      Major Version
    //      Minor Version
    //      Build Number
    //      Revision
    //
    // You can specify all the values or you can default the Build and Revision Numbers
    // by using the '*' as shown below:
    // [assembly: AssemblyVersion("1.0.*")]
    [assembly: AssemblyVersion("1.24.0.0")]
    [assembly: AssemblyFileVersion("1.24.0.0")]
    [assembly: CompatibleVersion("Own")]
    [assembly: UsesSubsystem("TVE")]
    Really not sure where to go from here, so any advice would be appreicated!,

    Thank you.

    Dave
     

    Attachments

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    T How do I install the Kodi TVServer plugin General 8
    E TVserver RTSP Input / Output interfaces 0
    Dark Eyes Updated to Windows 10, now TVServer won't work Installation, configuration support 1
    badboyxx TV card is listed as unknown in TV-server config General 4
    G MP 1.21 TVserver race condition when cant delete recording triggered by episode management General Support 0
    C Manual Control doesn't work anymore inside TVServer General Support 4
    I TVServer issues Installation, configuration support 2
    T Things I wish I had known setting up and first using TVServer for good reception of DVB-T Installation, configuration support 0
    C Issue with plugin initialisation My TVSeries 7
    morpheus_xx [Finished] "What's New" plugin for MP2 upgrades MediaPortal 2 20
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    M Installing Plugins Newcomers Forum 2
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 10
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0

    Similar threads

    Top Bottom