quite a bit, too much to summarize here
This commit is contained in:
parent
24845b6b52
commit
5f22d25559
336 changed files with 171740 additions and 351 deletions
165
WindowsFormsApplication2/Form1.Designer.cs
generated
165
WindowsFormsApplication2/Form1.Designer.cs
generated
|
@ -1,4 +1,4 @@
|
|||
namespace WindowsFormsApplication2
|
||||
namespace JellyfinRPC
|
||||
{
|
||||
partial class Form1
|
||||
{
|
||||
|
@ -29,6 +29,7 @@
|
|||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.quitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
|
@ -36,15 +37,23 @@
|
|||
this.automaticallyStartToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.minimiseToTrayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.closeToTrayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.openToTrayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.serverConfigToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.rPCSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.debugToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.testConsoleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.writeLabelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.listBox1 = new System.Windows.Forms.ListBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.showToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.quitToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// menuStrip1
|
||||
|
@ -52,7 +61,8 @@
|
|||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fileToolStripMenuItem,
|
||||
this.settingsToolStripMenuItem,
|
||||
this.helpToolStripMenuItem});
|
||||
this.helpToolStripMenuItem,
|
||||
this.debugToolStripMenuItem});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Size = new System.Drawing.Size(503, 24);
|
||||
|
@ -83,7 +93,9 @@
|
|||
this.automaticallyStartToolStripMenuItem,
|
||||
this.minimiseToTrayToolStripMenuItem,
|
||||
this.closeToTrayToolStripMenuItem,
|
||||
this.serverConfigToolStripMenuItem});
|
||||
this.openToTrayToolStripMenuItem,
|
||||
this.serverConfigToolStripMenuItem,
|
||||
this.rPCSettingsToolStripMenuItem});
|
||||
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
|
||||
this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
|
||||
this.settingsToolStripMenuItem.Text = "Settings";
|
||||
|
@ -108,6 +120,15 @@
|
|||
this.closeToTrayToolStripMenuItem.Name = "closeToTrayToolStripMenuItem";
|
||||
this.closeToTrayToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
|
||||
this.closeToTrayToolStripMenuItem.Text = "Close to Tray";
|
||||
this.closeToTrayToolStripMenuItem.Click += new System.EventHandler(this.closeToTrayToolStripMenuItem_Click);
|
||||
//
|
||||
// openToTrayToolStripMenuItem
|
||||
//
|
||||
this.openToTrayToolStripMenuItem.CheckOnClick = true;
|
||||
this.openToTrayToolStripMenuItem.Name = "openToTrayToolStripMenuItem";
|
||||
this.openToTrayToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
|
||||
this.openToTrayToolStripMenuItem.Text = "Open to Tray";
|
||||
this.openToTrayToolStripMenuItem.Click += new System.EventHandler(this.openToTrayToolStripMenuItem_Click);
|
||||
//
|
||||
// serverConfigToolStripMenuItem
|
||||
//
|
||||
|
@ -116,6 +137,13 @@
|
|||
this.serverConfigToolStripMenuItem.Text = "Server Config";
|
||||
this.serverConfigToolStripMenuItem.Click += new System.EventHandler(this.serverConfigToolStripMenuItem_Click);
|
||||
//
|
||||
// rPCSettingsToolStripMenuItem
|
||||
//
|
||||
this.rPCSettingsToolStripMenuItem.Name = "rPCSettingsToolStripMenuItem";
|
||||
this.rPCSettingsToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
|
||||
this.rPCSettingsToolStripMenuItem.Text = "RPC Config";
|
||||
this.rPCSettingsToolStripMenuItem.Click += new System.EventHandler(this.rPCSettingsToolStripMenuItem_Click);
|
||||
//
|
||||
// helpToolStripMenuItem
|
||||
//
|
||||
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
|
@ -127,52 +155,96 @@
|
|||
// aboutToolStripMenuItem
|
||||
//
|
||||
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
||||
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
|
||||
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.aboutToolStripMenuItem.Text = "About";
|
||||
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
||||
//
|
||||
// debugToolStripMenuItem
|
||||
//
|
||||
this.debugToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.testConsoleToolStripMenuItem,
|
||||
this.writeLabelToolStripMenuItem});
|
||||
this.debugToolStripMenuItem.Name = "debugToolStripMenuItem";
|
||||
this.debugToolStripMenuItem.Size = new System.Drawing.Size(54, 20);
|
||||
this.debugToolStripMenuItem.Text = "Debug";
|
||||
//
|
||||
// testConsoleToolStripMenuItem
|
||||
//
|
||||
this.testConsoleToolStripMenuItem.Name = "testConsoleToolStripMenuItem";
|
||||
this.testConsoleToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
|
||||
this.testConsoleToolStripMenuItem.Text = "Test Console";
|
||||
this.testConsoleToolStripMenuItem.Click += new System.EventHandler(this.testConsoleToolStripMenuItem_Click);
|
||||
//
|
||||
// writeLabelToolStripMenuItem
|
||||
//
|
||||
this.writeLabelToolStripMenuItem.Name = "writeLabelToolStripMenuItem";
|
||||
this.writeLabelToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
|
||||
this.writeLabelToolStripMenuItem.Text = "Write Status";
|
||||
this.writeLabelToolStripMenuItem.Click += new System.EventHandler(this.writeLabelToolStripMenuItem_Click);
|
||||
//
|
||||
// listBox1
|
||||
//
|
||||
this.listBox1.FormattingEnabled = true;
|
||||
this.listBox1.Location = new System.Drawing.Point(13, 28);
|
||||
this.listBox1.Location = new System.Drawing.Point(14, 27);
|
||||
this.listBox1.Name = "listBox1";
|
||||
this.listBox1.Size = new System.Drawing.Size(478, 199);
|
||||
this.listBox1.Size = new System.Drawing.Size(475, 199);
|
||||
this.listBox1.TabIndex = 1;
|
||||
this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
|
||||
//
|
||||
// button1
|
||||
// notifyIcon1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(415, 229);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 2;
|
||||
this.button1.Text = "Start";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.notifyIcon1.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info;
|
||||
this.notifyIcon1.BalloonTipText = "Jellyfin Rich Presence has been moved to the tray icon.";
|
||||
this.notifyIcon1.BalloonTipTitle = "Jellyfin Rich Presence is still running!";
|
||||
this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
|
||||
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
||||
this.notifyIcon1.Text = "Jellyfin Rich Presence";
|
||||
this.notifyIcon1.Visible = true;
|
||||
this.notifyIcon1.Click += new System.EventHandler(this.notifyIcon1_Click);
|
||||
this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.showToolStripMenuItem,
|
||||
this.quitToolStripMenuItem1});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(104, 48);
|
||||
//
|
||||
// showToolStripMenuItem
|
||||
//
|
||||
this.showToolStripMenuItem.Name = "showToolStripMenuItem";
|
||||
this.showToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
|
||||
this.showToolStripMenuItem.Text = "Show";
|
||||
this.showToolStripMenuItem.Click += new System.EventHandler(this.showToolStripMenuItem_Click);
|
||||
//
|
||||
// quitToolStripMenuItem1
|
||||
//
|
||||
this.quitToolStripMenuItem1.Name = "quitToolStripMenuItem1";
|
||||
this.quitToolStripMenuItem1.Size = new System.Drawing.Size(103, 22);
|
||||
this.quitToolStripMenuItem1.Text = "Quit";
|
||||
this.quitToolStripMenuItem1.Click += new System.EventHandler(this.quitToolStripMenuItem1_Click);
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
this.checkBox1.Location = new System.Drawing.Point(397, 238);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(94, 17);
|
||||
this.checkBox1.TabIndex = 4;
|
||||
this.checkBox1.Text = "Show Console";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
this.checkBox1.Click += new System.EventHandler(this.checkBox1_Click);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(13, 234);
|
||||
this.label1.Location = new System.Drawing.Point(12, 242);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(35, 13);
|
||||
this.label1.TabIndex = 3;
|
||||
this.label1.Text = "label1";
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Enabled = false;
|
||||
this.button2.Location = new System.Drawing.Point(334, 229);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||
this.button2.TabIndex = 4;
|
||||
this.button2.Text = "Stop";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// notifyIcon1
|
||||
//
|
||||
this.notifyIcon1.Text = "notifyIcon1";
|
||||
this.notifyIcon1.Visible = true;
|
||||
this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
|
@ -180,19 +252,22 @@
|
|||
this.AutoSize = true;
|
||||
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.ClientSize = new System.Drawing.Size(503, 264);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.listBox1);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.checkBox1);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "Form1";
|
||||
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
||||
this.Text = "Jellyfin Rich Presence";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
||||
this.Load += new System.EventHandler(this.Form1_Load);
|
||||
this.Resize += new System.EventHandler(this.Form1_Resize);
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.contextMenuStrip1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
|
@ -209,13 +284,19 @@
|
|||
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem serverConfigToolStripMenuItem;
|
||||
private System.Windows.Forms.ListBox listBox1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.ToolStripMenuItem automaticallyStartToolStripMenuItem;
|
||||
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
||||
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem showToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem quitToolStripMenuItem1;
|
||||
private System.Windows.Forms.ToolStripMenuItem openToTrayToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem rPCSettingsToolStripMenuItem;
|
||||
public System.Windows.Forms.ListBox listBox1;
|
||||
private System.Windows.Forms.ToolStripMenuItem debugToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem testConsoleToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem writeLabelToolStripMenuItem;
|
||||
public System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue