Permalink
Browse files

Boxee compatability

compatability module to write tvdb id out to <boxeetvdb> tag, not id tag
- stops boxee from submitting it to their servers
  • Loading branch information...
1 parent 23fbba5 commit f52ddb96feb0760d8f8f456d17b6e58864953212 jfearon committed Jun 23, 2012
@@ -0,0 +1,108 @@
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+Partial Class frmBoxee
+ Inherits System.Windows.Forms.Form
+
+ 'Form overrides dispose to clean up the component list.
+ <System.Diagnostics.DebuggerNonUserCode()> _
+ Protected Overrides Sub Dispose(ByVal disposing As Boolean)
+ Try
+ If disposing AndAlso components IsNot Nothing Then
+ components.Dispose()
+ End If
+ Finally
+ MyBase.Dispose(disposing)
+ End Try
+ End Sub
+
+ 'Required by the Windows Form Designer
+ Private components As System.ComponentModel.IContainer
+
+ 'NOTE: The following procedure is required by the Windows Form Designer
+ 'It can be modified using the Windows Form Designer.
+ 'Do not modify it using the code editor.
+ <System.Diagnostics.DebuggerStepThrough()> _
+ Private Sub InitializeComponent()
+ Me.pnlSettings = New System.Windows.Forms.Panel()
+ Me.chkBoxeeId = New System.Windows.Forms.CheckBox()
+ Me.Panel1 = New System.Windows.Forms.Panel()
+ Me.chkEnabled = New System.Windows.Forms.CheckBox()
+ Me.GroupBox1 = New System.Windows.Forms.GroupBox()
+ Me.pnlSettings.SuspendLayout()
+ Me.Panel1.SuspendLayout()
+ Me.GroupBox1.SuspendLayout()
+ Me.SuspendLayout()
+ '
+ 'pnlSettings
+ '
+ Me.pnlSettings.BackColor = System.Drawing.Color.White
+ Me.pnlSettings.Controls.Add(Me.GroupBox1)
+ Me.pnlSettings.Controls.Add(Me.Panel1)
+ Me.pnlSettings.Location = New System.Drawing.Point(12, 12)
+ Me.pnlSettings.Name = "pnlSettings"
+ Me.pnlSettings.Size = New System.Drawing.Size(617, 327)
+ Me.pnlSettings.TabIndex = 85
+ '
+ 'chkBoxeeId
+ '
+ Me.chkBoxeeId.CheckAlign = System.Drawing.ContentAlignment.TopLeft
+ Me.chkBoxeeId.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
+ Me.chkBoxeeId.Location = New System.Drawing.Point(6, 21)
+ Me.chkBoxeeId.Name = "chkBoxeeId"
+ Me.chkBoxeeId.Size = New System.Drawing.Size(584, 17)
+ Me.chkBoxeeId.TabIndex = 84
+ Me.chkBoxeeId.Text = "Replace ID field with Boxee Id Field"
+ Me.chkBoxeeId.TextAlign = System.Drawing.ContentAlignment.TopLeft
+ Me.chkBoxeeId.UseVisualStyleBackColor = True
+ '
+ 'Panel1
+ '
+ Me.Panel1.BackColor = System.Drawing.Color.WhiteSmoke
+ Me.Panel1.Controls.Add(Me.chkEnabled)
+ Me.Panel1.Dock = System.Windows.Forms.DockStyle.Top
+ Me.Panel1.Location = New System.Drawing.Point(0, 0)
+ Me.Panel1.Name = "Panel1"
+ Me.Panel1.Size = New System.Drawing.Size(617, 25)
+ Me.Panel1.TabIndex = 82
+ '
+ 'chkEnabled
+ '
+ Me.chkEnabled.AutoSize = True
+ Me.chkEnabled.Location = New System.Drawing.Point(10, 5)
+ Me.chkEnabled.Name = "chkEnabled"
+ Me.chkEnabled.Size = New System.Drawing.Size(65, 17)
+ Me.chkEnabled.TabIndex = 80
+ Me.chkEnabled.Text = "Enabled"
+ Me.chkEnabled.UseVisualStyleBackColor = True
+ '
+ 'GroupBox1
+ '
+ Me.GroupBox1.Controls.Add(Me.chkBoxeeId)
+ Me.GroupBox1.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
+ Me.GroupBox1.Location = New System.Drawing.Point(10, 31)
+ Me.GroupBox1.Name = "GroupBox1"
+ Me.GroupBox1.Size = New System.Drawing.Size(604, 49)
+ Me.GroupBox1.TabIndex = 85
+ Me.GroupBox1.TabStop = False
+ Me.GroupBox1.Text = "TV Show Options"
+ '
+ 'frmBoxee
+ '
+ Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
+ Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
+ Me.ClientSize = New System.Drawing.Size(643, 356)
+ Me.Controls.Add(Me.pnlSettings)
+ Me.Name = "frmBoxee"
+ Me.Text = "frmBoxee"
+ Me.pnlSettings.ResumeLayout(False)
+ Me.Panel1.ResumeLayout(False)
+ Me.Panel1.PerformLayout()
+ Me.GroupBox1.ResumeLayout(False)
+ Me.ResumeLayout(False)
+
+ End Sub
+ Friend WithEvents pnlSettings As System.Windows.Forms.Panel
+ Friend WithEvents chkBoxeeId As System.Windows.Forms.CheckBox
+ Friend WithEvents Panel1 As System.Windows.Forms.Panel
+ Friend WithEvents chkEnabled As System.Windows.Forms.CheckBox
+ Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
+End Class
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root>
@@ -0,0 +1,30 @@
+Imports EmberAPI
+
+Public Class frmBoxee
+
+
+#Region "Events"
+ Public Event ModuleEnabledChanged(ByVal State As Boolean, ByVal difforder As Integer)
+ Public Event ModuleSettingsChanged()
+ Public Event GenericEvent(ByVal mType As EmberAPI.Enums.ModuleEventType, ByRef _params As System.Collections.Generic.List(Of Object))
+#End Region 'Events
+
+ Private Sub chkEnabled_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkEnabled.CheckedChanged
+ RaiseEvent ModuleEnabledChanged(chkEnabled.Checked, 0)
+ End Sub
+
+ Public Sub New()
+ InitializeComponent()
+ Me.SetUp()
+ End Sub
+
+ Private Sub SetUp()
+ 'Me.chkEnabled.Text = Master.eLang.GetString(774, "Enabled", True)
+ Me.chkBoxeeId.Text = Master.eLang.GetString(2, "Replace ID field with Boxee Id Field")
+ End Sub
+
+
+ Private Sub chkBoxeeId_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkBoxeeId.CheckedChanged
+ RaiseEvent ModuleSettingsChanged()
+ End Sub
+End Class
Oops, something went wrong.

0 comments on commit f52ddb9

Please sign in to comment.