Index: MP-TVSeries/Configuration/GUIConfiguration.cs
===================================================================
--- MP-TVSeries/Configuration/GUIConfiguration.cs (revision 2107)
+++ MP-TVSeries/Configuration/GUIConfiguration.cs (working copy)
@@ -43,6 +43,7 @@
using WindowPlugins.GUITVSeries.Configuration;
using System.Xml;
using MediaPortal.GUI.Library;
+using System.Globalization;
#if DEBUG
using System.Diagnostics;
@@ -201,8 +202,6 @@
textBox_PluginHomeName.Text = DBOption.GetOptions(DBOption.cPluginName);
checkBox_OnlineSearch.Checked = DBOption.GetOptions(DBOption.cOnlineParseEnabled);
checkBox_FullSeriesRetrieval.Checked = DBOption.GetOptions(DBOption.cFullSeriesRetrieval);
- dbOptCheckBoxCleanOnlineEpisodes.Enabled = checkBox_FullSeriesRetrieval.Checked;
- dbOptCheckBoxRemoveEpZero.Enabled = checkBox_FullSeriesRetrieval.Checked;
checkBox_AutoChooseSeries.Checked = DBOption.GetOptions(DBOption.cAutoChooseSeries);
checkBox_AutoChooseOrder.Checked = DBOption.GetOptions(DBOption.cAutoChooseOrder);
checkBox_Episode_OnlyShowLocalFiles.Checked = !DBOption.GetOptions(DBOption.cOnlyShowLocalFiles);
@@ -339,6 +338,8 @@
dbOptCheckBoxRemoveEpZero.Enabled = DBOption.GetOptions(DBOption.cCleanOnlineEpisodes);
checkBox_OverrideComboLang.Checked = DBOption.GetOptions(DBOption.cOverrideLanguage);
+
+ checkBox_CountSpecialEpisodesAsWatched.Checked = DBOption.GetOptions(DBOption.cCountSpecialEpisodesAsWatched);
tabControl_Details.SelectTab(1);
}
@@ -1640,6 +1641,7 @@
case DBEpisode.cVideoBitRate:
case DBEpisode.cVideoAspectRatio:
case DBEpisode.cAudioTracks:
+ case DBEpisode.cAudioLanguage:
case DBEpisode.cAudioCodec:
case DBEpisode.cAudioFormat:
case DBEpisode.cAudioFormatProfile:
@@ -2039,7 +2041,7 @@
DataGridViewRow dataGridDetailRow = new DataGridViewRow();
DataGridViewTextBoxCell cFieldName;
- if ((FieldName == "language") && (DBOption.GetOptions(DBOption.cOverrideLanguage)))
+ if ((FieldName == DBOnlineSeries.cLanguage) && (DBOption.GetOptions(DBOption.cOverrideLanguage)))
{
dataGridDetailRow = new DataGridViewRow();
cFieldName = new DataGridViewTextBoxCell();
@@ -2085,6 +2087,9 @@
cFieldName = new DataGridViewTextBoxCell();
DataGridViewTextBoxCell cFieldValue = new DataGridViewTextBoxCell();
+ if (FieldName == DBEpisode.cAudioLanguage)
+ FieldValue = GetAudioLanguageDisplayName(FieldValue);
+
// First Column (Name)
cFieldName.Value = FieldName;
cFieldName.Style.BackColor = System.Drawing.SystemColors.Control;
@@ -2244,9 +2249,6 @@
private void checkBox_FullSeriesRetrieval_CheckedChanged(object sender, EventArgs e)
{
DBOption.SetOptions(DBOption.cFullSeriesRetrieval, checkBox_FullSeriesRetrieval.Checked);
-
- dbOptCheckBoxCleanOnlineEpisodes.Enabled = checkBox_FullSeriesRetrieval.Checked;
- dbOptCheckBoxRemoveEpZero.Enabled = checkBox_FullSeriesRetrieval.Checked;
}
private void checkBox_AutoChooseSeries_CheckedChanged(object sender, EventArgs e)
@@ -2896,7 +2898,7 @@
}
}
- cache.dump();
+ cache.dump();
break;
case DBEpisode.cTableName:
@@ -3793,6 +3795,11 @@
}
}
+ private void checkBox_DontCountSpecialEpisodes_CheckedChanged(object sender, EventArgs e)
+ {
+ DBOption.SetOptions(DBOption.cCountSpecialEpisodesAsWatched, checkBox_CountSpecialEpisodesAsWatched.Checked);
+ }
+
private void linkDelUpdateTime_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
DBOption.SetOptions(DBOption.cUpdateTimeStamp, 0);
@@ -4662,6 +4669,25 @@
dbOptCheckBoxRemoveEpZero.Enabled = false;
}
}
+
+ #region Get the Culture DisplayName from Two Letter ISO
+ public string GetAudioLanguageDisplayName(String TwoLetterISOLanguage)
+ {
+ String CultureDisplayName = TwoLetterISOLanguage;
+ CultureInfo[] cultures = CultureInfo.GetCultures(CultureTypes.AllCultures);
+
+ foreach (var culture in cultures)
+ {
+ if (culture.TwoLetterISOLanguageName == TwoLetterISOLanguage)
+ {
+ CultureDisplayName = culture.DisplayName;
+ break;
+ }
+ }
+
+ return CultureDisplayName;
+ }
+ #endregion
}
public class BannerComboItem
Index: MP-TVSeries/Configuration/GUIConfiguration.designer.cs
===================================================================
--- MP-TVSeries/Configuration/GUIConfiguration.designer.cs (revision 2107)
+++ MP-TVSeries/Configuration/GUIConfiguration.designer.cs (working copy)
@@ -168,6 +168,16 @@
this.checkBox_Episode_HideUnwatchedThumbnail = new System.Windows.Forms.CheckBox();
this.checkBox_Episode_HideUnwatchedSummary = new System.Windows.Forms.CheckBox();
this.numericUpDownImportDelay = new System.Windows.Forms.NumericUpDown();
+ this.dbOptCheckBoxCleanOnlineEpisodes = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
+ this.dbOptionCheckBox4 = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
+ this.dbOptChkBoxPlayOutOfOrderCheck = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
+ this.dbOptionSQLLogging = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
+ this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
+ this.checkBox_CountSpecialEpisodesAsWatched = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
+ this.dbOptChkBoxCountEmptyFutureEps = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
+ this.dbOptionCheckBoxMarkRatedEpsAsWatched = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
+ this.optionAsk2Rate = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
+ this.dbOptCheckBoxRemoveEpZero = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
this.splitMain_Log = new System.Windows.Forms.SplitContainer();
this.tabControl_Details = new System.Windows.Forms.TabControl();
this.tabPage_Details = new System.Windows.Forms.TabPage();
@@ -176,6 +186,8 @@
this.pictureBox_SeriesPoster = new System.Windows.Forms.PictureBox();
this.comboBox_PosterSelection = new System.Windows.Forms.ComboBox();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
+ this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.pictureBox_Series = new System.Windows.Forms.PictureBox();
this.comboBox_BannerSelection = new System.Windows.Forms.ComboBox();
this.panDBLocation = new System.Windows.Forms.Panel();
@@ -208,10 +220,12 @@
this.tabOnlineData = new System.Windows.Forms.TabPage();
this.groupBox12 = new System.Windows.Forms.GroupBox();
this.panel_OnlineData = new System.Windows.Forms.Panel();
+ this.dbOptCheckBoxDownloadActors = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
this.label11 = new System.Windows.Forms.Label();
this.nudConsecFailures = new System.Windows.Forms.NumericUpDown();
this.label20 = new System.Windows.Forms.Label();
this.buttonArtworkDownloadLimits = new System.Windows.Forms.Button();
+ this.dbOptCheckBoxGetTextBanners = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
this.label18 = new System.Windows.Forms.Label();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.lblImportDelaySecs = new System.Windows.Forms.Label();
@@ -231,11 +245,15 @@
this.label26 = new System.Windows.Forms.Label();
this.tabPage_MP_DisplayControl = new System.Windows.Forms.TabPage();
this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.dbOptionCheckBox3 = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
this.lblRecentAddedDays = new System.Windows.Forms.Label();
this.cbNewEpisodeThumbIndicator = new System.Windows.Forms.ComboBox();
this.label17 = new System.Windows.Forms.Label();
this.laOnPlaySeriesOrSeasonAction = new System.Windows.Forms.Label();
this.cbOnPlaySeriesOrSeasonAction = new System.Windows.Forms.ComboBox();
+ this.dbOptChkBoxScanFullscreenVideo = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
+ this.dbOptionCheckBox2 = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
+ this.dbOptionCheckBoxSubstituteMissingArtwork = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
this.label77 = new System.Windows.Forms.Label();
this.label76 = new System.Windows.Forms.Label();
this.label75 = new System.Windows.Forms.Label();
@@ -247,6 +265,7 @@
this.label38 = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.tab_view = new System.Windows.Forms.TabPage();
+ this.playlistSettings = new WindowPlugins.GUITVSeries.Configuration.PlaylistSettings();
this.groupBox8 = new System.Windows.Forms.GroupBox();
this.label19 = new System.Windows.Forms.Label();
this.buttonPinCode = new System.Windows.Forms.Button();
@@ -267,6 +286,7 @@
this.btnLogoDeleteAll = new System.Windows.Forms.Button();
this.tabFormattingRules = new System.Windows.Forms.TabPage();
this.label64 = new System.Windows.Forms.Label();
+ this.formattingConfiguration1 = new WindowPlugins.GUITVSeries.Configuration.FormattingConfiguration();
this.tabLayoutSettings = new System.Windows.Forms.TabPage();
this.label37 = new System.Windows.Forms.Label();
this.groupBox3 = new System.Windows.Forms.GroupBox();
@@ -285,27 +305,8 @@
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.tabAbout = new System.Windows.Forms.TabPage();
+ this.aboutScreen = new WindowPlugins.GUITVSeries.About();
this.listBox_Log = new System.Windows.Forms.ListBox();
- this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.dbOptCheckBoxRemoveEpZero = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptCheckBoxCleanOnlineEpisodes = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptCheckBoxDownloadActors = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptionCheckBox4 = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptCheckBoxGetTextBanners = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptChkBoxPlayOutOfOrderCheck = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptionSQLLogging = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptionCheckBox3 = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptChkBoxCountEmptyFutureEps = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptChkBoxScanFullscreenVideo = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptionCheckBox2 = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptionCheckBoxSubstituteMissingArtwork = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.dbOptionCheckBoxMarkRatedEpsAsWatched = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.optionAsk2Rate = new WindowPlugins.GUITVSeries.Configuration.DBOptionCheckBox();
- this.playlistSettings = new WindowPlugins.GUITVSeries.Configuration.PlaylistSettings();
- this.formattingConfiguration1 = new WindowPlugins.GUITVSeries.Configuration.FormattingConfiguration();
- this.aboutScreen = new WindowPlugins.GUITVSeries.About();
this.contextMenuStrip_DetailsTree.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudWatchedAfter)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudScanRemoteShareFrequency)).BeginInit();
@@ -843,7 +844,7 @@
this.checkBox_OverrideComboLang.AutoSize = true;
this.checkBox_OverrideComboLang.Location = new System.Drawing.Point(259, 86);
this.checkBox_OverrideComboLang.Name = "checkBox_OverrideComboLang";
- this.checkBox_OverrideComboLang.Size = new System.Drawing.Size(117, 17);
+ this.checkBox_OverrideComboLang.Size = new System.Drawing.Size(164, 17);
this.checkBox_OverrideComboLang.TabIndex = 1;
this.checkBox_OverrideComboLang.Text = "Override Language for Series";
this.toolTip_Help.SetToolTip(this.checkBox_OverrideComboLang, "Enable this option to change the Meta language for specific series..\rLanguage can" +
@@ -1578,6 +1579,152 @@
0});
this.numericUpDownImportDelay.ValueChanged += new System.EventHandler(this.numericUpDownImportDelay_ValueChanged);
//
+ // dbOptCheckBoxCleanOnlineEpisodes
+ //
+ this.dbOptCheckBoxCleanOnlineEpisodes.AutoSize = true;
+ this.dbOptCheckBoxCleanOnlineEpisodes.Checked = true;
+ this.dbOptCheckBoxCleanOnlineEpisodes.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.dbOptCheckBoxCleanOnlineEpisodes.Location = new System.Drawing.Point(8, 283);
+ this.dbOptCheckBoxCleanOnlineEpisodes.Name = "dbOptCheckBoxCleanOnlineEpisodes";
+ this.dbOptCheckBoxCleanOnlineEpisodes.Option = "CleanOnlineEpisodes";
+ this.dbOptCheckBoxCleanOnlineEpisodes.Size = new System.Drawing.Size(368, 17);
+ this.dbOptCheckBoxCleanOnlineEpisodes.TabIndex = 21;
+ this.dbOptCheckBoxCleanOnlineEpisodes.Text = "Remove online episode references from database when not found online";
+ this.dbOptCheckBoxCleanOnlineEpisodes.ToolTip = "";
+ this.toolTip_InfoHelp.SetToolTip(this.dbOptCheckBoxCleanOnlineEpisodes, "This option will help keep your database clean when enabled.\r\n\r\nThis option is on" +
+ "ly applicable if all episode information is downloaded.");
+ this.dbOptCheckBoxCleanOnlineEpisodes.UseVisualStyleBackColor = true;
+ this.dbOptCheckBoxCleanOnlineEpisodes.CheckedChanged += new System.EventHandler(this.dbOptCheckBoxCleanOnlineEpisodes_CheckedChanged);
+ //
+ // dbOptionCheckBox4
+ //
+ this.dbOptionCheckBox4.AutoSize = true;
+ this.dbOptionCheckBox4.Checked = true;
+ this.dbOptionCheckBox4.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.dbOptionCheckBox4.Location = new System.Drawing.Point(8, 486);
+ this.dbOptionCheckBox4.Name = "dbOptionCheckBox4";
+ this.dbOptionCheckBox4.Option = "checkArtwork";
+ this.dbOptionCheckBox4.Size = new System.Drawing.Size(244, 17);
+ this.dbOptionCheckBox4.TabIndex = 30;
+ this.dbOptionCheckBox4.Text = "Check artwork downloaded exists and is valid.";
+ this.dbOptionCheckBox4.ToolTip = "";
+ this.toolTip_InfoHelp.SetToolTip(this.dbOptionCheckBox4, "Enable this option for an additional check of all series posters and banners.\r\n\r\n" +
+ "If artwork is not found on disk or is corrupt, then entry from database is clear" +
+ "ed.");
+ this.dbOptionCheckBox4.UseVisualStyleBackColor = true;
+ //
+ // dbOptChkBoxPlayOutOfOrderCheck
+ //
+ this.dbOptChkBoxPlayOutOfOrderCheck.AutoSize = true;
+ this.dbOptChkBoxPlayOutOfOrderCheck.Location = new System.Drawing.Point(404, 332);
+ this.dbOptChkBoxPlayOutOfOrderCheck.Name = "dbOptChkBoxPlayOutOfOrderCheck";
+ this.dbOptChkBoxPlayOutOfOrderCheck.Option = "CheckPlayOutOfOrder";
+ this.dbOptChkBoxPlayOutOfOrderCheck.Size = new System.Drawing.Size(255, 17);
+ this.dbOptChkBoxPlayOutOfOrderCheck.TabIndex = 40;
+ this.dbOptChkBoxPlayOutOfOrderCheck.Text = "Check on playback of episode is not out of order";
+ this.dbOptChkBoxPlayOutOfOrderCheck.ToolTip = "";
+ this.toolTip_InfoHelp.SetToolTip(this.dbOptChkBoxPlayOutOfOrderCheck, resources.GetString("dbOptChkBoxPlayOutOfOrderCheck.ToolTip"));
+ this.dbOptChkBoxPlayOutOfOrderCheck.UseVisualStyleBackColor = true;
+ //
+ // dbOptionSQLLogging
+ //
+ this.dbOptionSQLLogging.AutoSize = true;
+ this.dbOptionSQLLogging.Location = new System.Drawing.Point(404, 23);
+ this.dbOptionSQLLogging.Name = "dbOptionSQLLogging";
+ this.dbOptionSQLLogging.Option = "SQLLoggingEnabled";
+ this.dbOptionSQLLogging.Size = new System.Drawing.Size(278, 17);
+ this.dbOptionSQLLogging.TabIndex = 28;
+ this.dbOptionSQLLogging.Text = "Enable Verbose SQL Logging (Impacts Performance!)";
+ this.dbOptionSQLLogging.ToolTip = "";
+ this.toolTip_InfoHelp.SetToolTip(this.dbOptionSQLLogging, "Enable verbose SQL Logging, WARNING!!! This will impact performance if enabled.");
+ this.dbOptionSQLLogging.UseVisualStyleBackColor = true;
+ this.dbOptionSQLLogging.CheckStateChanged += new System.EventHandler(this.dbOptionSQLLogging_CheckStateChanged);
+ //
+ // dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay
+ //
+ this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.AutoSize = true;
+ this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.Location = new System.Drawing.Point(404, 355);
+ this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.Name = "dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay";
+ this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.Option = "SubCentral_SubtitleDownloadOnPlay";
+ this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.Size = new System.Drawing.Size(281, 17);
+ this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.TabIndex = 42;
+ this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.Text = "Offer to download subtitles before playing (SubCentral)";
+ this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.ToolTip = "";
+ this.toolTip_InfoHelp.SetToolTip(this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay, "Check this option to enable subtitle download before playing the episode that doe" +
+ "sn\'t have any.\r\nNote: applicable only when using SubCentral.");
+ this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.UseVisualStyleBackColor = true;
+ //
+ // checkBox_CountSpecialEpisodesAsWatched
+ //
+ this.checkBox_CountSpecialEpisodesAsWatched.AutoSize = true;
+ this.checkBox_CountSpecialEpisodesAsWatched.Location = new System.Drawing.Point(404, 378);
+ this.checkBox_CountSpecialEpisodesAsWatched.Name = "checkBox_CountSpecialEpisodesAsWatched";
+ this.checkBox_CountSpecialEpisodesAsWatched.Option = "checkBox_DontCountSpecialEpisodes";
+ this.checkBox_CountSpecialEpisodesAsWatched.Size = new System.Drawing.Size(270, 17);
+ this.checkBox_CountSpecialEpisodesAsWatched.TabIndex = 42;
+ this.checkBox_CountSpecialEpisodesAsWatched.Text = "Count the Special (Season 0) episodes as watched ";
+ this.checkBox_CountSpecialEpisodesAsWatched.ToolTip = "";
+ this.toolTip_InfoHelp.SetToolTip(this.checkBox_CountSpecialEpisodesAsWatched, "Check this option if you what the Special (Season 0) episodes \r\nto be counted as " +
+ "watched episodes in the total watched field.");
+ this.checkBox_CountSpecialEpisodesAsWatched.UseVisualStyleBackColor = true;
+ this.checkBox_CountSpecialEpisodesAsWatched.CheckedChanged += new System.EventHandler(this.checkBox_DontCountSpecialEpisodes_CheckedChanged);
+ //
+ // dbOptChkBoxCountEmptyFutureEps
+ //
+ this.dbOptChkBoxCountEmptyFutureEps.AutoSize = true;
+ this.dbOptChkBoxCountEmptyFutureEps.Checked = true;
+ this.dbOptChkBoxCountEmptyFutureEps.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.dbOptChkBoxCountEmptyFutureEps.Location = new System.Drawing.Point(404, 307);
+ this.dbOptChkBoxCountEmptyFutureEps.Name = "dbOptChkBoxCountEmptyFutureEps";
+ this.dbOptChkBoxCountEmptyFutureEps.Option = "CountEmptyAndFutureAiredEps";
+ this.dbOptChkBoxCountEmptyFutureEps.Size = new System.Drawing.Size(289, 17);
+ this.dbOptChkBoxCountEmptyFutureEps.TabIndex = 39;
+ this.dbOptChkBoxCountEmptyFutureEps.Text = "Count episodes that have no AirDate or Air in the Future";
+ this.dbOptChkBoxCountEmptyFutureEps.ToolTip = "";
+ this.toolTip_InfoHelp.SetToolTip(this.dbOptChkBoxCountEmptyFutureEps, "Check this option if you want to calculate episode counts were episodes do not ha" +
+ "ve an airdate or airs at a future date\r\nThis will only count episodes that you c" +
+ "an see when browsing GUI.");
+ this.dbOptChkBoxCountEmptyFutureEps.UseVisualStyleBackColor = true;
+ //
+ // dbOptionCheckBoxMarkRatedEpsAsWatched
+ //
+ this.dbOptionCheckBoxMarkRatedEpsAsWatched.AutoSize = true;
+ this.dbOptionCheckBoxMarkRatedEpsAsWatched.Location = new System.Drawing.Point(404, 215);
+ this.dbOptionCheckBoxMarkRatedEpsAsWatched.Name = "dbOptionCheckBoxMarkRatedEpsAsWatched";
+ this.dbOptionCheckBoxMarkRatedEpsAsWatched.Option = "MarkRatedEpisodeAsWatched";
+ this.dbOptionCheckBoxMarkRatedEpsAsWatched.Size = new System.Drawing.Size(305, 17);
+ this.dbOptionCheckBoxMarkRatedEpsAsWatched.TabIndex = 35;
+ this.dbOptionCheckBoxMarkRatedEpsAsWatched.Text = "Mark Episodes as Watched if rated online at theTVDB.com";
+ this.dbOptionCheckBoxMarkRatedEpsAsWatched.ToolTip = "";
+ this.toolTip_InfoHelp.SetToolTip(this.dbOptionCheckBoxMarkRatedEpsAsWatched, resources.GetString("dbOptionCheckBoxMarkRatedEpsAsWatched.ToolTip"));
+ this.dbOptionCheckBoxMarkRatedEpsAsWatched.UseVisualStyleBackColor = true;
+ //
+ // optionAsk2Rate
+ //
+ this.optionAsk2Rate.AutoSize = true;
+ this.optionAsk2Rate.Location = new System.Drawing.Point(11, 123);
+ this.optionAsk2Rate.Name = "optionAsk2Rate";
+ this.optionAsk2Rate.Option = "askToRate";
+ this.optionAsk2Rate.Size = new System.Drawing.Size(234, 17);
+ this.optionAsk2Rate.TabIndex = 11;
+ this.optionAsk2Rate.Text = "&Popup Rate Dialog after episode is watched";
+ this.optionAsk2Rate.ToolTip = "";
+ this.toolTip_InfoHelp.SetToolTip(this.optionAsk2Rate, resources.GetString("optionAsk2Rate.ToolTip"));
+ this.optionAsk2Rate.UseVisualStyleBackColor = true;
+ this.optionAsk2Rate.CheckedChanged += new System.EventHandler(this.optionAsk2Rate_CheckedChanged);
+ //
+ // dbOptCheckBoxRemoveEpZero
+ //
+ this.dbOptCheckBoxRemoveEpZero.AutoSize = true;
+ this.dbOptCheckBoxRemoveEpZero.Location = new System.Drawing.Point(33, 306);
+ this.dbOptCheckBoxRemoveEpZero.Name = "dbOptCheckBoxRemoveEpZero";
+ this.dbOptCheckBoxRemoveEpZero.Option = "";
+ this.dbOptCheckBoxRemoveEpZero.Size = new System.Drawing.Size(236, 17);
+ this.dbOptCheckBoxRemoveEpZero.TabIndex = 22;
+ this.dbOptCheckBoxRemoveEpZero.Text = "Remove Episode \'0\' even when exists online";
+ this.dbOptCheckBoxRemoveEpZero.ToolTip = "";
+ this.dbOptCheckBoxRemoveEpZero.UseVisualStyleBackColor = true;
+ //
// splitMain_Log
//
this.splitMain_Log.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -1708,7 +1855,6 @@
this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.dataGridView1.AutoGenerateColumns = false;
this.dataGridView1.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
@@ -1752,6 +1898,22 @@
this.dataGridView1.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dataGridView1_CellBeginEdit);
this.dataGridView1.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellEndEdit);
//
+ // dataGridViewTextBoxColumn1
+ //
+ this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
+ this.dataGridViewTextBoxColumn1.DataPropertyName = "Property";
+ this.dataGridViewTextBoxColumn1.HeaderText = "Property";
+ this.dataGridViewTextBoxColumn1.MinimumWidth = 150;
+ this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
+ this.dataGridViewTextBoxColumn1.Width = 150;
+ //
+ // dataGridViewTextBoxColumn2
+ //
+ this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
+ this.dataGridViewTextBoxColumn2.DataPropertyName = "Value";
+ this.dataGridViewTextBoxColumn2.HeaderText = "Value";
+ this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
+ //
// pictureBox_Series
//
this.pictureBox_Series.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
@@ -2249,6 +2411,20 @@
this.panel_OnlineData.TabIndex = 0;
this.panel_OnlineData.Tag = "Online Data";
//
+ // dbOptCheckBoxDownloadActors
+ //
+ this.dbOptCheckBoxDownloadActors.AutoSize = true;
+ this.dbOptCheckBoxDownloadActors.Checked = true;
+ this.dbOptCheckBoxDownloadActors.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.dbOptCheckBoxDownloadActors.Location = new System.Drawing.Point(422, 476);
+ this.dbOptCheckBoxDownloadActors.Name = "dbOptCheckBoxDownloadActors";
+ this.dbOptCheckBoxDownloadActors.Option = "AutoDownloadActors";
+ this.dbOptCheckBoxDownloadActors.Size = new System.Drawing.Size(271, 17);
+ this.dbOptCheckBoxDownloadActors.TabIndex = 1;
+ this.dbOptCheckBoxDownloadActors.Text = "Automatically download actor thumbnails and details";
+ this.dbOptCheckBoxDownloadActors.ToolTip = "";
+ this.dbOptCheckBoxDownloadActors.UseVisualStyleBackColor = true;
+ //
// label11
//
this.label11.AutoSize = true;
@@ -2300,6 +2476,19 @@
this.buttonArtworkDownloadLimits.UseVisualStyleBackColor = true;
this.buttonArtworkDownloadLimits.Click += new System.EventHandler(this.buttonArtworkDownloadLimits_Click);
//
+ // dbOptCheckBoxGetTextBanners
+ //
+ this.dbOptCheckBoxGetTextBanners.AutoSize = true;
+ this.dbOptCheckBoxGetTextBanners.Location = new System.Drawing.Point(8, 403);
+ this.dbOptCheckBoxGetTextBanners.Name = "dbOptCheckBoxGetTextBanners";
+ this.dbOptCheckBoxGetTextBanners.Option = "GetTextBanners";
+ this.dbOptCheckBoxGetTextBanners.Size = new System.Drawing.Size(282, 17);
+ this.dbOptCheckBoxGetTextBanners.TabIndex = 27;
+ this.dbOptCheckBoxGetTextBanners.Text = "Download Series WideBanners containing \'Text\' name";
+ this.dbOptCheckBoxGetTextBanners.ToolTip = "Enable to download series widebanners that do not contain a graphical series name" +
+ ".";
+ this.dbOptCheckBoxGetTextBanners.UseVisualStyleBackColor = true;
+ //
// label18
//
this.label18.AutoSize = true;
@@ -2515,6 +2704,7 @@
this.groupBox1.Controls.Add(this.dbOptChkBoxPlayOutOfOrderCheck);
this.groupBox1.Controls.Add(this.dbOptionSQLLogging);
this.groupBox1.Controls.Add(this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay);
+ this.groupBox1.Controls.Add(this.checkBox_CountSpecialEpisodesAsWatched);
this.groupBox1.Controls.Add(this.dbOptionCheckBox3);
this.groupBox1.Controls.Add(this.lblRecentAddedDays);
this.groupBox1.Controls.Add(this.nudRecentlyAddedDays);
@@ -2561,6 +2751,21 @@
this.groupBox1.TabStop = false;
this.groupBox1.Text = "General Settings";
//
+ // dbOptionCheckBox3
+ //
+ this.dbOptionCheckBox3.AutoSize = true;
+ this.dbOptionCheckBox3.Checked = true;
+ this.dbOptionCheckBox3.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.dbOptionCheckBox3.Location = new System.Drawing.Point(404, 146);
+ this.dbOptionCheckBox3.Name = "dbOptionCheckBox3";
+ this.dbOptionCheckBox3.Option = "SortSpecialSeasonLast";
+ this.dbOptionCheckBox3.Size = new System.Drawing.Size(188, 17);
+ this.dbOptionCheckBox3.TabIndex = 32;
+ this.dbOptionCheckBox3.Text = "Sort Specials at end of season list.";
+ this.dbOptionCheckBox3.ToolTip = "Enable this option to sort specials at end of season list rather than first item." +
+ "";
+ this.dbOptionCheckBox3.UseVisualStyleBackColor = true;
+ //
// lblRecentAddedDays
//
this.lblRecentAddedDays.AutoSize = true;
@@ -2622,6 +2827,44 @@
this.cbOnPlaySeriesOrSeasonAction.TabIndex = 23;
this.cbOnPlaySeriesOrSeasonAction.SelectedIndexChanged += new System.EventHandler(this.cbOnPlaySeriesOrSeasonAction_SelectedIndexChanged);
//
+ // dbOptChkBoxScanFullscreenVideo
+ //
+ this.dbOptChkBoxScanFullscreenVideo.AutoSize = true;
+ this.dbOptChkBoxScanFullscreenVideo.Location = new System.Drawing.Point(32, 309);
+ this.dbOptChkBoxScanFullscreenVideo.Name = "dbOptChkBoxScanFullscreenVideo";
+ this.dbOptChkBoxScanFullscreenVideo.Option = "AutoScanLocalFilesFSV";
+ this.dbOptChkBoxScanFullscreenVideo.Size = new System.Drawing.Size(266, 17);
+ this.dbOptChkBoxScanFullscreenVideo.TabIndex = 21;
+ this.dbOptChkBoxScanFullscreenVideo.Text = "Scan remote shares while fullscreen video is active";
+ this.dbOptChkBoxScanFullscreenVideo.ToolTip = "";
+ this.dbOptChkBoxScanFullscreenVideo.UseVisualStyleBackColor = true;
+ //
+ // dbOptionCheckBox2
+ //
+ this.dbOptionCheckBox2.AutoSize = true;
+ this.dbOptionCheckBox2.Checked = true;
+ this.dbOptionCheckBox2.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.dbOptionCheckBox2.Location = new System.Drawing.Point(404, 238);
+ this.dbOptionCheckBox2.Name = "dbOptionCheckBox2";
+ this.dbOptionCheckBox2.Option = "SkipSeasonViewOnSingleSeason";
+ this.dbOptionCheckBox2.Size = new System.Drawing.Size(234, 17);
+ this.dbOptionCheckBox2.TabIndex = 36;
+ this.dbOptionCheckBox2.Text = "Skip season view if there is only one season";
+ this.dbOptionCheckBox2.ToolTip = "";
+ this.dbOptionCheckBox2.UseVisualStyleBackColor = true;
+ //
+ // dbOptionCheckBoxSubstituteMissingArtwork
+ //
+ this.dbOptionCheckBoxSubstituteMissingArtwork.AutoSize = true;
+ this.dbOptionCheckBoxSubstituteMissingArtwork.Location = new System.Drawing.Point(404, 284);
+ this.dbOptionCheckBoxSubstituteMissingArtwork.Name = "dbOptionCheckBoxSubstituteMissingArtwork";
+ this.dbOptionCheckBoxSubstituteMissingArtwork.Option = "SubstituteMissingArtwork";
+ this.dbOptionCheckBoxSubstituteMissingArtwork.Size = new System.Drawing.Size(280, 17);
+ this.dbOptionCheckBoxSubstituteMissingArtwork.TabIndex = 38;
+ this.dbOptionCheckBoxSubstituteMissingArtwork.Text = "Substitute Missing Season Posters with Series Posters";
+ this.dbOptionCheckBoxSubstituteMissingArtwork.ToolTip = "";
+ this.dbOptionCheckBoxSubstituteMissingArtwork.UseVisualStyleBackColor = true;
+ //
// label77
//
this.label77.AutoSize = true;
@@ -2744,6 +2987,16 @@
this.tab_view.Text = "Views/Filters";
this.tab_view.UseVisualStyleBackColor = true;
//
+ // playlistSettings
+ //
+ this.playlistSettings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.playlistSettings.AutoScroll = true;
+ this.playlistSettings.Location = new System.Drawing.Point(-1, 353);
+ this.playlistSettings.Name = "playlistSettings";
+ this.playlistSettings.Size = new System.Drawing.Size(866, 196);
+ this.playlistSettings.TabIndex = 1;
+ //
// groupBox8
//
this.groupBox8.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
@@ -2978,6 +3231,16 @@
"t attribute to false in your TVSeries.SkinSettings.xml \r\nlocated in your skin di" +
"rectory.\r\n";
//
+ // formattingConfiguration1
+ //
+ this.formattingConfiguration1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.formattingConfiguration1.Location = new System.Drawing.Point(8, 44);
+ this.formattingConfiguration1.Name = "formattingConfiguration1";
+ this.formattingConfiguration1.Size = new System.Drawing.Size(780, 593);
+ this.formattingConfiguration1.TabIndex = 6;
+ //
// tabLayoutSettings
//
this.tabLayoutSettings.AutoScroll = true;
@@ -3190,265 +3453,6 @@
this.tabAbout.Text = "About";
this.tabAbout.UseVisualStyleBackColor = true;
//
- // listBox_Log
- //
- this.listBox_Log.Dock = System.Windows.Forms.DockStyle.Fill;
- this.listBox_Log.FormattingEnabled = true;
- this.listBox_Log.HorizontalScrollbar = true;
- this.listBox_Log.Location = new System.Drawing.Point(10, 10);
- this.listBox_Log.Name = "listBox_Log";
- this.listBox_Log.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple;
- this.listBox_Log.Size = new System.Drawing.Size(130, 26);
- this.listBox_Log.TabIndex = 5;
- //
- // dataGridViewTextBoxColumn1
- //
- this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
- this.dataGridViewTextBoxColumn1.DataPropertyName = "Property";
- this.dataGridViewTextBoxColumn1.HeaderText = "Property";
- this.dataGridViewTextBoxColumn1.MinimumWidth = 150;
- this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
- this.dataGridViewTextBoxColumn1.Width = 150;
- //
- // dataGridViewTextBoxColumn2
- //
- this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- this.dataGridViewTextBoxColumn2.DataPropertyName = "Value";
- this.dataGridViewTextBoxColumn2.HeaderText = "Value";
- this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
- //
- // dbOptionCheckBoxRemoveEpZero
- //
- this.dbOptCheckBoxRemoveEpZero.AutoSize = true;
- this.dbOptCheckBoxRemoveEpZero.Location = new System.Drawing.Point(33, 306);
- this.dbOptCheckBoxRemoveEpZero.Name = "dbOptionCheckBoxRemoveEpZero";
- this.dbOptCheckBoxRemoveEpZero.Option = "";
- this.dbOptCheckBoxRemoveEpZero.Size = new System.Drawing.Size(236, 17);
- this.dbOptCheckBoxRemoveEpZero.TabIndex = 22;
- this.dbOptCheckBoxRemoveEpZero.Text = "Remove Episode \'0\' even when exists online";
- this.dbOptCheckBoxRemoveEpZero.ToolTip = "";
- this.toolTip_InfoHelp.SetToolTip(this.dbOptCheckBoxRemoveEpZero, resources.GetString("dbOptionCheckBoxRemoveEpZero.ToolTip"));
- this.dbOptCheckBoxRemoveEpZero.UseVisualStyleBackColor = true;
- //
- // dbOptCheckBoxCleanOnlineEpisodes
- //
- this.dbOptCheckBoxCleanOnlineEpisodes.AutoSize = true;
- this.dbOptCheckBoxCleanOnlineEpisodes.Checked = true;
- this.dbOptCheckBoxCleanOnlineEpisodes.CheckState = System.Windows.Forms.CheckState.Checked;
- this.dbOptCheckBoxCleanOnlineEpisodes.Location = new System.Drawing.Point(8, 283);
- this.dbOptCheckBoxCleanOnlineEpisodes.Name = "dbOptCheckBoxCleanOnlineEpisodes";
- this.dbOptCheckBoxCleanOnlineEpisodes.Option = "CleanOnlineEpisodes";
- this.dbOptCheckBoxCleanOnlineEpisodes.Size = new System.Drawing.Size(368, 17);
- this.dbOptCheckBoxCleanOnlineEpisodes.TabIndex = 21;
- this.dbOptCheckBoxCleanOnlineEpisodes.Text = "Remove online episode references from database when not found online";
- this.dbOptCheckBoxCleanOnlineEpisodes.ToolTip = "";
- this.toolTip_InfoHelp.SetToolTip(this.dbOptCheckBoxCleanOnlineEpisodes, "This option will help keep your database clean when enabled.\r\n\r\nThis option is on" +
- "ly applicable if all episode information is downloaded.");
- this.dbOptCheckBoxCleanOnlineEpisodes.UseVisualStyleBackColor = true;
- this.dbOptCheckBoxCleanOnlineEpisodes.CheckedChanged += new System.EventHandler(this.dbOptCheckBoxCleanOnlineEpisodes_CheckedChanged);
- //
- // dbOptCheckBoxDownloadActors
- //
- this.dbOptCheckBoxDownloadActors.AutoSize = true;
- this.dbOptCheckBoxDownloadActors.Checked = true;
- this.dbOptCheckBoxDownloadActors.CheckState = System.Windows.Forms.CheckState.Checked;
- this.dbOptCheckBoxDownloadActors.Location = new System.Drawing.Point(422, 476);
- this.dbOptCheckBoxDownloadActors.Name = "dbOptCheckBoxDownloadActors";
- this.dbOptCheckBoxDownloadActors.Option = "AutoDownloadActors";
- this.dbOptCheckBoxDownloadActors.Size = new System.Drawing.Size(271, 17);
- this.dbOptCheckBoxDownloadActors.TabIndex = 1;
- this.dbOptCheckBoxDownloadActors.Text = "Automatically download actor thumbnails and details";
- this.dbOptCheckBoxDownloadActors.ToolTip = "";
- this.dbOptCheckBoxDownloadActors.UseVisualStyleBackColor = true;
- //
- // dbOptionCheckBox4
- //
- this.dbOptionCheckBox4.AutoSize = true;
- this.dbOptionCheckBox4.Checked = true;
- this.dbOptionCheckBox4.CheckState = System.Windows.Forms.CheckState.Checked;
- this.dbOptionCheckBox4.Location = new System.Drawing.Point(8, 486);
- this.dbOptionCheckBox4.Name = "dbOptionCheckBox4";
- this.dbOptionCheckBox4.Option = "checkArtwork";
- this.dbOptionCheckBox4.Size = new System.Drawing.Size(244, 17);
- this.dbOptionCheckBox4.TabIndex = 30;
- this.dbOptionCheckBox4.Text = "Check artwork downloaded exists and is valid.";
- this.dbOptionCheckBox4.ToolTip = "";
- this.toolTip_InfoHelp.SetToolTip(this.dbOptionCheckBox4, "Enable this option for an additional check of all series posters and banners.\r\n\r\n" +
- "If artwork is not found on disk or is corrupt, then entry from database is clear" +
- "ed.");
- this.dbOptionCheckBox4.UseVisualStyleBackColor = true;
- //
- // dbOptCheckBoxGetTextBanners
- //
- this.dbOptCheckBoxGetTextBanners.AutoSize = true;
- this.dbOptCheckBoxGetTextBanners.Location = new System.Drawing.Point(8, 403);
- this.dbOptCheckBoxGetTextBanners.Name = "dbOptCheckBoxGetTextBanners";
- this.dbOptCheckBoxGetTextBanners.Option = "GetTextBanners";
- this.dbOptCheckBoxGetTextBanners.Size = new System.Drawing.Size(282, 17);
- this.dbOptCheckBoxGetTextBanners.TabIndex = 27;
- this.dbOptCheckBoxGetTextBanners.Text = "Download Series WideBanners containing \'Text\' name";
- this.dbOptCheckBoxGetTextBanners.ToolTip = "Enable to download series widebanners that do not contain a graphical series name" +
- ".";
- this.dbOptCheckBoxGetTextBanners.UseVisualStyleBackColor = true;
- //
- // dbOptChkBoxPlayOutOfOrderCheck
- //
- this.dbOptChkBoxPlayOutOfOrderCheck.AutoSize = true;
- this.dbOptChkBoxPlayOutOfOrderCheck.Location = new System.Drawing.Point(405, 332);
- this.dbOptChkBoxPlayOutOfOrderCheck.Name = "dbOptChkBoxPlayOutOfOrderCheck";
- this.dbOptChkBoxPlayOutOfOrderCheck.Option = "CheckPlayOutOfOrder";
- this.dbOptChkBoxPlayOutOfOrderCheck.Size = new System.Drawing.Size(255, 17);
- this.dbOptChkBoxPlayOutOfOrderCheck.TabIndex = 40;
- this.dbOptChkBoxPlayOutOfOrderCheck.Text = "Check on playback of episode is not out of order";
- this.dbOptChkBoxPlayOutOfOrderCheck.ToolTip = "";
- this.toolTip_InfoHelp.SetToolTip(this.dbOptChkBoxPlayOutOfOrderCheck, resources.GetString("dbOptChkBoxPlayOutOfOrderCheck.ToolTip"));
- this.dbOptChkBoxPlayOutOfOrderCheck.UseVisualStyleBackColor = true;
- //
- // dbOptionSQLLogging
- //
- this.dbOptionSQLLogging.AutoSize = true;
- this.dbOptionSQLLogging.Location = new System.Drawing.Point(404, 23);
- this.dbOptionSQLLogging.Name = "dbOptionSQLLogging";
- this.dbOptionSQLLogging.Option = "SQLLoggingEnabled";
- this.dbOptionSQLLogging.Size = new System.Drawing.Size(278, 17);
- this.dbOptionSQLLogging.TabIndex = 28;
- this.dbOptionSQLLogging.Text = "Enable Verbose SQL Logging (Impacts Performance!)";
- this.dbOptionSQLLogging.ToolTip = "";
- this.toolTip_InfoHelp.SetToolTip(this.dbOptionSQLLogging, "Enable verbose SQL Logging, WARNING!!! This will impact performance if enabled.");
- this.dbOptionSQLLogging.UseVisualStyleBackColor = true;
- this.dbOptionSQLLogging.CheckStateChanged += new System.EventHandler(this.dbOptionSQLLogging_CheckStateChanged);
- //
- // dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay
- //
- this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.AutoSize = true;
- this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.Location = new System.Drawing.Point(405, 355);
- this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.Name = "dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay";
- this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.Option = "SubCentral_SubtitleDownloadOnPlay";
- this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.Size = new System.Drawing.Size(281, 17);
- this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.TabIndex = 42;
- this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.Text = "Offer to download subtitles before playing (SubCentral)";
- this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.ToolTip = "";
- this.toolTip_InfoHelp.SetToolTip(this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay, "Check this option to enable subtitle download before playing the episode that doe" +
- "sn\'t have any.\r\nNote: applicable only when using SubCentral.");
- this.dbOptChkBox_SubCentral_DownloadSubtitlesOnPlay.UseVisualStyleBackColor = true;
- //
- // dbOptionCheckBox3
- //
- this.dbOptionCheckBox3.AutoSize = true;
- this.dbOptionCheckBox3.Checked = true;
- this.dbOptionCheckBox3.CheckState = System.Windows.Forms.CheckState.Checked;
- this.dbOptionCheckBox3.Location = new System.Drawing.Point(404, 146);
- this.dbOptionCheckBox3.Name = "dbOptionCheckBox3";
- this.dbOptionCheckBox3.Option = "SortSpecialSeasonLast";
- this.dbOptionCheckBox3.Size = new System.Drawing.Size(188, 17);
- this.dbOptionCheckBox3.TabIndex = 32;
- this.dbOptionCheckBox3.Text = "Sort Specials at end of season list.";
- this.dbOptionCheckBox3.ToolTip = "Enable this option to sort specials at end of season list rather than first item." +
- "";
- this.dbOptionCheckBox3.UseVisualStyleBackColor = true;
- //
- // dbOptChkBoxCountEmptyFutureEps
- //
- this.dbOptChkBoxCountEmptyFutureEps.AutoSize = true;
- this.dbOptChkBoxCountEmptyFutureEps.Checked = true;
- this.dbOptChkBoxCountEmptyFutureEps.CheckState = System.Windows.Forms.CheckState.Checked;
- this.dbOptChkBoxCountEmptyFutureEps.Location = new System.Drawing.Point(404, 307);
- this.dbOptChkBoxCountEmptyFutureEps.Name = "dbOptChkBoxCountEmptyFutureEps";
- this.dbOptChkBoxCountEmptyFutureEps.Option = "CountEmptyAndFutureAiredEps";
- this.dbOptChkBoxCountEmptyFutureEps.Size = new System.Drawing.Size(289, 17);
- this.dbOptChkBoxCountEmptyFutureEps.TabIndex = 39;
- this.dbOptChkBoxCountEmptyFutureEps.Text = "Count episodes that have no AirDate or Air in the Future";
- this.dbOptChkBoxCountEmptyFutureEps.ToolTip = "";
- this.toolTip_InfoHelp.SetToolTip(this.dbOptChkBoxCountEmptyFutureEps, "Check this option if you want to calculate episode counts were episodes do not ha" +
- "ve an airdate or airs at a future date\r\nThis will only count episodes that you c" +
- "an see when browsing GUI.");
- this.dbOptChkBoxCountEmptyFutureEps.UseVisualStyleBackColor = true;
- //
- // dbOptChkBoxScanFullscreenVideo
- //
- this.dbOptChkBoxScanFullscreenVideo.AutoSize = true;
- this.dbOptChkBoxScanFullscreenVideo.Location = new System.Drawing.Point(32, 309);
- this.dbOptChkBoxScanFullscreenVideo.Name = "dbOptChkBoxScanFullscreenVideo";
- this.dbOptChkBoxScanFullscreenVideo.Option = "AutoScanLocalFilesFSV";
- this.dbOptChkBoxScanFullscreenVideo.Size = new System.Drawing.Size(266, 17);
- this.dbOptChkBoxScanFullscreenVideo.TabIndex = 21;
- this.dbOptChkBoxScanFullscreenVideo.Text = "Scan remote shares while fullscreen video is active";
- this.dbOptChkBoxScanFullscreenVideo.ToolTip = "";
- this.dbOptChkBoxScanFullscreenVideo.UseVisualStyleBackColor = true;
- //
- // dbOptionCheckBox2
- //
- this.dbOptionCheckBox2.AutoSize = true;
- this.dbOptionCheckBox2.Checked = true;
- this.dbOptionCheckBox2.CheckState = System.Windows.Forms.CheckState.Checked;
- this.dbOptionCheckBox2.Location = new System.Drawing.Point(404, 238);
- this.dbOptionCheckBox2.Name = "dbOptionCheckBox2";
- this.dbOptionCheckBox2.Option = "SkipSeasonViewOnSingleSeason";
- this.dbOptionCheckBox2.Size = new System.Drawing.Size(234, 17);
- this.dbOptionCheckBox2.TabIndex = 36;
- this.dbOptionCheckBox2.Text = "Skip season view if there is only one season";
- this.dbOptionCheckBox2.ToolTip = "";
- this.dbOptionCheckBox2.UseVisualStyleBackColor = true;
- //
- // dbOptionCheckBoxSubstituteMissingArtwork
- //
- this.dbOptionCheckBoxSubstituteMissingArtwork.AutoSize = true;
- this.dbOptionCheckBoxSubstituteMissingArtwork.Location = new System.Drawing.Point(404, 284);
- this.dbOptionCheckBoxSubstituteMissingArtwork.Name = "dbOptionCheckBoxSubstituteMissingArtwork";
- this.dbOptionCheckBoxSubstituteMissingArtwork.Option = "SubstituteMissingArtwork";
- this.dbOptionCheckBoxSubstituteMissingArtwork.Size = new System.Drawing.Size(280, 17);
- this.dbOptionCheckBoxSubstituteMissingArtwork.TabIndex = 38;
- this.dbOptionCheckBoxSubstituteMissingArtwork.Text = "Substitute Missing Season Posters with Series Posters";
- this.dbOptionCheckBoxSubstituteMissingArtwork.ToolTip = "";
- this.dbOptionCheckBoxSubstituteMissingArtwork.UseVisualStyleBackColor = true;
- //
- // dbOptionCheckBoxMarkRatedEpsAsWatched
- //
- this.dbOptionCheckBoxMarkRatedEpsAsWatched.AutoSize = true;
- this.dbOptionCheckBoxMarkRatedEpsAsWatched.Location = new System.Drawing.Point(404, 215);
- this.dbOptionCheckBoxMarkRatedEpsAsWatched.Name = "dbOptionCheckBoxMarkRatedEpsAsWatched";
- this.dbOptionCheckBoxMarkRatedEpsAsWatched.Option = "MarkRatedEpisodeAsWatched";
- this.dbOptionCheckBoxMarkRatedEpsAsWatched.Size = new System.Drawing.Size(305, 17);
- this.dbOptionCheckBoxMarkRatedEpsAsWatched.TabIndex = 35;
- this.dbOptionCheckBoxMarkRatedEpsAsWatched.Text = "Mark Episodes as Watched if rated online at theTVDB.com";
- this.dbOptionCheckBoxMarkRatedEpsAsWatched.ToolTip = "";
- this.toolTip_InfoHelp.SetToolTip(this.dbOptionCheckBoxMarkRatedEpsAsWatched, resources.GetString("dbOptionCheckBoxMarkRatedEpsAsWatched.ToolTip"));
- this.dbOptionCheckBoxMarkRatedEpsAsWatched.UseVisualStyleBackColor = true;
- //
- // optionAsk2Rate
- //
- this.optionAsk2Rate.AutoSize = true;
- this.optionAsk2Rate.Location = new System.Drawing.Point(11, 123);
- this.optionAsk2Rate.Name = "optionAsk2Rate";
- this.optionAsk2Rate.Option = "askToRate";
- this.optionAsk2Rate.Size = new System.Drawing.Size(234, 17);
- this.optionAsk2Rate.TabIndex = 11;
- this.optionAsk2Rate.Text = "&Popup Rate Dialog after episode is watched";
- this.optionAsk2Rate.ToolTip = "";
- this.toolTip_InfoHelp.SetToolTip(this.optionAsk2Rate, resources.GetString("optionAsk2Rate.ToolTip"));
- this.optionAsk2Rate.UseVisualStyleBackColor = true;
- this.optionAsk2Rate.CheckedChanged += new System.EventHandler(this.optionAsk2Rate_CheckedChanged);
- //
- // playlistSettings
- //
- this.playlistSettings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.playlistSettings.AutoScroll = true;
- this.playlistSettings.Location = new System.Drawing.Point(-1, 353);
- this.playlistSettings.Name = "playlistSettings";
- this.playlistSettings.Size = new System.Drawing.Size(866, 196);
- this.playlistSettings.TabIndex = 1;
- //
- // formattingConfiguration1
- //
- this.formattingConfiguration1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.formattingConfiguration1.Location = new System.Drawing.Point(8, 44);
- this.formattingConfiguration1.Name = "formattingConfiguration1";
- this.formattingConfiguration1.Size = new System.Drawing.Size(780, 593);
- this.formattingConfiguration1.TabIndex = 6;
- //
// aboutScreen
//
this.aboutScreen.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
@@ -3461,6 +3465,17 @@
this.aboutScreen.Size = new System.Drawing.Size(871, 640);
this.aboutScreen.TabIndex = 0;
//
+ // listBox_Log
+ //
+ this.listBox_Log.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.listBox_Log.FormattingEnabled = true;
+ this.listBox_Log.HorizontalScrollbar = true;
+ this.listBox_Log.Location = new System.Drawing.Point(10, 10);
+ this.listBox_Log.Name = "listBox_Log";
+ this.listBox_Log.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple;
+ this.listBox_Log.Size = new System.Drawing.Size(130, 26);
+ this.listBox_Log.TabIndex = 5;
+ //
// ConfigurationForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -3782,5 +3797,6 @@
private Configuration.DBOptionCheckBox dbOptCheckBoxDownloadActors;
private Configuration.DBOptionCheckBox dbOptCheckBoxCleanOnlineEpisodes;
private Configuration.DBOptionCheckBox dbOptCheckBoxRemoveEpZero;
+ private Configuration.DBOptionCheckBox checkBox_CountSpecialEpisodesAsWatched;
}
}
Index: MP-TVSeries/Configuration/GUIConfiguration.resx
===================================================================
--- MP-TVSeries/Configuration/GUIConfiguration.resx (revision 2107)
+++ MP-TVSeries/Configuration/GUIConfiguration.resx (working copy)
@@ -134,7 +134,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAA6
- eQAAAk1TRnQBSQFMAgEBDAEAAQQBBQEEAQUBGAEAARgBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFg
+ eQAAAk1TRnQBSQFMAgEBDAEAARwBBQEcAQUBGAEAARgBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFg
AwABYAMAAQEBAAEgBgABkP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A
/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AFUAAQEDBAEGAwsBDwMSBBkBIwMdASkDHgErAx0BKQMY
ASEDEQEXAwoBDgMEAQUDAAEBLwAEAQECAwMEBAEFAwQBBQMDAQQDAgEDAwIBAwMBAQIDAQECAwABAQMA
@@ -809,13 +809,6 @@
This setting can also be changed from within Media Portal in the plugins context menu.
-
- Sometimes the online database includes episodes with an index of zero.
-These are typically removed once re-organised into valid specials.
-
-If you don't collect episodes with an episode index of zero you can enable
-this option to cleanup such that your database remains clean.
-
Enable this option to ensure that when you playback an episode that it is the next unwatched episode.
A prompt will be shown if trying to playback out of order.
@@ -842,9 +835,6 @@
Note: if you are using the Trakt plugin, it's recommended you enable rate dialog after watched from there. This setting can be used to send
ratings to both thetvdb.com and trakt or just thetvdb.com.
-
- 404, 12
-
Parsing Expressions are used by the plugins parsing engine to retrieve a Series Name, Season Number and
Episode Number from a Folder Structure / Filename in your Import Paths. This information is required to
@@ -885,32 +875,6 @@
Check the table below if the plugin was able to parse all of the episodes located in your Import Paths defined above. Episodes not parsed correctly will be highlighted. If renaming your files does not help, you can modify the plugins parser behaviour from the left hand side tree view.
-
- Enable this option to ensure that when you playback an episode that it is the next unwatched episode.
-A prompt will be shown if trying to playback out of order.
-
-Note: It's also recommended that you also enable 'Download Episode information for the whole series'
-so that a proper check can be performed.
-
-The check is ignored in the following conditions:
-* Playback of Specials (and next unwatched Specials).
-* Playback of Watched/Seen episodes.
-* Playback using Playlist player.
-
-
- If enabled and episode has been rated, mark the episode as watched.
-
-This setting is only applicable to episode ratings from theTVDB.com (if enabled). It's recommended
-that syncing to trakt.tv via Trakt plugin is enabled if syncing of watched episodes is wanted.
-
-If Trakt plugin is installed and TVSeries plugin is enabled for sync, it's recommended this option is disabled.
-
-
- Tick this to have the plugin automatically pop-up a rating's windows after you have watched an episodes which hasn't been rated yet.
-
-Note: if you are using the Trakt plugin, it's recommended you enable rate dialog after watched from there. This setting can be used to send
-ratings to both thetvdb.com and trakt or just thetvdb.com.
-
39
Index: MP-TVSeries/DB Classes/DBEpisode.cs
===================================================================
--- MP-TVSeries/DB Classes/DBEpisode.cs (revision 2107)
+++ MP-TVSeries/DB Classes/DBEpisode.cs (working copy)
@@ -91,6 +91,7 @@
public const String cAudioBitrate = "AudioBitrate";
public const String cAudioChannels = "AudioChannels";
public const String cAudioTracks = "AudioTracks";
+ public const String cAudioLanguage = "AudioLanguage";
public const String cTextCount = "TextCount";
public const String cVideoWidth = "videoWidth";
public const String cVideoHeight = "videoHeight";
@@ -170,6 +171,7 @@
s_FieldToDisplayNameMap.Add(cAudioFormat, "Audio Format");
s_FieldToDisplayNameMap.Add(cAudioFormatProfile, "Audio Format Profile");
s_FieldToDisplayNameMap.Add(cAudioTracks, "Audio Tracks");
+ s_FieldToDisplayNameMap.Add(cAudioLanguage, "Audio Language");
s_FieldToDisplayNameMap.Add(cTextCount, "Subtitle Count");
s_FieldToDisplayNameMap.Add(cLocalPlaytime, "Runtime");
#endregion
@@ -639,6 +641,7 @@
this[cAudioBitrate] = MI.AudioBitrate;
this[cAudioChannels] = MI.AudioChannelCount;
this[cAudioTracks] = MI.AudioStreamCount;
+ this[cAudioLanguage] = MI.AudioLanguage;
this[cTextCount] = MI.SubtitleCount;
@@ -1411,12 +1414,14 @@
m_bUpdateEpisodeCount = true;
SQLCondition cond = new SQLCondition(new DBOnlineEpisode(), DBOnlineEpisode.cSeriesID, series, SQLConditionType.Equal);
- string query = stdGetSQL(cond, false, true, "online_episodes.CompositeID, online_episodes.Watched, online_episodes.FirstAired");
+ string query = stdGetSQL(cond, false, true, "online_episodes.CompositeID, online_episodes.Watched, online_episodes.FirstAired, online_episodes.SeasonIndex");
+
SQLiteResultSet results = DBTVSeries.Execute(query);
epsTotal = 0;
int parseResult = 0;
int epsWatched = 0;
+ int sesonIndex = 0;
// we either get two rows (one for normal episodes, one for double episodes),
// or we get no rows so we add them
@@ -1425,6 +1430,14 @@
// increment watched count if episode is watched
if (int.TryParse(results.Rows[i].fields[1], out parseResult))
{
+ if (int.TryParse(results.Rows[i].fields[3], out sesonIndex))
+ {
+ // Count the Special (Season 0 (zero)) episodes as watched!
+ if ((sesonIndex == 0) && (DBOption.GetOptions(DBOption.cCountSpecialEpisodesAsWatched)))
+ {
+ parseResult = 1;
+ }
+ }
epsWatched += parseResult;
}
Index: MP-TVSeries/DB Classes/DBOptions.cs
===================================================================
--- MP-TVSeries/DB Classes/DBOptions.cs (revision 2107)
+++ MP-TVSeries/DB Classes/DBOptions.cs (working copy)
@@ -175,6 +175,7 @@
public const string cCleanOnlineEpisodes = "CleanOnlineEpisodes";
public const string cCleanOnlineEpisodeZero = "CleanOnlineEpisodeZero";
public const string cOverrideLanguage = "OverrideLanguage";
+ public const string cCountSpecialEpisodesAsWatched = "CountSpecialEpisodesAsWatched";
#endregion
private static readonly Object thisLock = new Object();
@@ -553,6 +554,8 @@
if (GetOptions(cOverrideLanguage) == null)
SetOptions(cOverrideLanguage, false);
+ if (GetOptions(cCountSpecialEpisodesAsWatched) == null)
+ SetOptions(cCountSpecialEpisodesAsWatched, false);
#endregion
}
Index: MP-TVSeries/MediaInfoDLL.cs
===================================================================
--- MP-TVSeries/MediaInfoDLL.cs (revision 2107)
+++ MP-TVSeries/MediaInfoDLL.cs (working copy)
@@ -348,6 +348,19 @@
}
///
+ /// Returns the Language of the Audio channels in the 1st Audio stream
+ ///
+ public string AudioLanguage
+ {
+ get
+ {
+ string result = this.Get(StreamKind.Audio, 0, "Language");
+ MPTVSeriesLog.Write("Audio Language: ", result, MPTVSeriesLog.LogLevel.Debug);
+ return result.Length > 0 ? result : "-1";
+ }
+ }
+
+ ///
/// Returns the number of Audio channels in the 1st Audio stream
///
public string AudioChannelCount {
Index: MP-TVSeries/Translation.cs
===================================================================
--- MP-TVSeries/Translation.cs (revision 2107)
+++ MP-TVSeries/Translation.cs (working copy)
@@ -178,6 +178,7 @@
public static string AvailableMedia = "Available Media";
public static string OverrideLanguage = "Override Language settings";
public static string ChangeSeriesLanguage = "Change Series Meta Language";
+ public static string CountSpecialEpisodesAsWatched = "Count Special Episodes As Watched";
// Fanart
public static string FanArt = "Fanart";
Index: MP-TVSeries/TVSeriesPlugin.cs
===================================================================
--- MP-TVSeries/TVSeriesPlugin.cs (revision 2107)
+++ MP-TVSeries/TVSeriesPlugin.cs (working copy)
@@ -287,7 +287,8 @@
downloadTorrent,
downloadNZB,
filterUnwatched,
- actionChangeSeriesLanguage
+ actionChangeSeriesLanguage,
+ actionCountSpecialEpisodesAsWatched
}
enum eContextMenus
@@ -4110,6 +4111,10 @@
dlg.Add(pItem);
pItem.ItemId = (int)eContextItems.actionChangeSeriesLanguage;
+ pItem = new GUIListItem(Translation.CountSpecialEpisodesAsWatched + " (" + (DBOption.GetOptions(DBOption.cCountSpecialEpisodesAsWatched) ? Translation.on : Translation.off) + ")");
+ dlg.Add(pItem);
+ pItem.ItemId = (int)eContextItems.actionCountSpecialEpisodesAsWatched;
+
dlg.DoModal(GUIWindowManager.ActiveWindow);
if (dlg.SelectedId >= 0)
{
@@ -4170,6 +4175,23 @@
case (int)eContextItems.actionChangeSeriesLanguage:
DBOption.SetOptions(DBOption.cOverrideLanguage, !DBOption.GetOptions(DBOption.cOverrideLanguage));
break;
+
+ case (int)eContextItems.actionCountSpecialEpisodesAsWatched:
+ DBOption.SetOptions(DBOption.cCountSpecialEpisodesAsWatched, !DBOption.GetOptions(DBOption.cCountSpecialEpisodesAsWatched));
+
+ // Set number of watched/unwatched episodes
+ allSeries = DBSeries.Get(new SQLCondition());
+ foreach (var series in allSeries)
+ {
+ int epsTotal = 0;
+ int epsUnWatched = 0;
+ DBEpisode.GetSeriesEpisodeCounts(series[DBSeries.cID], out epsTotal, out epsUnWatched);
+ series[DBOnlineSeries.cEpisodeCount] = epsTotal;
+ series[DBOnlineSeries.cEpisodesUnWatched] = epsUnWatched;
+ series.Commit();
+ }
+ LoadFacade();
+ break;
}
}
}