First contribution. Empty TV server plugin.
authorStephaneLenclud
Tue, 08 Dec 2015 13:52:15 +0100
changeset 099720d48e299
child 1 b4df02a92dff
First contribution. Empty TV server plugin.
NotificationPlugin.cs
NotificationSetup.cs
NotificationSetup.designer.cs
NotificationSetup.resx
NotificationTvServerPlugin.csproj
NotificationTvServerPlugin.sln
Properties/AssemblyInfo.cs
packages.config
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/NotificationPlugin.cs	Tue Dec 08 13:52:15 2015 +0100
     1.3 @@ -0,0 +1,127 @@
     1.4 +using System;
     1.5 +using System.Collections.Generic;
     1.6 +using System.Linq;
     1.7 +using System.Text;
     1.8 +using System.Threading.Tasks;
     1.9 +using System.Reflection;
    1.10 +
    1.11 +using SetupTv;
    1.12 +using TvControl;
    1.13 +using TvEngine;
    1.14 +using System.Drawing;
    1.15 +using System.IO;
    1.16 +using TvLibrary.Log;
    1.17 +
    1.18 +
    1.19 +namespace TvServerPlugin
    1.20 +{
    1.21 +
    1.22 +
    1.23 +    public class RecordSatus : ITvServerPlugin
    1.24 +    {
    1.25 +
    1.26 +        /// <summary>
    1.27 +        /// Reference to the tvservice's TVcontroller
    1.28 +        /// </summary>
    1.29 +        private IController _controller;
    1.30 +
    1.31 +
    1.32 +        /// <summary>
    1.33 +        /// Creates a new PowerScheduler plugin
    1.34 +        /// </summary>
    1.35 +        public RecordSatus() { }
    1.36 +
    1.37 +    
    1.38 +        /// <summary>
    1.39 +        /// Called by the tvservice PluginLoader to start this plugin
    1.40 +        /// </summary>
    1.41 +        /// <param name="controller">Reference to the tvservice's TVController</param>
    1.42 +        public void Start(IController controller)
    1.43 +        {
    1.44 +            Log.Debug(Name + " start - begins");
    1.45 +
    1.46 +            _controller = controller;
    1.47 +
    1.48 +            Log.Debug(Name + " start - ends");
    1.49 +        }
    1.50 +
    1.51 +        /// <summary>
    1.52 +        /// Called by the tvservice PluginLoader to stop this plugin
    1.53 +        /// </summary>
    1.54 +        public void Stop()
    1.55 +        {
    1.56 +            Log.Debug(Name + " stop");
    1.57 +            _controller = null;
    1.58 +            //PowerScheduler.Instance.Stop();
    1.59 +        }
    1.60 +
    1.61 +        /// <summary>
    1.62 +        /// Author of this plugin
    1.63 +        /// </summary>
    1.64 +        public string Author
    1.65 +        {
    1.66 +            get { return "Stéphane Lenclud"; }
    1.67 +        }
    1.68 +
    1.69 +        /// <summary>
    1.70 +        /// Should this plugin run only on a master tvserver?
    1.71 +        /// </summary>
    1.72 +        public bool MasterOnly
    1.73 +        {
    1.74 +            get { return false; }
    1.75 +        }
    1.76 +
    1.77 +        /// <summary>
    1.78 +        /// Name of this plugin
    1.79 +        /// </summary>
    1.80 +        public string Name
    1.81 +        {
    1.82 +            get
    1.83 +            {
    1.84 +                return "NotificationTvServerPlugin";
    1.85 +            }
    1.86 +        }
    1.87 +
    1.88 +        /// <summary>
    1.89 +        /// Returns the SectionSettings setup part of this plugin
    1.90 +        /// </summary>
    1.91 +        public SectionSettings Setup
    1.92 +        {
    1.93 +            get { return new RecordStatusSetup(); }
    1.94 +        }
    1.95 +
    1.96 +        /// <summary>
    1.97 +        /// Plugin version
    1.98 +        /// </summary>
    1.99 +        public string Version
   1.100 +        {
   1.101 +            get { return Assembly.GetExecutingAssembly().GetName().Version.ToString(); }
   1.102 +        }
   1.103 +
   1.104 +
   1.105 +        /// <summary>
   1.106 +        /// Access icons from embedded resources.
   1.107 +        /// </summary>
   1.108 +        /// <param name="name"></param>
   1.109 +        /// <returns></returns>
   1.110 +        public static Icon GetIcon(string name)
   1.111 +        {
   1.112 +            string[] names = Assembly.GetExecutingAssembly().GetManifestResourceNames();
   1.113 +            for (int i = 0; i < names.Length; i++)
   1.114 +            {
   1.115 +                if (names[i].EndsWith(name))
   1.116 +                {
   1.117 +                    using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(names[i]))
   1.118 +                    {
   1.119 +                        return new Icon(stream);
   1.120 +                    }
   1.121 +                }
   1.122 +            }
   1.123 +
   1.124 +            return null;
   1.125 +        }
   1.126 +
   1.127 +
   1.128 +    }
   1.129 +
   1.130 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/NotificationSetup.cs	Tue Dec 08 13:52:15 2015 +0100
     2.3 @@ -0,0 +1,75 @@
     2.4 +#region Copyright (C) 2005-2011 Team MediaPortal
     2.5 +
     2.6 +// Copyright (C) 2005-2011 Team MediaPortal
     2.7 +// http://www.team-mediaportal.com
     2.8 +// 
     2.9 +// MediaPortal is free software: you can redistribute it and/or modify
    2.10 +// it under the terms of the GNU General Public License as published by
    2.11 +// the Free Software Foundation, either version 2 of the License, or
    2.12 +// (at your option) any later version.
    2.13 +// 
    2.14 +// MediaPortal is distributed in the hope that it will be useful,
    2.15 +// but WITHOUT ANY WARRANTY; without even the implied warranty of
    2.16 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    2.17 +// GNU General Public License for more details.
    2.18 +// 
    2.19 +// You should have received a copy of the GNU General Public License
    2.20 +// along with MediaPortal. If not, see <http://www.gnu.org/licenses/>.
    2.21 +
    2.22 +#endregion
    2.23 +
    2.24 +using System;
    2.25 +using System.Collections.Generic;
    2.26 +using System.ComponentModel;
    2.27 +using System.Drawing;
    2.28 +using System.Data;
    2.29 +using System.Text;
    2.30 +using System.Windows.Forms;
    2.31 +using TvDatabase;
    2.32 +using TvLibrary.Log;
    2.33 +
    2.34 +
    2.35 +namespace TvServerPlugin
    2.36 +{
    2.37 +  public partial class RecordStatusSetup : SetupTv.SectionSettings
    2.38 +  {
    2.39 +    #region constructor
    2.40 +
    2.41 +    public RecordStatusSetup()
    2.42 +      : this("Record Status Setup")
    2.43 +    {
    2.44 +      InitializeComponent();
    2.45 +    }
    2.46 +
    2.47 +    public RecordStatusSetup(string name)
    2.48 +      : base(name)
    2.49 +    {
    2.50 +      InitializeComponent();
    2.51 +    }
    2.52 +
    2.53 +    #endregion
    2.54 +
    2.55 +    #region Public Members
    2.56 +
    2.57 +    public override void OnSectionActivated()
    2.58 +    {
    2.59 +      TvBusinessLayer layer = new TvBusinessLayer();
    2.60 +      debug.Checked = layer.GetSetting("RecordStatusDebugMode", "false").Value == "true";
    2.61 +      base.OnSectionActivated();
    2.62 +    }
    2.63 +
    2.64 +    public override void OnSectionDeActivated()
    2.65 +    {
    2.66 +      TvBusinessLayer layer = new TvBusinessLayer();
    2.67 +      Setting setting = layer.GetSetting("RecordStatusDebugMode", "false");
    2.68 +      if (debug.Checked)
    2.69 +        setting.Value = "true";
    2.70 +      else
    2.71 +        setting.Value = "false";
    2.72 +      setting.Persist();
    2.73 +      base.OnSectionDeActivated();
    2.74 +    }
    2.75 +
    2.76 +    #endregion
    2.77 +  }
    2.78 +}
    2.79 \ No newline at end of file
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/NotificationSetup.designer.cs	Tue Dec 08 13:52:15 2015 +0100
     3.3 @@ -0,0 +1,74 @@
     3.4 +namespace TvServerPlugin
     3.5 +{
     3.6 +	partial class RecordStatusSetup
     3.7 +	{
     3.8 +		/// <summary> 
     3.9 +		/// Required designer variable.
    3.10 +		/// </summary>
    3.11 +		private System.ComponentModel.IContainer components = null;
    3.12 +
    3.13 +		/// <summary> 
    3.14 +		/// Clean up any resources being used.
    3.15 +		/// </summary>
    3.16 +		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    3.17 +		protected override void Dispose(bool disposing)
    3.18 +		{
    3.19 +			if (disposing && (components != null))
    3.20 +			{
    3.21 +				components.Dispose();
    3.22 +			}
    3.23 +			base.Dispose(disposing);
    3.24 +		}
    3.25 +
    3.26 +		#region Component Designer generated code
    3.27 +
    3.28 +		/// <summary> 
    3.29 +		/// Required method for Designer support - do not modify 
    3.30 +		/// the contents of this method with the code editor.
    3.31 +		/// </summary>
    3.32 +		private void InitializeComponent()
    3.33 +		{
    3.34 +            this.groupBox2 = new System.Windows.Forms.GroupBox();
    3.35 +            this.debug = new System.Windows.Forms.CheckBox();
    3.36 +            this.groupBox2.SuspendLayout();
    3.37 +            this.SuspendLayout();
    3.38 +            // 
    3.39 +            // groupBox2
    3.40 +            // 
    3.41 +            this.groupBox2.Controls.Add(this.debug);
    3.42 +            this.groupBox2.Location = new System.Drawing.Point(3, 3);
    3.43 +            this.groupBox2.Name = "groupBox2";
    3.44 +            this.groupBox2.Size = new System.Drawing.Size(174, 44);
    3.45 +            this.groupBox2.TabIndex = 3;
    3.46 +            this.groupBox2.TabStop = false;
    3.47 +            this.groupBox2.Text = "Debug section";
    3.48 +            // 
    3.49 +            // debug
    3.50 +            // 
    3.51 +            this.debug.AutoSize = true;
    3.52 +            this.debug.Location = new System.Drawing.Point(6, 19);
    3.53 +            this.debug.Name = "debug";
    3.54 +            this.debug.Size = new System.Drawing.Size(143, 17);
    3.55 +            this.debug.TabIndex = 0;
    3.56 +            this.debug.Text = "Enable extended logging";
    3.57 +            this.debug.UseVisualStyleBackColor = true;
    3.58 +            // 
    3.59 +            // RecordStatusSetup
    3.60 +            // 
    3.61 +            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    3.62 +            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    3.63 +            this.Controls.Add(this.groupBox2);
    3.64 +            this.Name = "RecordStatusSetup";
    3.65 +            this.Size = new System.Drawing.Size(257, 100);
    3.66 +            this.groupBox2.ResumeLayout(false);
    3.67 +            this.groupBox2.PerformLayout();
    3.68 +            this.ResumeLayout(false);
    3.69 +
    3.70 +		}
    3.71 +
    3.72 +		#endregion
    3.73 +
    3.74 +		private System.Windows.Forms.GroupBox groupBox2;
    3.75 +		private System.Windows.Forms.CheckBox debug;
    3.76 +	}
    3.77 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/NotificationSetup.resx	Tue Dec 08 13:52:15 2015 +0100
     4.3 @@ -0,0 +1,120 @@
     4.4 +<?xml version="1.0" encoding="utf-8"?>
     4.5 +<root>
     4.6 +  <!-- 
     4.7 +    Microsoft ResX Schema 
     4.8 +    
     4.9 +    Version 2.0
    4.10 +    
    4.11 +    The primary goals of this format is to allow a simple XML format 
    4.12 +    that is mostly human readable. The generation and parsing of the 
    4.13 +    various data types are done through the TypeConverter classes 
    4.14 +    associated with the data types.
    4.15 +    
    4.16 +    Example:
    4.17 +    
    4.18 +    ... ado.net/XML headers & schema ...
    4.19 +    <resheader name="resmimetype">text/microsoft-resx</resheader>
    4.20 +    <resheader name="version">2.0</resheader>
    4.21 +    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    4.22 +    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    4.23 +    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    4.24 +    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    4.25 +    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
    4.26 +        <value>[base64 mime encoded serialized .NET Framework object]</value>
    4.27 +    </data>
    4.28 +    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    4.29 +        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
    4.30 +        <comment>This is a comment</comment>
    4.31 +    </data>
    4.32 +                
    4.33 +    There are any number of "resheader" rows that contain simple 
    4.34 +    name/value pairs.
    4.35 +    
    4.36 +    Each data row contains a name, and value. The row also contains a 
    4.37 +    type or mimetype. Type corresponds to a .NET class that support 
    4.38 +    text/value conversion through the TypeConverter architecture. 
    4.39 +    Classes that don't support this are serialized and stored with the 
    4.40 +    mimetype set.
    4.41 +    
    4.42 +    The mimetype is used for serialized objects, and tells the 
    4.43 +    ResXResourceReader how to depersist the object. This is currently not 
    4.44 +    extensible. For a given mimetype the value must be set accordingly:
    4.45 +    
    4.46 +    Note - application/x-microsoft.net.object.binary.base64 is the format 
    4.47 +    that the ResXResourceWriter will generate, however the reader can 
    4.48 +    read any of the formats listed below.
    4.49 +    
    4.50 +    mimetype: application/x-microsoft.net.object.binary.base64
    4.51 +    value   : The object must be serialized with 
    4.52 +            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
    4.53 +            : and then encoded with base64 encoding.
    4.54 +    
    4.55 +    mimetype: application/x-microsoft.net.object.soap.base64
    4.56 +    value   : The object must be serialized with 
    4.57 +            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
    4.58 +            : and then encoded with base64 encoding.
    4.59 +
    4.60 +    mimetype: application/x-microsoft.net.object.bytearray.base64
    4.61 +    value   : The object must be serialized into a byte array 
    4.62 +            : using a System.ComponentModel.TypeConverter
    4.63 +            : and then encoded with base64 encoding.
    4.64 +    -->
    4.65 +  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    4.66 +    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    4.67 +    <xsd:element name="root" msdata:IsDataSet="true">
    4.68 +      <xsd:complexType>
    4.69 +        <xsd:choice maxOccurs="unbounded">
    4.70 +          <xsd:element name="metadata">
    4.71 +            <xsd:complexType>
    4.72 +              <xsd:sequence>
    4.73 +                <xsd:element name="value" type="xsd:string" minOccurs="0" />
    4.74 +              </xsd:sequence>
    4.75 +              <xsd:attribute name="name" use="required" type="xsd:string" />
    4.76 +              <xsd:attribute name="type" type="xsd:string" />
    4.77 +              <xsd:attribute name="mimetype" type="xsd:string" />
    4.78 +              <xsd:attribute ref="xml:space" />
    4.79 +            </xsd:complexType>
    4.80 +          </xsd:element>
    4.81 +          <xsd:element name="assembly">
    4.82 +            <xsd:complexType>
    4.83 +              <xsd:attribute name="alias" type="xsd:string" />
    4.84 +              <xsd:attribute name="name" type="xsd:string" />
    4.85 +            </xsd:complexType>
    4.86 +          </xsd:element>
    4.87 +          <xsd:element name="data">
    4.88 +            <xsd:complexType>
    4.89 +              <xsd:sequence>
    4.90 +                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
    4.91 +                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
    4.92 +              </xsd:sequence>
    4.93 +              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
    4.94 +              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
    4.95 +              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
    4.96 +              <xsd:attribute ref="xml:space" />
    4.97 +            </xsd:complexType>
    4.98 +          </xsd:element>
    4.99 +          <xsd:element name="resheader">
   4.100 +            <xsd:complexType>
   4.101 +              <xsd:sequence>
   4.102 +                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
   4.103 +              </xsd:sequence>
   4.104 +              <xsd:attribute name="name" type="xsd:string" use="required" />
   4.105 +            </xsd:complexType>
   4.106 +          </xsd:element>
   4.107 +        </xsd:choice>
   4.108 +      </xsd:complexType>
   4.109 +    </xsd:element>
   4.110 +  </xsd:schema>
   4.111 +  <resheader name="resmimetype">
   4.112 +    <value>text/microsoft-resx</value>
   4.113 +  </resheader>
   4.114 +  <resheader name="version">
   4.115 +    <value>2.0</value>
   4.116 +  </resheader>
   4.117 +  <resheader name="reader">
   4.118 +    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   4.119 +  </resheader>
   4.120 +  <resheader name="writer">
   4.121 +    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   4.122 +  </resheader>
   4.123 +</root>
   4.124 \ No newline at end of file
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/NotificationTvServerPlugin.csproj	Tue Dec 08 13:52:15 2015 +0100
     5.3 @@ -0,0 +1,113 @@
     5.4 +<?xml version="1.0" encoding="utf-8"?>
     5.5 +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     5.6 +  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
     5.7 +  <PropertyGroup>
     5.8 +    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     5.9 +    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    5.10 +    <ProjectGuid>{9EB62D86-3A4E-49BE-91A3-0F7E36BAB34F}</ProjectGuid>
    5.11 +    <OutputType>Library</OutputType>
    5.12 +    <AppDesignerFolder>Properties</AppDesignerFolder>
    5.13 +    <RootNamespace>NotificationTvServerPlugin</RootNamespace>
    5.14 +    <AssemblyName>NotificationTvServerPlugin</AssemblyName>
    5.15 +    <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
    5.16 +    <FileAlignment>512</FileAlignment>
    5.17 +    <TargetFrameworkProfile />
    5.18 +  </PropertyGroup>
    5.19 +  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    5.20 +    <DebugSymbols>true</DebugSymbols>
    5.21 +    <DebugType>full</DebugType>
    5.22 +    <Optimize>false</Optimize>
    5.23 +    <OutputPath>bin\Debug\</OutputPath>
    5.24 +    <DefineConstants>DEBUG;TRACE</DefineConstants>
    5.25 +    <ErrorReport>prompt</ErrorReport>
    5.26 +    <WarningLevel>4</WarningLevel>
    5.27 +    <Prefer32Bit>false</Prefer32Bit>
    5.28 +  </PropertyGroup>
    5.29 +  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    5.30 +    <DebugType>pdbonly</DebugType>
    5.31 +    <Optimize>true</Optimize>
    5.32 +    <OutputPath>bin\Release\</OutputPath>
    5.33 +    <DefineConstants>TRACE</DefineConstants>
    5.34 +    <ErrorReport>prompt</ErrorReport>
    5.35 +    <WarningLevel>4</WarningLevel>
    5.36 +    <Prefer32Bit>false</Prefer32Bit>
    5.37 +  </PropertyGroup>
    5.38 +  <ItemGroup>
    5.39 +    <Reference Include="Common.Utils, Version=1.12.100.0, Culture=neutral, processorArchitecture=MSIL">
    5.40 +      <HintPath>packages\MediaPortal.TvEngine3.Plugin.1.12.1\lib\net40\Common.Utils.dll</HintPath>
    5.41 +      <Private>True</Private>
    5.42 +    </Reference>
    5.43 +    <Reference Include="Gentle.Common, Version=1.5.0.29113, Culture=neutral, PublicKeyToken=80b5de62e27be49b, processorArchitecture=MSIL">
    5.44 +      <HintPath>packages\MediaPortal.TvEngine3.Plugin.1.12.1\lib\net40\Gentle.Common.dll</HintPath>
    5.45 +      <Private>True</Private>
    5.46 +    </Reference>
    5.47 +    <Reference Include="Gentle.Framework, Version=1.5.0.29113, Culture=neutral, PublicKeyToken=80b5de62e27be49b, processorArchitecture=MSIL">
    5.48 +      <HintPath>packages\MediaPortal.TvEngine3.Plugin.1.12.1\lib\net40\Gentle.Framework.dll</HintPath>
    5.49 +      <Private>True</Private>
    5.50 +    </Reference>
    5.51 +    <Reference Include="PluginBase, Version=1.12.100.0, Culture=neutral, processorArchitecture=MSIL">
    5.52 +      <HintPath>packages\MediaPortal.TvEngine3.Plugin.1.12.1\lib\net40\PluginBase.dll</HintPath>
    5.53 +      <Private>True</Private>
    5.54 +    </Reference>
    5.55 +    <Reference Include="SetupControls, Version=1.12.100.0, Culture=neutral, processorArchitecture=MSIL">
    5.56 +      <HintPath>packages\MediaPortal.TvEngine3.Plugin.1.12.1\lib\net40\SetupControls.dll</HintPath>
    5.57 +      <Private>True</Private>
    5.58 +    </Reference>
    5.59 +    <Reference Include="SharpLibDisplay, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
    5.60 +      <HintPath>packages\SharpLibDisplay.0.1.2\lib\net40\SharpLibDisplay.dll</HintPath>
    5.61 +      <Private>True</Private>
    5.62 +    </Reference>
    5.63 +    <Reference Include="System" />
    5.64 +    <Reference Include="System.Core" />
    5.65 +    <Reference Include="System.Drawing" />
    5.66 +    <Reference Include="System.Windows.Forms" />
    5.67 +    <Reference Include="System.Xml.Linq" />
    5.68 +    <Reference Include="System.Data.DataSetExtensions" />
    5.69 +    <Reference Include="Microsoft.CSharp" />
    5.70 +    <Reference Include="System.Data" />
    5.71 +    <Reference Include="System.Net.Http" />
    5.72 +    <Reference Include="System.Xml" />
    5.73 +    <Reference Include="TvBusinessLayer, Version=1.12.100.0, Culture=neutral, processorArchitecture=x86">
    5.74 +      <HintPath>packages\MediaPortal.TvEngine3.Plugin.1.12.1\lib\net40\TvBusinessLayer.dll</HintPath>
    5.75 +      <Private>True</Private>
    5.76 +    </Reference>
    5.77 +    <Reference Include="TvControl, Version=1.12.100.0, Culture=neutral, processorArchitecture=x86">
    5.78 +      <HintPath>packages\MediaPortal.TvEngine3.Plugin.1.12.1\lib\net40\TvControl.dll</HintPath>
    5.79 +      <Private>True</Private>
    5.80 +    </Reference>
    5.81 +    <Reference Include="TVDatabase, Version=1.12.100.0, Culture=neutral, processorArchitecture=x86">
    5.82 +      <HintPath>packages\MediaPortal.TvEngine3.Plugin.1.12.1\lib\net40\TVDatabase.dll</HintPath>
    5.83 +      <Private>True</Private>
    5.84 +    </Reference>
    5.85 +    <Reference Include="TvLibrary.Interfaces, Version=1.12.100.0, Culture=neutral, processorArchitecture=x86">
    5.86 +      <HintPath>packages\MediaPortal.TvEngine3.Plugin.1.12.1\lib\net40\TvLibrary.Interfaces.dll</HintPath>
    5.87 +      <Private>True</Private>
    5.88 +    </Reference>
    5.89 +  </ItemGroup>
    5.90 +  <ItemGroup>
    5.91 +    <Compile Include="NotificationPlugin.cs" />
    5.92 +    <Compile Include="Properties\AssemblyInfo.cs" />
    5.93 +    <Compile Include="NotificationSetup.cs">
    5.94 +      <SubType>UserControl</SubType>
    5.95 +    </Compile>
    5.96 +    <Compile Include="NotificationSetup.designer.cs">
    5.97 +      <DependentUpon>NotificationSetup.cs</DependentUpon>
    5.98 +    </Compile>
    5.99 +  </ItemGroup>
   5.100 +  <ItemGroup>
   5.101 +    <None Include="packages.config" />
   5.102 +  </ItemGroup>
   5.103 +  <ItemGroup>
   5.104 +    <EmbeddedResource Include="NotificationSetup.resx">
   5.105 +      <DependentUpon>NotificationSetup.cs</DependentUpon>
   5.106 +    </EmbeddedResource>
   5.107 +  </ItemGroup>
   5.108 +  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   5.109 +  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
   5.110 +       Other similar extension points exist, see Microsoft.Common.targets.
   5.111 +  <Target Name="BeforeBuild">
   5.112 +  </Target>
   5.113 +  <Target Name="AfterBuild">
   5.114 +  </Target>
   5.115 +  -->
   5.116 +</Project>
   5.117 \ No newline at end of file
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/NotificationTvServerPlugin.sln	Tue Dec 08 13:52:15 2015 +0100
     6.3 @@ -0,0 +1,22 @@
     6.4 +
     6.5 +Microsoft Visual Studio Solution File, Format Version 12.00
     6.6 +# Visual Studio 14
     6.7 +VisualStudioVersion = 14.0.24720.0
     6.8 +MinimumVisualStudioVersion = 10.0.40219.1
     6.9 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NotificationTvServerPlugin", "NotificationTvServerPlugin.csproj", "{9EB62D86-3A4E-49BE-91A3-0F7E36BAB34F}"
    6.10 +EndProject
    6.11 +Global
    6.12 +	GlobalSection(SolutionConfigurationPlatforms) = preSolution
    6.13 +		Debug|Any CPU = Debug|Any CPU
    6.14 +		Release|Any CPU = Release|Any CPU
    6.15 +	EndGlobalSection
    6.16 +	GlobalSection(ProjectConfigurationPlatforms) = postSolution
    6.17 +		{9EB62D86-3A4E-49BE-91A3-0F7E36BAB34F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    6.18 +		{9EB62D86-3A4E-49BE-91A3-0F7E36BAB34F}.Debug|Any CPU.Build.0 = Debug|Any CPU
    6.19 +		{9EB62D86-3A4E-49BE-91A3-0F7E36BAB34F}.Release|Any CPU.ActiveCfg = Release|Any CPU
    6.20 +		{9EB62D86-3A4E-49BE-91A3-0F7E36BAB34F}.Release|Any CPU.Build.0 = Release|Any CPU
    6.21 +	EndGlobalSection
    6.22 +	GlobalSection(SolutionProperties) = preSolution
    6.23 +		HideSolutionNode = FALSE
    6.24 +	EndGlobalSection
    6.25 +EndGlobal
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/Properties/AssemblyInfo.cs	Tue Dec 08 13:52:15 2015 +0100
     7.3 @@ -0,0 +1,41 @@
     7.4 +using System.Reflection;
     7.5 +using System.Runtime.CompilerServices;
     7.6 +using System.Runtime.InteropServices;
     7.7 +using MediaPortal.Common.Utils;
     7.8 +
     7.9 +// General Information about an assembly is controlled through the following 
    7.10 +// set of attributes. Change these attribute values to modify the information
    7.11 +// associated with an assembly.
    7.12 +[assembly: AssemblyTitle("RecordStatusTvEnginePlugin")]
    7.13 +[assembly: AssemblyDescription("")]
    7.14 +[assembly: AssemblyConfiguration("")]
    7.15 +[assembly: AssemblyCompany("")]
    7.16 +[assembly: AssemblyProduct("RecordStatusTvEnginePlugin")]
    7.17 +[assembly: AssemblyCopyright("Copyright ©  2015")]
    7.18 +[assembly: AssemblyTrademark("")]
    7.19 +[assembly: AssemblyCulture("")]
    7.20 +
    7.21 +// Setting ComVisible to false makes the types in this assembly not visible 
    7.22 +// to COM components.  If you need to access a type in this assembly from 
    7.23 +// COM, set the ComVisible attribute to true on that type.
    7.24 +[assembly: ComVisible(false)]
    7.25 +
    7.26 +// The following GUID is for the ID of the typelib if this project is exposed to COM
    7.27 +[assembly: Guid("9eb62d86-3a4e-49be-91a3-0f7e36bab34f")]
    7.28 +
    7.29 +// Version information for an assembly consists of the following four values:
    7.30 +//
    7.31 +//      Major Version
    7.32 +//      Minor Version 
    7.33 +//      Build Number
    7.34 +//      Revision
    7.35 +//
    7.36 +// You can specify all the values or you can default the Build and Revision Numbers 
    7.37 +// by using the '*' as shown below:
    7.38 +// [assembly: AssemblyVersion("1.0.*")]
    7.39 +[assembly: AssemblyVersion("1.0.0.0")]
    7.40 +[assembly: AssemblyFileVersion("1.0.0.0")]
    7.41 +
    7.42 +//TV Server Plugin
    7.43 +[assembly: CompatibleVersion("1.1.8.0")]
    7.44 +[assembly: UsesSubsystem("TVE")]
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/packages.config	Tue Dec 08 13:52:15 2015 +0100
     8.3 @@ -0,0 +1,5 @@
     8.4 +<?xml version="1.0" encoding="utf-8"?>
     8.5 +<packages>
     8.6 +  <package id="MediaPortal.TvEngine3.Plugin" version="1.12.1" targetFramework="net46" />
     8.7 +  <package id="SharpLibDisplay" version="0.1.2" targetFramework="net46" />
     8.8 +</packages>
     8.9 \ No newline at end of file