From a7289577d0c43124d6723e2d008eb3e701419ef2 Mon Sep 17 00:00:00 2001 From: Linrador <68631622+Linrador@users.noreply.github.com> Date: Mon, 17 Nov 2025 10:09:50 +0100 Subject: [PATCH] updated scan --- WinFormsApp1/Form1.Designer.cs | 290 ++++++++---------- WinFormsApp1/Form1.cs | 116 ++----- .../PublishProfiles/FolderProfile.pubxml.user | 2 +- 3 files changed, 152 insertions(+), 256 deletions(-) diff --git a/WinFormsApp1/Form1.Designer.cs b/WinFormsApp1/Form1.Designer.cs index 18027f4..ea4f6d4 100644 --- a/WinFormsApp1/Form1.Designer.cs +++ b/WinFormsApp1/Form1.Designer.cs @@ -129,8 +129,6 @@ trackBar_scanAI_sexyThreshold = new TrackBar(); label_scanAI_hentaiThreshold_Value = new Label(); checkBox_scanAI_HentaiThreshold = new CheckBox(); - comboBox_scanAI_ThumbnailSize = new ComboBox(); - label_ThumbnailSize = new Label(); tableLayoutPanel_editClip_ScanAI = new TableLayoutPanel(); button_editClip_scanAI = new Button(); button_editClip_scanAI_Results = new Button(); @@ -821,7 +819,7 @@ tabPage_scanAI_Result.Location = new Point(4, 22); tabPage_scanAI_Result.Name = "tabPage_scanAI_Result"; tabPage_scanAI_Result.Padding = new Padding(3); - tabPage_scanAI_Result.Size = new Size(958, 423); + tabPage_scanAI_Result.Size = new Size(826, 423); tabPage_scanAI_Result.TabIndex = 8; tabPage_scanAI_Result.Text = "AI Ergebnis"; tabPage_scanAI_Result.UseVisualStyleBackColor = true; @@ -834,7 +832,7 @@ listView_AI_Result.LargeImageList = imageList_Thumbnails_Temp; listView_AI_Result.Location = new Point(3, 3); listView_AI_Result.Name = "listView_AI_Result"; - listView_AI_Result.Size = new Size(952, 417); + listView_AI_Result.Size = new Size(820, 417); listView_AI_Result.SmallImageList = imageList_Thumbnails_Temp; listView_AI_Result.TabIndex = 0; listView_AI_Result.TileSize = new Size(300, 118); @@ -854,7 +852,7 @@ tabPage_Editor.Location = new Point(4, 22); tabPage_Editor.Name = "tabPage_Editor"; tabPage_Editor.Padding = new Padding(3); - tabPage_Editor.Size = new Size(958, 423); + tabPage_Editor.Size = new Size(826, 423); tabPage_Editor.TabIndex = 7; tabPage_Editor.Text = "Editor"; tabPage_Editor.UseVisualStyleBackColor = true; @@ -873,8 +871,8 @@ // splitContainer_Editor_Player_Timestamps.Panel2 // splitContainer_Editor_Player_Timestamps.Panel2.Controls.Add(splitContainer_Editor_cutClips); - splitContainer_Editor_Player_Timestamps.Size = new Size(952, 417); - splitContainer_Editor_Player_Timestamps.SplitterDistance = 632; + splitContainer_Editor_Player_Timestamps.Size = new Size(820, 417); + splitContainer_Editor_Player_Timestamps.SplitterDistance = 500; splitContainer_Editor_Player_Timestamps.TabIndex = 27; // // splitContainer_Editor_PlayerDetails @@ -893,7 +891,7 @@ // splitContainer_Editor_PlayerDetails.Panel2 // splitContainer_Editor_PlayerDetails.Panel2.Controls.Add(tableLayoutPanel_Editor_PlayerTrim); - splitContainer_Editor_PlayerDetails.Size = new Size(632, 417); + splitContainer_Editor_PlayerDetails.Size = new Size(500, 417); splitContainer_Editor_PlayerDetails.SplitterDistance = 391; splitContainer_Editor_PlayerDetails.SplitterWidth = 1; splitContainer_Editor_PlayerDetails.TabIndex = 0; @@ -915,7 +913,7 @@ // splitContainer_Editor_VLC.Panel2 // splitContainer_Editor_VLC.Panel2.Controls.Add(tableLayoutPanel_Editor_VLC); - splitContainer_Editor_VLC.Size = new Size(632, 391); + splitContainer_Editor_VLC.Size = new Size(500, 391); splitContainer_Editor_VLC.SplitterDistance = 352; splitContainer_Editor_VLC.TabIndex = 1; // @@ -947,7 +945,7 @@ flyleafHost_Editor.PanRotateOnShiftWheel = true; flyleafHost_Editor.PanZoomOnCtrlWheel = true; flyleafHost_Editor.Player = null; - flyleafHost_Editor.Size = new Size(632, 352); + flyleafHost_Editor.Size = new Size(500, 352); flyleafHost_Editor.SwapDragEnterOnShift = true; flyleafHost_Editor.SwapOnDrop = true; flyleafHost_Editor.TabIndex = 0; @@ -983,7 +981,7 @@ tableLayoutPanel_Editor_VLC.Name = "tableLayoutPanel_Editor_VLC"; tableLayoutPanel_Editor_VLC.RowCount = 1; tableLayoutPanel_Editor_VLC.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); - tableLayoutPanel_Editor_VLC.Size = new Size(632, 35); + tableLayoutPanel_Editor_VLC.Size = new Size(500, 35); tableLayoutPanel_Editor_VLC.TabIndex = 0; // // comboBox_Editor_VLC_PlaybackSpeed @@ -994,7 +992,7 @@ comboBox_Editor_VLC_PlaybackSpeed.FormattingEnabled = true; comboBox_Editor_VLC_PlaybackSpeed.ItemHeight = 13; comboBox_Editor_VLC_PlaybackSpeed.Items.AddRange(new object[] { "x0,25", "x0,5", "x1", "x1,5", "x2", "x4", "x8", "x16" }); - comboBox_Editor_VLC_PlaybackSpeed.Location = new Point(530, 7); + comboBox_Editor_VLC_PlaybackSpeed.Location = new Point(398, 7); comboBox_Editor_VLC_PlaybackSpeed.Margin = new Padding(3, 7, 3, 7); comboBox_Editor_VLC_PlaybackSpeed.Name = "comboBox_Editor_VLC_PlaybackSpeed"; comboBox_Editor_VLC_PlaybackSpeed.Size = new Size(64, 21); @@ -1006,7 +1004,7 @@ button_Editor_VLC_Fullscreen.BackgroundImage = (Image)resources.GetObject("button_Editor_VLC_Fullscreen.BackgroundImage"); button_Editor_VLC_Fullscreen.BackgroundImageLayout = ImageLayout.Zoom; button_Editor_VLC_Fullscreen.Dock = DockStyle.Fill; - button_Editor_VLC_Fullscreen.Location = new Point(600, 3); + button_Editor_VLC_Fullscreen.Location = new Point(468, 3); button_Editor_VLC_Fullscreen.Name = "button_Editor_VLC_Fullscreen"; button_Editor_VLC_Fullscreen.Size = new Size(29, 29); button_Editor_VLC_Fullscreen.TabIndex = 7; @@ -1056,7 +1054,7 @@ trackBar_Editor_VLC.Location = new Point(248, 3); trackBar_Editor_VLC.Maximum = 100; trackBar_Editor_VLC.Name = "trackBar_Editor_VLC"; - trackBar_Editor_VLC.Size = new Size(206, 29); + trackBar_Editor_VLC.Size = new Size(74, 29); trackBar_Editor_VLC.SmallChange = 5; trackBar_Editor_VLC.TabIndex = 4; trackBar_Editor_VLC.TickStyle = TickStyle.None; @@ -1068,7 +1066,7 @@ label_Editor_VLC_Endtime.AutoSize = true; tableLayoutPanel_Editor_VLC.SetColumnSpan(label_Editor_VLC_Endtime, 2); label_Editor_VLC_Endtime.Dock = DockStyle.Fill; - label_Editor_VLC_Endtime.Location = new Point(460, 0); + label_Editor_VLC_Endtime.Location = new Point(328, 0); label_Editor_VLC_Endtime.Name = "label_Editor_VLC_Endtime"; label_Editor_VLC_Endtime.Size = new Size(64, 35); label_Editor_VLC_Endtime.TabIndex = 3; @@ -1127,7 +1125,7 @@ tableLayoutPanel_Editor_PlayerTrim.RowStyles.Add(new RowStyle(SizeType.Absolute, 21F)); tableLayoutPanel_Editor_PlayerTrim.RowStyles.Add(new RowStyle(SizeType.Absolute, 21F)); tableLayoutPanel_Editor_PlayerTrim.RowStyles.Add(new RowStyle(SizeType.Absolute, 21F)); - tableLayoutPanel_Editor_PlayerTrim.Size = new Size(632, 25); + tableLayoutPanel_Editor_PlayerTrim.Size = new Size(500, 25); tableLayoutPanel_Editor_PlayerTrim.TabIndex = 29; // // linkLabel_Modelname_Trim_Value @@ -1136,7 +1134,7 @@ linkLabel_Modelname_Trim_Value.Dock = DockStyle.Fill; linkLabel_Modelname_Trim_Value.Location = new Point(147, 21); linkLabel_Modelname_Trim_Value.Name = "linkLabel_Modelname_Trim_Value"; - linkLabel_Modelname_Trim_Value.Size = new Size(482, 21); + linkLabel_Modelname_Trim_Value.Size = new Size(350, 21); linkLabel_Modelname_Trim_Value.TabIndex = 33; linkLabel_Modelname_Trim_Value.TabStop = true; linkLabel_Modelname_Trim_Value.Text = "Modelname"; @@ -1189,7 +1187,7 @@ label_Filename_Trim_Value.Font = new Font("Segoe UI", 8.25F); label_Filename_Trim_Value.Location = new Point(147, 0); label_Filename_Trim_Value.Name = "label_Filename_Trim_Value"; - label_Filename_Trim_Value.Size = new Size(482, 21); + label_Filename_Trim_Value.Size = new Size(350, 21); label_Filename_Trim_Value.TabIndex = 3; label_Filename_Trim_Value.Text = "Filename"; label_Filename_Trim_Value.TextAlign = ContentAlignment.MiddleLeft; @@ -1225,7 +1223,7 @@ label_Date_Trim_Value.Font = new Font("Segoe UI", 8.25F); label_Date_Trim_Value.Location = new Point(147, 63); label_Date_Trim_Value.Name = "label_Date_Trim_Value"; - label_Date_Trim_Value.Size = new Size(482, 21); + label_Date_Trim_Value.Size = new Size(350, 21); label_Date_Trim_Value.TabIndex = 21; label_Date_Trim_Value.Text = "Datum"; label_Date_Trim_Value.TextAlign = ContentAlignment.MiddleLeft; @@ -1247,7 +1245,7 @@ label_Size_Trim_Value.Dock = DockStyle.Fill; label_Size_Trim_Value.Location = new Point(147, 42); label_Size_Trim_Value.Name = "label_Size_Trim_Value"; - label_Size_Trim_Value.Size = new Size(482, 21); + label_Size_Trim_Value.Size = new Size(350, 21); label_Size_Trim_Value.TabIndex = 23; label_Size_Trim_Value.Text = "Größe"; label_Size_Trim_Value.TextAlign = ContentAlignment.MiddleLeft; @@ -1291,7 +1289,7 @@ // splitContainer_Editor_Timestamps.Panel2.Controls.Add(groupBox_editClip_Options); splitContainer_Editor_Timestamps.Size = new Size(316, 357); - splitContainer_Editor_Timestamps.SplitterDistance = 73; + splitContainer_Editor_Timestamps.SplitterDistance = 90; splitContainer_Editor_Timestamps.TabIndex = 37; // // listView_Split @@ -1305,7 +1303,7 @@ listView_Split.Location = new Point(0, 0); listView_Split.Name = "listView_Split"; listView_Split.OwnerDraw = true; - listView_Split.Size = new Size(316, 73); + listView_Split.Size = new Size(316, 90); listView_Split.Sorting = SortOrder.Ascending; listView_Split.TabIndex = 1; listView_Split.UseCompatibleStateImageBehavior = false; @@ -1346,7 +1344,7 @@ groupBox_editClip_Options.Dock = DockStyle.Fill; groupBox_editClip_Options.Location = new Point(0, 0); groupBox_editClip_Options.Name = "groupBox_editClip_Options"; - groupBox_editClip_Options.Size = new Size(316, 280); + groupBox_editClip_Options.Size = new Size(316, 263); groupBox_editClip_Options.TabIndex = 37; groupBox_editClip_Options.TabStop = false; groupBox_editClip_Options.Text = "Optionen"; @@ -1356,25 +1354,23 @@ tableLayoutPanel_scanAI_Options.ColumnCount = 2; tableLayoutPanel_scanAI_Options.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); tableLayoutPanel_scanAI_Options.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); - tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_scanAI_UseThresholdForPredictionLabel, 1, 2); - tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_scanAI_PornThreshold, 0, 3); - tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_scanAI_addToResults, 1, 1); - tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_editClip_removeOriginal, 0, 1); - tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_scanAI_UseThresholds, 0, 2); - tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_scanAI_SexyThreshold, 0, 5); - tableLayoutPanel_scanAI_Options.Controls.Add(trackBar_scanAI_hentaiThreshold, 0, 8); - tableLayoutPanel_scanAI_Options.Controls.Add(label_scanAI_pornThreshold_Value, 1, 3); - tableLayoutPanel_scanAI_Options.Controls.Add(trackBar_scanAI_pornThreshold, 0, 4); - tableLayoutPanel_scanAI_Options.Controls.Add(label_scanAI_sexyThreshold_Value, 1, 5); - tableLayoutPanel_scanAI_Options.Controls.Add(trackBar_scanAI_sexyThreshold, 0, 6); - tableLayoutPanel_scanAI_Options.Controls.Add(label_scanAI_hentaiThreshold_Value, 1, 7); - tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_scanAI_HentaiThreshold, 0, 7); - tableLayoutPanel_scanAI_Options.Controls.Add(comboBox_scanAI_ThumbnailSize, 1, 0); - tableLayoutPanel_scanAI_Options.Controls.Add(label_ThumbnailSize, 0, 0); + tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_scanAI_UseThresholdForPredictionLabel, 1, 1); + tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_scanAI_PornThreshold, 0, 2); + tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_scanAI_addToResults, 1, 0); + tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_editClip_removeOriginal, 0, 0); + tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_scanAI_UseThresholds, 0, 1); + tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_scanAI_SexyThreshold, 0, 4); + tableLayoutPanel_scanAI_Options.Controls.Add(trackBar_scanAI_hentaiThreshold, 0, 7); + tableLayoutPanel_scanAI_Options.Controls.Add(label_scanAI_pornThreshold_Value, 1, 2); + tableLayoutPanel_scanAI_Options.Controls.Add(trackBar_scanAI_pornThreshold, 0, 3); + tableLayoutPanel_scanAI_Options.Controls.Add(label_scanAI_sexyThreshold_Value, 1, 4); + tableLayoutPanel_scanAI_Options.Controls.Add(trackBar_scanAI_sexyThreshold, 0, 5); + tableLayoutPanel_scanAI_Options.Controls.Add(label_scanAI_hentaiThreshold_Value, 1, 6); + tableLayoutPanel_scanAI_Options.Controls.Add(checkBox_scanAI_HentaiThreshold, 0, 6); tableLayoutPanel_scanAI_Options.Dock = DockStyle.Fill; tableLayoutPanel_scanAI_Options.Location = new Point(3, 18); tableLayoutPanel_scanAI_Options.Name = "tableLayoutPanel_scanAI_Options"; - tableLayoutPanel_scanAI_Options.RowCount = 9; + tableLayoutPanel_scanAI_Options.RowCount = 8; tableLayoutPanel_scanAI_Options.RowStyles.Add(new RowStyle(SizeType.Absolute, 25F)); tableLayoutPanel_scanAI_Options.RowStyles.Add(new RowStyle(SizeType.Absolute, 25F)); tableLayoutPanel_scanAI_Options.RowStyles.Add(new RowStyle(SizeType.Absolute, 25F)); @@ -1384,7 +1380,7 @@ tableLayoutPanel_scanAI_Options.RowStyles.Add(new RowStyle(SizeType.Absolute, 25F)); tableLayoutPanel_scanAI_Options.RowStyles.Add(new RowStyle(SizeType.Absolute, 25F)); tableLayoutPanel_scanAI_Options.RowStyles.Add(new RowStyle(SizeType.Absolute, 25F)); - tableLayoutPanel_scanAI_Options.Size = new Size(310, 224); + tableLayoutPanel_scanAI_Options.Size = new Size(310, 207); tableLayoutPanel_scanAI_Options.TabIndex = 10; // // checkBox_scanAI_UseThresholdForPredictionLabel @@ -1392,7 +1388,7 @@ checkBox_scanAI_UseThresholdForPredictionLabel.AutoSize = true; checkBox_scanAI_UseThresholdForPredictionLabel.Dock = DockStyle.Fill; checkBox_scanAI_UseThresholdForPredictionLabel.Enabled = false; - checkBox_scanAI_UseThresholdForPredictionLabel.Location = new Point(155, 50); + checkBox_scanAI_UseThresholdForPredictionLabel.Location = new Point(155, 25); checkBox_scanAI_UseThresholdForPredictionLabel.Margin = new Padding(0); checkBox_scanAI_UseThresholdForPredictionLabel.Name = "checkBox_scanAI_UseThresholdForPredictionLabel"; checkBox_scanAI_UseThresholdForPredictionLabel.Padding = new Padding(5, 2, 5, 2); @@ -1407,7 +1403,7 @@ checkBox_scanAI_PornThreshold.AutoSize = true; checkBox_scanAI_PornThreshold.Dock = DockStyle.Fill; checkBox_scanAI_PornThreshold.Enabled = false; - checkBox_scanAI_PornThreshold.Location = new Point(0, 75); + checkBox_scanAI_PornThreshold.Location = new Point(0, 50); checkBox_scanAI_PornThreshold.Margin = new Padding(0); checkBox_scanAI_PornThreshold.Name = "checkBox_scanAI_PornThreshold"; checkBox_scanAI_PornThreshold.Padding = new Padding(5, 2, 5, 2); @@ -1421,7 +1417,7 @@ // checkBox_scanAI_addToResults.AutoSize = true; checkBox_scanAI_addToResults.Dock = DockStyle.Fill; - checkBox_scanAI_addToResults.Location = new Point(155, 25); + checkBox_scanAI_addToResults.Location = new Point(155, 0); checkBox_scanAI_addToResults.Margin = new Padding(0); checkBox_scanAI_addToResults.Name = "checkBox_scanAI_addToResults"; checkBox_scanAI_addToResults.Padding = new Padding(5, 2, 5, 2); @@ -1434,7 +1430,7 @@ // checkBox_editClip_removeOriginal.AutoSize = true; checkBox_editClip_removeOriginal.Dock = DockStyle.Fill; - checkBox_editClip_removeOriginal.Location = new Point(0, 25); + checkBox_editClip_removeOriginal.Location = new Point(0, 0); checkBox_editClip_removeOriginal.Margin = new Padding(0); checkBox_editClip_removeOriginal.Name = "checkBox_editClip_removeOriginal"; checkBox_editClip_removeOriginal.Padding = new Padding(5, 2, 5, 2); @@ -1447,7 +1443,7 @@ // checkBox_scanAI_UseThresholds.AutoSize = true; checkBox_scanAI_UseThresholds.Dock = DockStyle.Fill; - checkBox_scanAI_UseThresholds.Location = new Point(0, 50); + checkBox_scanAI_UseThresholds.Location = new Point(0, 25); checkBox_scanAI_UseThresholds.Margin = new Padding(0); checkBox_scanAI_UseThresholds.Name = "checkBox_scanAI_UseThresholds"; checkBox_scanAI_UseThresholds.Padding = new Padding(5, 2, 5, 2); @@ -1462,7 +1458,7 @@ checkBox_scanAI_SexyThreshold.AutoSize = true; checkBox_scanAI_SexyThreshold.Dock = DockStyle.Fill; checkBox_scanAI_SexyThreshold.Enabled = false; - checkBox_scanAI_SexyThreshold.Location = new Point(0, 125); + checkBox_scanAI_SexyThreshold.Location = new Point(0, 100); checkBox_scanAI_SexyThreshold.Margin = new Padding(0); checkBox_scanAI_SexyThreshold.Name = "checkBox_scanAI_SexyThreshold"; checkBox_scanAI_SexyThreshold.Padding = new Padding(5, 2, 5, 2); @@ -1477,11 +1473,11 @@ tableLayoutPanel_scanAI_Options.SetColumnSpan(trackBar_scanAI_hentaiThreshold, 2); trackBar_scanAI_hentaiThreshold.Dock = DockStyle.Fill; trackBar_scanAI_hentaiThreshold.Enabled = false; - trackBar_scanAI_hentaiThreshold.Location = new Point(0, 200); + trackBar_scanAI_hentaiThreshold.Location = new Point(0, 175); trackBar_scanAI_hentaiThreshold.Margin = new Padding(0); trackBar_scanAI_hentaiThreshold.Maximum = 100; trackBar_scanAI_hentaiThreshold.Name = "trackBar_scanAI_hentaiThreshold"; - trackBar_scanAI_hentaiThreshold.Size = new Size(310, 25); + trackBar_scanAI_hentaiThreshold.Size = new Size(310, 32); trackBar_scanAI_hentaiThreshold.TabIndex = 8; trackBar_scanAI_hentaiThreshold.TickFrequency = 10; trackBar_scanAI_hentaiThreshold.Value = 50; @@ -1491,7 +1487,7 @@ // label_scanAI_pornThreshold_Value.AutoSize = true; label_scanAI_pornThreshold_Value.Dock = DockStyle.Fill; - label_scanAI_pornThreshold_Value.Location = new Point(155, 75); + label_scanAI_pornThreshold_Value.Location = new Point(155, 50); label_scanAI_pornThreshold_Value.Margin = new Padding(0); label_scanAI_pornThreshold_Value.Name = "label_scanAI_pornThreshold_Value"; label_scanAI_pornThreshold_Value.Size = new Size(155, 25); @@ -1504,7 +1500,7 @@ tableLayoutPanel_scanAI_Options.SetColumnSpan(trackBar_scanAI_pornThreshold, 2); trackBar_scanAI_pornThreshold.Dock = DockStyle.Fill; trackBar_scanAI_pornThreshold.Enabled = false; - trackBar_scanAI_pornThreshold.Location = new Point(0, 100); + trackBar_scanAI_pornThreshold.Location = new Point(0, 75); trackBar_scanAI_pornThreshold.Margin = new Padding(0); trackBar_scanAI_pornThreshold.Maximum = 100; trackBar_scanAI_pornThreshold.Name = "trackBar_scanAI_pornThreshold"; @@ -1518,7 +1514,7 @@ // label_scanAI_sexyThreshold_Value.AutoSize = true; label_scanAI_sexyThreshold_Value.Dock = DockStyle.Fill; - label_scanAI_sexyThreshold_Value.Location = new Point(155, 125); + label_scanAI_sexyThreshold_Value.Location = new Point(155, 100); label_scanAI_sexyThreshold_Value.Margin = new Padding(0); label_scanAI_sexyThreshold_Value.Name = "label_scanAI_sexyThreshold_Value"; label_scanAI_sexyThreshold_Value.Size = new Size(155, 25); @@ -1531,7 +1527,7 @@ tableLayoutPanel_scanAI_Options.SetColumnSpan(trackBar_scanAI_sexyThreshold, 2); trackBar_scanAI_sexyThreshold.Dock = DockStyle.Fill; trackBar_scanAI_sexyThreshold.Enabled = false; - trackBar_scanAI_sexyThreshold.Location = new Point(0, 150); + trackBar_scanAI_sexyThreshold.Location = new Point(0, 125); trackBar_scanAI_sexyThreshold.Margin = new Padding(0); trackBar_scanAI_sexyThreshold.Maximum = 100; trackBar_scanAI_sexyThreshold.Name = "trackBar_scanAI_sexyThreshold"; @@ -1545,7 +1541,7 @@ // label_scanAI_hentaiThreshold_Value.AutoSize = true; label_scanAI_hentaiThreshold_Value.Dock = DockStyle.Fill; - label_scanAI_hentaiThreshold_Value.Location = new Point(155, 175); + label_scanAI_hentaiThreshold_Value.Location = new Point(155, 150); label_scanAI_hentaiThreshold_Value.Margin = new Padding(0); label_scanAI_hentaiThreshold_Value.Name = "label_scanAI_hentaiThreshold_Value"; label_scanAI_hentaiThreshold_Value.Size = new Size(155, 25); @@ -1558,7 +1554,7 @@ checkBox_scanAI_HentaiThreshold.AutoSize = true; checkBox_scanAI_HentaiThreshold.Dock = DockStyle.Fill; checkBox_scanAI_HentaiThreshold.Enabled = false; - checkBox_scanAI_HentaiThreshold.Location = new Point(0, 175); + checkBox_scanAI_HentaiThreshold.Location = new Point(0, 150); checkBox_scanAI_HentaiThreshold.Margin = new Padding(0); checkBox_scanAI_HentaiThreshold.Name = "checkBox_scanAI_HentaiThreshold"; checkBox_scanAI_HentaiThreshold.Padding = new Padding(5, 2, 5, 2); @@ -1568,30 +1564,6 @@ checkBox_scanAI_HentaiThreshold.UseVisualStyleBackColor = true; checkBox_scanAI_HentaiThreshold.CheckedChanged += checkBox_scanAI_HentaiThreshold_CheckedChanged; // - // comboBox_scanAI_ThumbnailSize - // - comboBox_scanAI_ThumbnailSize.Dock = DockStyle.Fill; - comboBox_scanAI_ThumbnailSize.DropDownStyle = ComboBoxStyle.DropDownList; - comboBox_scanAI_ThumbnailSize.FormattingEnabled = true; - comboBox_scanAI_ThumbnailSize.Location = new Point(155, 0); - comboBox_scanAI_ThumbnailSize.Margin = new Padding(0); - comboBox_scanAI_ThumbnailSize.Name = "comboBox_scanAI_ThumbnailSize"; - comboBox_scanAI_ThumbnailSize.Size = new Size(155, 21); - comboBox_scanAI_ThumbnailSize.TabIndex = 14; - comboBox_scanAI_ThumbnailSize.SelectedIndexChanged += comboBox_ThumbnailSize_SelectedIndexChanged; - // - // label_ThumbnailSize - // - label_ThumbnailSize.AutoSize = true; - label_ThumbnailSize.Dock = DockStyle.Fill; - label_ThumbnailSize.Location = new Point(0, 0); - label_ThumbnailSize.Margin = new Padding(0); - label_ThumbnailSize.Name = "label_ThumbnailSize"; - label_ThumbnailSize.Size = new Size(155, 25); - label_ThumbnailSize.TabIndex = 15; - label_ThumbnailSize.Text = "Größe der Thumbnails:"; - label_ThumbnailSize.TextAlign = ContentAlignment.MiddleLeft; - // // tableLayoutPanel_editClip_ScanAI // tableLayoutPanel_editClip_ScanAI.ColumnCount = 2; @@ -1600,7 +1572,7 @@ tableLayoutPanel_editClip_ScanAI.Controls.Add(button_editClip_scanAI, 0, 0); tableLayoutPanel_editClip_ScanAI.Controls.Add(button_editClip_scanAI_Results, 1, 0); tableLayoutPanel_editClip_ScanAI.Dock = DockStyle.Bottom; - tableLayoutPanel_editClip_ScanAI.Location = new Point(3, 242); + tableLayoutPanel_editClip_ScanAI.Location = new Point(3, 225); tableLayoutPanel_editClip_ScanAI.Name = "tableLayoutPanel_editClip_ScanAI"; tableLayoutPanel_editClip_ScanAI.RowCount = 1; tableLayoutPanel_editClip_ScanAI.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); @@ -2292,7 +2264,7 @@ tabPage_Archive.Location = new Point(4, 22); tabPage_Archive.Name = "tabPage_Archive"; tabPage_Archive.Padding = new Padding(3); - tabPage_Archive.Size = new Size(958, 423); + tabPage_Archive.Size = new Size(826, 423); tabPage_Archive.TabIndex = 6; tabPage_Archive.Text = "Archiv"; tabPage_Archive.UseVisualStyleBackColor = true; @@ -2314,7 +2286,7 @@ // splitContainer_ArchiveDownloads.Panel2.Controls.Add(tableLayoutPanel_Archive_Controls_Right); splitContainer_ArchiveDownloads.Panel2.Controls.Add(tableLayoutPanel_Archive_Controls_Left); - splitContainer_ArchiveDownloads.Size = new Size(952, 417); + splitContainer_ArchiveDownloads.Size = new Size(820, 417); splitContainer_ArchiveDownloads.SplitterDistance = 379; splitContainer_ArchiveDownloads.TabIndex = 2; // @@ -2334,7 +2306,7 @@ // splitContainer_Archive_ListView.Panel2 // splitContainer_Archive_ListView.Panel2.Controls.Add(listView_AllArchivedDownloads); - splitContainer_Archive_ListView.Size = new Size(952, 379); + splitContainer_Archive_ListView.Size = new Size(820, 379); splitContainer_Archive_ListView.SplitterDistance = 100; splitContainer_Archive_ListView.TabIndex = 7; // @@ -2344,7 +2316,7 @@ groupBox_Archive_Tags.Dock = DockStyle.Fill; groupBox_Archive_Tags.Location = new Point(0, 0); groupBox_Archive_Tags.Name = "groupBox_Archive_Tags"; - groupBox_Archive_Tags.Size = new Size(952, 100); + groupBox_Archive_Tags.Size = new Size(820, 100); groupBox_Archive_Tags.TabIndex = 1; groupBox_Archive_Tags.TabStop = false; groupBox_Archive_Tags.Text = "Tags"; @@ -2364,7 +2336,7 @@ // splitContainer_Archive_Tags.Panel2 // splitContainer_Archive_Tags.Panel2.Controls.Add(checkedListBox_Archive_Tags); - splitContainer_Archive_Tags.Size = new Size(946, 79); + splitContainer_Archive_Tags.Size = new Size(814, 79); splitContainer_Archive_Tags.SplitterDistance = 120; splitContainer_Archive_Tags.TabIndex = 0; // @@ -2387,7 +2359,7 @@ checkedListBox_Archive_Tags.Location = new Point(0, 0); checkedListBox_Archive_Tags.MultiColumn = true; checkedListBox_Archive_Tags.Name = "checkedListBox_Archive_Tags"; - checkedListBox_Archive_Tags.Size = new Size(822, 79); + checkedListBox_Archive_Tags.Size = new Size(690, 79); checkedListBox_Archive_Tags.TabIndex = 2; checkedListBox_Archive_Tags.ItemCheck += checkedListBox_Archive_Tags_ItemCheck; // @@ -2400,7 +2372,7 @@ listView_AllArchivedDownloads.LargeImageList = imageList_Thumbnails; listView_AllArchivedDownloads.Location = new Point(0, 0); listView_AllArchivedDownloads.Name = "listView_AllArchivedDownloads"; - listView_AllArchivedDownloads.Size = new Size(952, 275); + listView_AllArchivedDownloads.Size = new Size(820, 275); listView_AllArchivedDownloads.TabIndex = 5; listView_AllArchivedDownloads.TileSize = new Size(300, 118); listView_AllArchivedDownloads.UseCompatibleStateImageBehavior = false; @@ -2459,7 +2431,7 @@ tableLayoutPanel_Archive_Controls_Right.Controls.Add(comboBox_AllArchivedDownloadsView, 1, 0); tableLayoutPanel_Archive_Controls_Right.Controls.Add(trackBar_AllArchivedDownloadsTileSize, 2, 0); tableLayoutPanel_Archive_Controls_Right.Dock = DockStyle.Right; - tableLayoutPanel_Archive_Controls_Right.Location = new Point(669, 0); + tableLayoutPanel_Archive_Controls_Right.Location = new Point(537, 0); tableLayoutPanel_Archive_Controls_Right.Name = "tableLayoutPanel_Archive_Controls_Right"; tableLayoutPanel_Archive_Controls_Right.RowCount = 1; tableLayoutPanel_Archive_Controls_Right.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); @@ -2550,7 +2522,7 @@ tabPage_CompletedDownloads.Location = new Point(4, 22); tabPage_CompletedDownloads.Name = "tabPage_CompletedDownloads"; tabPage_CompletedDownloads.Padding = new Padding(3); - tabPage_CompletedDownloads.Size = new Size(958, 423); + tabPage_CompletedDownloads.Size = new Size(826, 423); tabPage_CompletedDownloads.TabIndex = 4; tabPage_CompletedDownloads.Tag = ""; tabPage_CompletedDownloads.Text = "Abgeschlossene Downloads"; @@ -2573,7 +2545,7 @@ // splitContainer_CompletedDownloads.Panel2.Controls.Add(tableLayoutPanel_CompletedDownloads_Controls_Right); splitContainer_CompletedDownloads.Panel2.Controls.Add(tableLayoutPanel_CompletedDownloads_Controls_Left); - splitContainer_CompletedDownloads.Size = new Size(952, 417); + splitContainer_CompletedDownloads.Size = new Size(820, 417); splitContainer_CompletedDownloads.SplitterDistance = 379; splitContainer_CompletedDownloads.TabIndex = 0; // @@ -2593,7 +2565,7 @@ // splitContainer_CompletedDownloads_ListView.Panel2 // splitContainer_CompletedDownloads_ListView.Panel2.Controls.Add(listView_CompletedDownloads); - splitContainer_CompletedDownloads_ListView.Size = new Size(952, 379); + splitContainer_CompletedDownloads_ListView.Size = new Size(820, 379); splitContainer_CompletedDownloads_ListView.SplitterDistance = 100; splitContainer_CompletedDownloads_ListView.TabIndex = 6; // @@ -2603,7 +2575,7 @@ groupBox_CompletedDownloads_Tags.Dock = DockStyle.Fill; groupBox_CompletedDownloads_Tags.Location = new Point(0, 0); groupBox_CompletedDownloads_Tags.Name = "groupBox_CompletedDownloads_Tags"; - groupBox_CompletedDownloads_Tags.Size = new Size(952, 100); + groupBox_CompletedDownloads_Tags.Size = new Size(820, 100); groupBox_CompletedDownloads_Tags.TabIndex = 1; groupBox_CompletedDownloads_Tags.TabStop = false; groupBox_CompletedDownloads_Tags.Text = "Tags"; @@ -2623,7 +2595,7 @@ // splitContainer_Tags.Panel2 // splitContainer_Tags.Panel2.Controls.Add(checkedListBox_CompletedDownloads_Tags); - splitContainer_Tags.Size = new Size(946, 79); + splitContainer_Tags.Size = new Size(814, 79); splitContainer_Tags.SplitterDistance = 120; splitContainer_Tags.TabIndex = 0; // @@ -2646,7 +2618,7 @@ checkedListBox_CompletedDownloads_Tags.Location = new Point(0, 0); checkedListBox_CompletedDownloads_Tags.MultiColumn = true; checkedListBox_CompletedDownloads_Tags.Name = "checkedListBox_CompletedDownloads_Tags"; - checkedListBox_CompletedDownloads_Tags.Size = new Size(822, 79); + checkedListBox_CompletedDownloads_Tags.Size = new Size(690, 79); checkedListBox_CompletedDownloads_Tags.TabIndex = 2; checkedListBox_CompletedDownloads_Tags.ItemCheck += checkedListBox_CompletedDownloads_Tags_ItemCheck; // @@ -2660,7 +2632,7 @@ listView_CompletedDownloads.LargeImageList = imageList_Thumbnails; listView_CompletedDownloads.Location = new Point(0, 0); listView_CompletedDownloads.Name = "listView_CompletedDownloads"; - listView_CompletedDownloads.Size = new Size(952, 275); + listView_CompletedDownloads.Size = new Size(820, 275); listView_CompletedDownloads.TabIndex = 5; listView_CompletedDownloads.TileSize = new Size(198, 112); listView_CompletedDownloads.UseCompatibleStateImageBehavior = false; @@ -2721,7 +2693,7 @@ tableLayoutPanel_CompletedDownloads_Controls_Right.Controls.Add(comboBox_completedDownloadsView, 1, 0); tableLayoutPanel_CompletedDownloads_Controls_Right.Controls.Add(trackBar_TileSize, 2, 0); tableLayoutPanel_CompletedDownloads_Controls_Right.Dock = DockStyle.Right; - tableLayoutPanel_CompletedDownloads_Controls_Right.Location = new Point(535, 0); + tableLayoutPanel_CompletedDownloads_Controls_Right.Location = new Point(403, 0); tableLayoutPanel_CompletedDownloads_Controls_Right.Name = "tableLayoutPanel_CompletedDownloads_Controls_Right"; tableLayoutPanel_CompletedDownloads_Controls_Right.RowCount = 1; tableLayoutPanel_CompletedDownloads_Controls_Right.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); @@ -2839,7 +2811,7 @@ tabPage_Favorite.Location = new Point(4, 22); tabPage_Favorite.Name = "tabPage_Favorite"; tabPage_Favorite.Padding = new Padding(3); - tabPage_Favorite.Size = new Size(958, 423); + tabPage_Favorite.Size = new Size(826, 423); tabPage_Favorite.TabIndex = 3; tabPage_Favorite.Tag = ""; tabPage_Favorite.Text = "Favoriten"; @@ -2861,7 +2833,7 @@ // splitContainer_Favorites.Panel2 // splitContainer_Favorites.Panel2.Controls.Add(listView_Favorites); - splitContainer_Favorites.Size = new Size(952, 417); + splitContainer_Favorites.Size = new Size(820, 417); splitContainer_Favorites.SplitterDistance = 30; splitContainer_Favorites.TabIndex = 0; // @@ -2887,7 +2859,7 @@ tableLayoutPanel_Favorites.Name = "tableLayoutPanel_Favorites"; tableLayoutPanel_Favorites.RowCount = 1; tableLayoutPanel_Favorites.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); - tableLayoutPanel_Favorites.Size = new Size(952, 30); + tableLayoutPanel_Favorites.Size = new Size(820, 30); tableLayoutPanel_Favorites.TabIndex = 6; // // button_Favorites_Search_Next @@ -2931,7 +2903,7 @@ button_RemoveInvalidFavorites.ForeColor = Color.Black; button_RemoveInvalidFavorites.Location = new Point(743, 3); button_RemoveInvalidFavorites.Name = "button_RemoveInvalidFavorites"; - button_RemoveInvalidFavorites.Size = new Size(206, 24); + button_RemoveInvalidFavorites.Size = new Size(144, 24); button_RemoveInvalidFavorites.TabIndex = 3; button_RemoveInvalidFavorites.Text = "Alte Einträge entfernen"; button_RemoveInvalidFavorites.UseVisualStyleBackColor = true; @@ -2981,7 +2953,7 @@ listView_Favorites.GridLines = true; listView_Favorites.Location = new Point(0, 0); listView_Favorites.Name = "listView_Favorites"; - listView_Favorites.Size = new Size(952, 383); + listView_Favorites.Size = new Size(820, 383); listView_Favorites.TabIndex = 4; listView_Favorites.UseCompatibleStateImageBehavior = false; listView_Favorites.View = View.Details; @@ -3030,7 +3002,7 @@ tabPage_Likes.Location = new Point(4, 22); tabPage_Likes.Name = "tabPage_Likes"; tabPage_Likes.Padding = new Padding(3); - tabPage_Likes.Size = new Size(958, 423); + tabPage_Likes.Size = new Size(826, 423); tabPage_Likes.TabIndex = 2; tabPage_Likes.Tag = ""; tabPage_Likes.Text = "Gefällt Mir"; @@ -3052,7 +3024,7 @@ // splitContainer_Likes.Panel2 // splitContainer_Likes.Panel2.Controls.Add(listView_Likes); - splitContainer_Likes.Size = new Size(952, 417); + splitContainer_Likes.Size = new Size(820, 417); splitContainer_Likes.SplitterDistance = 30; splitContainer_Likes.TabIndex = 0; // @@ -3078,7 +3050,7 @@ tableLayoutPanel_Likes.Name = "tableLayoutPanel_Likes"; tableLayoutPanel_Likes.RowCount = 1; tableLayoutPanel_Likes.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); - tableLayoutPanel_Likes.Size = new Size(952, 30); + tableLayoutPanel_Likes.Size = new Size(820, 30); tableLayoutPanel_Likes.TabIndex = 7; // // textBox_FilterLikes @@ -3096,7 +3068,7 @@ button_RemoveInvalidLikes.ForeColor = Color.Black; button_RemoveInvalidLikes.Location = new Point(743, 3); button_RemoveInvalidLikes.Name = "button_RemoveInvalidLikes"; - button_RemoveInvalidLikes.Size = new Size(206, 24); + button_RemoveInvalidLikes.Size = new Size(144, 24); button_RemoveInvalidLikes.TabIndex = 3; button_RemoveInvalidLikes.Text = "Alte Einträge entfernen"; button_RemoveInvalidLikes.UseVisualStyleBackColor = true; @@ -3172,7 +3144,7 @@ listView_Likes.GridLines = true; listView_Likes.Location = new Point(0, 0); listView_Likes.Name = "listView_Likes"; - listView_Likes.Size = new Size(952, 383); + listView_Likes.Size = new Size(820, 383); listView_Likes.TabIndex = 3; listView_Likes.UseCompatibleStateImageBehavior = false; listView_Likes.View = View.Details; @@ -3221,7 +3193,7 @@ tabPage_Settings.Location = new Point(4, 22); tabPage_Settings.Name = "tabPage_Settings"; tabPage_Settings.Padding = new Padding(3); - tabPage_Settings.Size = new Size(958, 423); + tabPage_Settings.Size = new Size(826, 423); tabPage_Settings.TabIndex = 1; tabPage_Settings.Tag = ""; tabPage_Settings.Text = "Einstellungen"; @@ -3240,7 +3212,7 @@ // splitContainer_Settings.Panel2 // splitContainer_Settings.Panel2.Controls.Add(groupBox_Folder); - splitContainer_Settings.Size = new Size(952, 417); + splitContainer_Settings.Size = new Size(820, 417); splitContainer_Settings.SplitterDistance = 307; splitContainer_Settings.SplitterWidth = 1; splitContainer_Settings.TabIndex = 77; @@ -3258,7 +3230,7 @@ tableLayoutPanel_Settings.Name = "tableLayoutPanel_Settings"; tableLayoutPanel_Settings.RowCount = 1; tableLayoutPanel_Settings.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); - tableLayoutPanel_Settings.Size = new Size(952, 307); + tableLayoutPanel_Settings.Size = new Size(820, 307); tableLayoutPanel_Settings.TabIndex = 76; // // groupBox_Settings_Main @@ -3268,7 +3240,7 @@ groupBox_Settings_Main.Dock = DockStyle.Fill; groupBox_Settings_Main.Location = new Point(3, 3); groupBox_Settings_Main.Name = "groupBox_Settings_Main"; - groupBox_Settings_Main.Size = new Size(470, 301); + groupBox_Settings_Main.Size = new Size(404, 301); groupBox_Settings_Main.TabIndex = 54; groupBox_Settings_Main.TabStop = false; groupBox_Settings_Main.Text = "Haupteinstellungen"; @@ -3329,7 +3301,7 @@ tableLayoutPanel_Settings_Main.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); tableLayoutPanel_Settings_Main.RowStyles.Add(new RowStyle()); tableLayoutPanel_Settings_Main.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); - tableLayoutPanel_Settings_Main.Size = new Size(464, 280); + tableLayoutPanel_Settings_Main.Size = new Size(398, 280); tableLayoutPanel_Settings_Main.TabIndex = 76; // // checkBox_checkMFCModels @@ -3338,7 +3310,7 @@ checkBox_checkMFCModels.Dock = DockStyle.Fill; checkBox_checkMFCModels.Location = new Point(207, 25); checkBox_checkMFCModels.Name = "checkBox_checkMFCModels"; - checkBox_checkMFCModels.Size = new Size(254, 16); + checkBox_checkMFCModels.Size = new Size(188, 16); checkBox_checkMFCModels.TabIndex = 76; checkBox_checkMFCModels.Text = "MyFreeCams Models prüfen"; checkBox_checkMFCModels.UseVisualStyleBackColor = true; @@ -3376,7 +3348,7 @@ checkBox_HiddenMode.Dock = DockStyle.Fill; checkBox_HiddenMode.Location = new Point(3, 3); checkBox_HiddenMode.Name = "checkBox_HiddenMode"; - checkBox_HiddenMode.Size = new Size(458, 16); + checkBox_HiddenMode.Size = new Size(392, 16); checkBox_HiddenMode.TabIndex = 13; checkBox_HiddenMode.Text = "Verstecker Modus"; checkBox_HiddenMode.UseVisualStyleBackColor = true; @@ -3406,7 +3378,7 @@ button_deleteObsoleteThumbnails.ImageAlign = ContentAlignment.MiddleLeft; button_deleteObsoleteThumbnails.Location = new Point(207, 223); button_deleteObsoleteThumbnails.Name = "button_deleteObsoleteThumbnails"; - button_deleteObsoleteThumbnails.Size = new Size(254, 24); + button_deleteObsoleteThumbnails.Size = new Size(188, 24); button_deleteObsoleteThumbnails.TabIndex = 73; button_deleteObsoleteThumbnails.Text = "Alte Thumbnails löschen"; button_deleteObsoleteThumbnails.TextImageRelation = TextImageRelation.ImageBeforeText; @@ -3421,7 +3393,7 @@ button_ReloadAudioDevice.Location = new Point(284, 198); button_ReloadAudioDevice.Margin = new Padding(0); button_ReloadAudioDevice.Name = "button_ReloadAudioDevice"; - button_ReloadAudioDevice.Size = new Size(180, 22); + button_ReloadAudioDevice.Size = new Size(114, 22); button_ReloadAudioDevice.TabIndex = 68; button_ReloadAudioDevice.Text = "Neuladen"; button_ReloadAudioDevice.TextImageRelation = TextImageRelation.ImageBeforeText; @@ -3448,7 +3420,7 @@ label_AutoShutdown.Location = new Point(287, 135); label_AutoShutdown.Margin = new Padding(3); label_AutoShutdown.Name = "label_AutoShutdown"; - label_AutoShutdown.Size = new Size(174, 16); + label_AutoShutdown.Size = new Size(108, 16); label_AutoShutdown.TabIndex = 65; label_AutoShutdown.Text = "(00.00.0000 00:00)"; label_AutoShutdown.TextAlign = ContentAlignment.MiddleLeft; @@ -3473,7 +3445,7 @@ label_warnFreeDiskSpace.Location = new Point(157, 47); label_warnFreeDiskSpace.Margin = new Padding(3); label_warnFreeDiskSpace.Name = "label_warnFreeDiskSpace"; - label_warnFreeDiskSpace.Size = new Size(304, 16); + label_warnFreeDiskSpace.Size = new Size(238, 16); label_warnFreeDiskSpace.TabIndex = 51; label_warnFreeDiskSpace.Text = "% freiem Festplattenspeicher"; label_warnFreeDiskSpace.TextAlign = ContentAlignment.MiddleLeft; @@ -3512,7 +3484,7 @@ checkBox_warnFreeDiskSpace_StopDownloads.Enabled = false; checkBox_warnFreeDiskSpace_StopDownloads.Location = new Point(29, 69); checkBox_warnFreeDiskSpace_StopDownloads.Name = "checkBox_warnFreeDiskSpace_StopDownloads"; - checkBox_warnFreeDiskSpace_StopDownloads.Size = new Size(432, 16); + checkBox_warnFreeDiskSpace_StopDownloads.Size = new Size(366, 16); checkBox_warnFreeDiskSpace_StopDownloads.TabIndex = 52; checkBox_warnFreeDiskSpace_StopDownloads.Text = "Downloads stoppen"; checkBox_warnFreeDiskSpace_StopDownloads.UseVisualStyleBackColor = true; @@ -3525,7 +3497,7 @@ checkBox_useInternalPlayer.Dock = DockStyle.Fill; checkBox_useInternalPlayer.Location = new Point(3, 91); checkBox_useInternalPlayer.Name = "checkBox_useInternalPlayer"; - checkBox_useInternalPlayer.Size = new Size(458, 16); + checkBox_useInternalPlayer.Size = new Size(392, 16); checkBox_useInternalPlayer.TabIndex = 42; checkBox_useInternalPlayer.Text = "internen Player verwenden"; checkBox_useInternalPlayer.UseVisualStyleBackColor = true; @@ -3565,7 +3537,7 @@ checkBox_PausePlaybackWhenSwitchingTabs.Dock = DockStyle.Fill; checkBox_PausePlaybackWhenSwitchingTabs.Location = new Point(3, 113); checkBox_PausePlaybackWhenSwitchingTabs.Name = "checkBox_PausePlaybackWhenSwitchingTabs"; - checkBox_PausePlaybackWhenSwitchingTabs.Size = new Size(458, 16); + checkBox_PausePlaybackWhenSwitchingTabs.Size = new Size(392, 16); checkBox_PausePlaybackWhenSwitchingTabs.TabIndex = 70; checkBox_PausePlaybackWhenSwitchingTabs.Text = "Wiedergabe pausieren bei Tabwechsel"; checkBox_PausePlaybackWhenSwitchingTabs.UseVisualStyleBackColor = true; @@ -3639,9 +3611,9 @@ // groupBox_Settings_Downloads.Controls.Add(tableLayoutPanel_Settings_Downloads); groupBox_Settings_Downloads.Dock = DockStyle.Fill; - groupBox_Settings_Downloads.Location = new Point(479, 3); + groupBox_Settings_Downloads.Location = new Point(413, 3); groupBox_Settings_Downloads.Name = "groupBox_Settings_Downloads"; - groupBox_Settings_Downloads.Size = new Size(470, 301); + groupBox_Settings_Downloads.Size = new Size(404, 301); groupBox_Settings_Downloads.TabIndex = 75; groupBox_Settings_Downloads.TabStop = false; groupBox_Settings_Downloads.Text = "Downloadeinstellungen"; @@ -3691,7 +3663,7 @@ tableLayoutPanel_Settings_Downloads.RowStyles.Add(new RowStyle(SizeType.Absolute, 24F)); tableLayoutPanel_Settings_Downloads.RowStyles.Add(new RowStyle(SizeType.Absolute, 24F)); tableLayoutPanel_Settings_Downloads.RowStyles.Add(new RowStyle(SizeType.Absolute, 24F)); - tableLayoutPanel_Settings_Downloads.Size = new Size(464, 280); + tableLayoutPanel_Settings_Downloads.Size = new Size(398, 280); tableLayoutPanel_Settings_Downloads.TabIndex = 75; // // checkBox_MaxConcurrentDownloads @@ -3701,7 +3673,7 @@ checkBox_MaxConcurrentDownloads.Dock = DockStyle.Fill; checkBox_MaxConcurrentDownloads.Location = new Point(3, 123); checkBox_MaxConcurrentDownloads.Name = "checkBox_MaxConcurrentDownloads"; - checkBox_MaxConcurrentDownloads.Size = new Size(270, 18); + checkBox_MaxConcurrentDownloads.Size = new Size(227, 18); checkBox_MaxConcurrentDownloads.TabIndex = 40; checkBox_MaxConcurrentDownloads.Text = "Maximal gleichzeitige Downloads:"; checkBox_MaxConcurrentDownloads.UseVisualStyleBackColor = true; @@ -3714,7 +3686,7 @@ checkBox_AutoStart.Dock = DockStyle.Fill; checkBox_AutoStart.Location = new Point(3, 27); checkBox_AutoStart.Name = "checkBox_AutoStart"; - checkBox_AutoStart.Size = new Size(408, 18); + checkBox_AutoStart.Size = new Size(344, 18); checkBox_AutoStart.TabIndex = 9; checkBox_AutoStart.Text = "Downloads automatisch starten"; checkBox_AutoStart.UseVisualStyleBackColor = true; @@ -3729,7 +3701,7 @@ checkBox_AutoAddFromClipboard.Dock = DockStyle.Fill; checkBox_AutoAddFromClipboard.Location = new Point(3, 3); checkBox_AutoAddFromClipboard.Name = "checkBox_AutoAddFromClipboard"; - checkBox_AutoAddFromClipboard.Size = new Size(408, 18); + checkBox_AutoAddFromClipboard.Size = new Size(344, 18); checkBox_AutoAddFromClipboard.TabIndex = 8; checkBox_AutoAddFromClipboard.Text = "Automatisch aus Zwischenablage einfügen"; checkBox_AutoAddFromClipboard.UseVisualStyleBackColor = true; @@ -3741,7 +3713,7 @@ checkBox_loopFavorites.Dock = DockStyle.Fill; checkBox_loopFavorites.Location = new Point(3, 219); checkBox_loopFavorites.Name = "checkBox_loopFavorites"; - checkBox_loopFavorites.Size = new Size(458, 18); + checkBox_loopFavorites.Size = new Size(392, 18); checkBox_loopFavorites.TabIndex = 30; checkBox_loopFavorites.Text = "Favoriten in Dauerschleife prüfen"; checkBox_loopFavorites.UseVisualStyleBackColor = true; @@ -3756,7 +3728,7 @@ checkBox_deleteSmallFiles.Dock = DockStyle.Fill; checkBox_deleteSmallFiles.Location = new Point(3, 51); checkBox_deleteSmallFiles.Name = "checkBox_deleteSmallFiles"; - checkBox_deleteSmallFiles.Size = new Size(270, 18); + checkBox_deleteSmallFiles.Size = new Size(227, 18); checkBox_deleteSmallFiles.TabIndex = 18; checkBox_deleteSmallFiles.Text = "Dateien löschen, die kleiner sind als"; checkBox_deleteSmallFiles.UseVisualStyleBackColor = true; @@ -3770,7 +3742,7 @@ checkBox_completedDownloadNotification.Enabled = false; checkBox_completedDownloadNotification.Location = new Point(3, 147); checkBox_completedDownloadNotification.Name = "checkBox_completedDownloadNotification"; - checkBox_completedDownloadNotification.Size = new Size(408, 18); + checkBox_completedDownloadNotification.Size = new Size(344, 18); checkBox_completedDownloadNotification.TabIndex = 55; checkBox_completedDownloadNotification.Text = "Benachrichtigung bei fertigen Downloads"; checkBox_completedDownloadNotification.UseVisualStyleBackColor = true; @@ -3780,7 +3752,7 @@ // numericUpDown_MaxConcurrentDownloads.BorderStyle = BorderStyle.FixedSingle; tableLayoutPanel_Settings_Downloads.SetColumnSpan(numericUpDown_MaxConcurrentDownloads, 2); - numericUpDown_MaxConcurrentDownloads.Location = new Point(276, 120); + numericUpDown_MaxConcurrentDownloads.Location = new Point(233, 120); numericUpDown_MaxConcurrentDownloads.Margin = new Padding(0); numericUpDown_MaxConcurrentDownloads.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); numericUpDown_MaxConcurrentDownloads.Name = "numericUpDown_MaxConcurrentDownloads"; @@ -3795,9 +3767,9 @@ tableLayoutPanel_Settings_Downloads.SetColumnSpan(checkBox_moveOnlyManuallyDeletedFiles, 10); checkBox_moveOnlyManuallyDeletedFiles.Dock = DockStyle.Fill; checkBox_moveOnlyManuallyDeletedFiles.Enabled = false; - checkBox_moveOnlyManuallyDeletedFiles.Location = new Point(26, 99); + checkBox_moveOnlyManuallyDeletedFiles.Location = new Point(22, 99); checkBox_moveOnlyManuallyDeletedFiles.Name = "checkBox_moveOnlyManuallyDeletedFiles"; - checkBox_moveOnlyManuallyDeletedFiles.Size = new Size(435, 18); + checkBox_moveOnlyManuallyDeletedFiles.Size = new Size(373, 18); checkBox_moveOnlyManuallyDeletedFiles.TabIndex = 44; checkBox_moveOnlyManuallyDeletedFiles.Text = "nur manuell gelöschte Dateien"; checkBox_moveOnlyManuallyDeletedFiles.UseVisualStyleBackColor = true; @@ -3807,9 +3779,9 @@ checkBox_moveToRecycleBin.AutoSize = true; tableLayoutPanel_Settings_Downloads.SetColumnSpan(checkBox_moveToRecycleBin, 10); checkBox_moveToRecycleBin.Dock = DockStyle.Fill; - checkBox_moveToRecycleBin.Location = new Point(26, 75); + checkBox_moveToRecycleBin.Location = new Point(22, 75); checkBox_moveToRecycleBin.Name = "checkBox_moveToRecycleBin"; - checkBox_moveToRecycleBin.Size = new Size(435, 18); + checkBox_moveToRecycleBin.Size = new Size(373, 18); checkBox_moveToRecycleBin.TabIndex = 43; checkBox_moveToRecycleBin.Text = "Dateien in den Papierkorb verschieben"; checkBox_moveToRecycleBin.UseVisualStyleBackColor = true; @@ -3819,11 +3791,11 @@ // tableLayoutPanel_Settings_Downloads.SetColumnSpan(numericUpDown_deleteSmallFiles, 2); numericUpDown_deleteSmallFiles.Dock = DockStyle.Fill; - numericUpDown_deleteSmallFiles.Location = new Point(276, 48); + numericUpDown_deleteSmallFiles.Location = new Point(233, 48); numericUpDown_deleteSmallFiles.Margin = new Padding(0); numericUpDown_deleteSmallFiles.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); numericUpDown_deleteSmallFiles.Name = "numericUpDown_deleteSmallFiles"; - numericUpDown_deleteSmallFiles.Size = new Size(92, 22); + numericUpDown_deleteSmallFiles.Size = new Size(78, 22); numericUpDown_deleteSmallFiles.TabIndex = 19; numericUpDown_deleteSmallFiles.Value = new decimal(new int[] { 200, 0, 0, 0 }); // @@ -3831,10 +3803,10 @@ // label_deleteSmallFiles.AutoSize = true; label_deleteSmallFiles.Dock = DockStyle.Fill; - label_deleteSmallFiles.Location = new Point(371, 51); + label_deleteSmallFiles.Location = new Point(314, 51); label_deleteSmallFiles.Margin = new Padding(3); label_deleteSmallFiles.Name = "label_deleteSmallFiles"; - label_deleteSmallFiles.Size = new Size(40, 18); + label_deleteSmallFiles.Size = new Size(33, 18); label_deleteSmallFiles.TabIndex = 20; label_deleteSmallFiles.Text = "MB"; label_deleteSmallFiles.TextAlign = ContentAlignment.MiddleLeft; @@ -3846,7 +3818,7 @@ checkBox_AutoShutdown.Dock = DockStyle.Fill; checkBox_AutoShutdown.Location = new Point(3, 243); checkBox_AutoShutdown.Name = "checkBox_AutoShutdown"; - checkBox_AutoShutdown.Size = new Size(270, 18); + checkBox_AutoShutdown.Size = new Size(227, 18); checkBox_AutoShutdown.TabIndex = 17; checkBox_AutoShutdown.Text = "Nach Fertigstellung aller Downloads"; checkBox_AutoShutdown.UseVisualStyleBackColor = true; @@ -3859,10 +3831,10 @@ comboBox_AutoShutdownAction.DropDownStyle = ComboBoxStyle.DropDownList; comboBox_AutoShutdownAction.FormattingEnabled = true; comboBox_AutoShutdownAction.Items.AddRange(new object[] { "Programm beenden", "Computer herunterfahren" }); - comboBox_AutoShutdownAction.Location = new Point(276, 240); + comboBox_AutoShutdownAction.Location = new Point(233, 240); comboBox_AutoShutdownAction.Margin = new Padding(0); comboBox_AutoShutdownAction.Name = "comboBox_AutoShutdownAction"; - comboBox_AutoShutdownAction.Size = new Size(188, 21); + comboBox_AutoShutdownAction.Size = new Size(165, 21); comboBox_AutoShutdownAction.TabIndex = 45; // // checkBox_completedDownloadNotification_ShowThumbnail @@ -3871,9 +3843,9 @@ tableLayoutPanel_Settings_Downloads.SetColumnSpan(checkBox_completedDownloadNotification_ShowThumbnail, 6); checkBox_completedDownloadNotification_ShowThumbnail.Dock = DockStyle.Fill; checkBox_completedDownloadNotification_ShowThumbnail.Enabled = false; - checkBox_completedDownloadNotification_ShowThumbnail.Location = new Point(26, 171); + checkBox_completedDownloadNotification_ShowThumbnail.Location = new Point(22, 171); checkBox_completedDownloadNotification_ShowThumbnail.Name = "checkBox_completedDownloadNotification_ShowThumbnail"; - checkBox_completedDownloadNotification_ShowThumbnail.Size = new Size(247, 18); + checkBox_completedDownloadNotification_ShowThumbnail.Size = new Size(208, 18); checkBox_completedDownloadNotification_ShowThumbnail.TabIndex = 59; checkBox_completedDownloadNotification_ShowThumbnail.Text = "Vorschaubild anzeigen (NSFW)"; checkBox_completedDownloadNotification_ShowThumbnail.UseVisualStyleBackColor = true; @@ -3887,7 +3859,7 @@ checkBox_RemoveItemsAfter1000Tries.Dock = DockStyle.Fill; checkBox_RemoveItemsAfter1000Tries.Location = new Point(3, 195); checkBox_RemoveItemsAfter1000Tries.Name = "checkBox_RemoveItemsAfter1000Tries"; - checkBox_RemoveItemsAfter1000Tries.Size = new Size(458, 18); + checkBox_RemoveItemsAfter1000Tries.Size = new Size(392, 18); checkBox_RemoveItemsAfter1000Tries.TabIndex = 74; checkBox_RemoveItemsAfter1000Tries.Text = "Angepinnte Elemente nach 1.000 Versuchen löschen"; checkBox_RemoveItemsAfter1000Tries.UseVisualStyleBackColor = true; @@ -3898,7 +3870,7 @@ groupBox_Folder.Dock = DockStyle.Fill; groupBox_Folder.Location = new Point(0, 0); groupBox_Folder.Name = "groupBox_Folder"; - groupBox_Folder.Size = new Size(952, 109); + groupBox_Folder.Size = new Size(820, 109); groupBox_Folder.TabIndex = 53; groupBox_Folder.TabStop = false; groupBox_Folder.Text = "Dateien und Ordner"; @@ -3930,7 +3902,7 @@ tableLayoutPanel_Settings_Folders.RowStyles.Add(new RowStyle(SizeType.Absolute, 22F)); tableLayoutPanel_Settings_Folders.RowStyles.Add(new RowStyle(SizeType.Absolute, 22F)); tableLayoutPanel_Settings_Folders.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); - tableLayoutPanel_Settings_Folders.Size = new Size(946, 88); + tableLayoutPanel_Settings_Folders.Size = new Size(814, 88); tableLayoutPanel_Settings_Folders.TabIndex = 58; // // label_RecordingsFolder @@ -3984,7 +3956,7 @@ txt_ArchiveFolder.Location = new Point(103, 25); txt_ArchiveFolder.Name = "txt_ArchiveFolder"; txt_ArchiveFolder.ReadOnly = true; - txt_ArchiveFolder.Size = new Size(690, 15); + txt_ArchiveFolder.Size = new Size(558, 15); txt_ArchiveFolder.TabIndex = 55; // // txt_RecordingsFolder @@ -3994,13 +3966,13 @@ txt_RecordingsFolder.Location = new Point(103, 3); txt_RecordingsFolder.Name = "txt_RecordingsFolder"; txt_RecordingsFolder.ReadOnly = true; - txt_RecordingsFolder.Size = new Size(690, 15); + txt_RecordingsFolder.Size = new Size(558, 15); txt_RecordingsFolder.TabIndex = 43; // // button_ArchiveFolder // button_ArchiveFolder.Dock = DockStyle.Fill; - button_ArchiveFolder.Location = new Point(796, 22); + button_ArchiveFolder.Location = new Point(664, 22); button_ArchiveFolder.Margin = new Padding(0); button_ArchiveFolder.Name = "button_ArchiveFolder"; button_ArchiveFolder.Size = new Size(150, 22); @@ -4017,7 +3989,7 @@ txt_KeepFolder.Location = new Point(103, 47); txt_KeepFolder.Name = "txt_KeepFolder"; txt_KeepFolder.ReadOnly = true; - txt_KeepFolder.Size = new Size(690, 15); + txt_KeepFolder.Size = new Size(558, 15); txt_KeepFolder.TabIndex = 46; // // txt_Database @@ -4027,13 +3999,13 @@ txt_Database.Location = new Point(103, 69); txt_Database.Name = "txt_Database"; txt_Database.ReadOnly = true; - txt_Database.Size = new Size(690, 15); + txt_Database.Size = new Size(558, 15); txt_Database.TabIndex = 49; // // button_RecordingsFolder // button_RecordingsFolder.Dock = DockStyle.Fill; - button_RecordingsFolder.Location = new Point(796, 0); + button_RecordingsFolder.Location = new Point(664, 0); button_RecordingsFolder.Margin = new Padding(0); button_RecordingsFolder.Name = "button_RecordingsFolder"; button_RecordingsFolder.Size = new Size(150, 22); @@ -4045,7 +4017,7 @@ // button_KeepFolder // button_KeepFolder.Dock = DockStyle.Fill; - button_KeepFolder.Location = new Point(796, 44); + button_KeepFolder.Location = new Point(664, 44); button_KeepFolder.Margin = new Padding(0); button_KeepFolder.Name = "button_KeepFolder"; button_KeepFolder.Size = new Size(150, 22); @@ -4057,7 +4029,7 @@ // button_Database // button_Database.Dock = DockStyle.Fill; - button_Database.Location = new Point(796, 66); + button_Database.Location = new Point(664, 66); button_Database.Margin = new Padding(0); button_Database.Name = "button_Database"; button_Database.Size = new Size(150, 22); @@ -4073,7 +4045,7 @@ tabPage_MainForm.Location = new Point(4, 22); tabPage_MainForm.Name = "tabPage_MainForm"; tabPage_MainForm.Padding = new Padding(3); - tabPage_MainForm.Size = new Size(958, 423); + tabPage_MainForm.Size = new Size(826, 423); tabPage_MainForm.TabIndex = 0; tabPage_MainForm.Tag = ""; tabPage_MainForm.Text = "MainForm"; @@ -4106,7 +4078,7 @@ // splitContainer_Downloads.Panel2 // splitContainer_Downloads.Panel2.Controls.Add(listView_Downloads); - splitContainer_Downloads.Size = new Size(952, 417); + splitContainer_Downloads.Size = new Size(820, 417); splitContainer_Downloads.SplitterDistance = 80; splitContainer_Downloads.SplitterWidth = 5; splitContainer_Downloads.TabIndex = 3; @@ -4117,7 +4089,7 @@ panel_HiddenModeTopPanel.Dock = DockStyle.Fill; panel_HiddenModeTopPanel.Location = new Point(0, 0); panel_HiddenModeTopPanel.Name = "panel_HiddenModeTopPanel"; - panel_HiddenModeTopPanel.Size = new Size(952, 80); + panel_HiddenModeTopPanel.Size = new Size(820, 80); panel_HiddenModeTopPanel.TabIndex = 16; // // button_HiddenMode @@ -4255,7 +4227,7 @@ groupBox_CB_Stats.Anchor = AnchorStyles.Top | AnchorStyles.Right; groupBox_CB_Stats.Controls.Add(tableLayoutPanel_Stats); groupBox_CB_Stats.Font = new Font("Segoe UI", 8.25F, FontStyle.Regular, GraphicsUnit.Point, 0); - groupBox_CB_Stats.Location = new Point(800, 0); + groupBox_CB_Stats.Location = new Point(668, 0); groupBox_CB_Stats.Name = "groupBox_CB_Stats"; groupBox_CB_Stats.Size = new Size(152, 80); groupBox_CB_Stats.TabIndex = 19; @@ -4358,7 +4330,7 @@ listView_Downloads.GridLines = true; listView_Downloads.Location = new Point(0, 0); listView_Downloads.Name = "listView_Downloads"; - listView_Downloads.Size = new Size(952, 332); + listView_Downloads.Size = new Size(820, 332); listView_Downloads.TabIndex = 1; listView_Downloads.TileSize = new Size(192, 108); listView_Downloads.UseCompatibleStateImageBehavior = false; @@ -4877,8 +4849,6 @@ private Button button_Favorites_Search_Next; private Button button_Favorites_Search_Back; private CheckBox checkBox_scanAI_UseThresholdForPredictionLabel; - private ComboBox comboBox_scanAI_ThumbnailSize; - private Label label_ThumbnailSize; private CheckBox checkBox_RemoveItemsAfter1000Tries; private GroupBox groupBox_Settings_Downloads; private TableLayoutPanel tableLayoutPanel_Settings_Main; diff --git a/WinFormsApp1/Form1.cs b/WinFormsApp1/Form1.cs index 820caf8..5a4436f 100644 --- a/WinFormsApp1/Form1.cs +++ b/WinFormsApp1/Form1.cs @@ -89,7 +89,6 @@ namespace WinFormsApp1 private TrackBarScrubber _playerScrub; private TrackBarScrubber _editorScrub; NsfwSpy nsfwSpy = new NsfwSpy(); - Resolution chosenResolution = new Resolution(0, 0); private static readonly HttpClient _httpClient = new() { Timeout = TimeSpan.FromSeconds(30) @@ -139,6 +138,7 @@ namespace WinFormsApp1 bool invalidLikesCheckRunning = false; bool userDraggingTrackbar = false; bool saveInProgress = false; + bool editorResolutionInitialized = false; string recordingFileFormat = ".mp4"; string latestClipboardItem = ""; string[] startParams = Array.Empty(); @@ -11378,9 +11378,20 @@ namespace WinFormsApp1 { try { - if (host.Player != null && host.Player.Duration > 0) return; + var p = host.Player; + if (p != null && + p.Duration > 0 && + p.Video != null && + p.Video.Width > 0 && + p.Video.Height > 0) + { + return; + } + } + catch + { + // ignorieren und weiter pollen } - catch { } await Task.Delay(50); } } @@ -12796,7 +12807,6 @@ namespace WinFormsApp1 } catch { /* defensiv */ } - SetResolutionCombobox(flyleafHost_Editor); flyleafHost_Editor.Player.Pause(); flyleafHost_Editor.Player.PropertyChanged += Editor_PropertyChanged; @@ -12870,39 +12880,6 @@ namespace WinFormsApp1 } } - - private void SetResolutionCombobox(FlyleafLib.Controls.WinForms.FlyleafHost flyleafHost) - { - // Originalauflösung abrufen - int originalWidth = flyleafHost.Player.Video.Width; - int originalHeight = flyleafHost.Player.Video.Height; - - // Prozentuale Auflösungen berechnen - var resolutions = new List - { - $"{originalWidth}x{originalHeight} (100%)", - $"{originalWidth * 0.75}x{originalHeight * 0.75} (75%)", - $"{originalWidth * 0.50}x{originalHeight * 0.50} (50%)", - $"{originalWidth * 0.25}x{originalHeight * 0.25} (25%)" - }; - - // Werte in die ComboBox einfügen - comboBox_scanAI_ThumbnailSize.Items.Clear(); - comboBox_scanAI_ThumbnailSize.Items.AddRange(resolutions.ToArray()); - - // Standardmäßig 100% auswählen - comboBox_scanAI_ThumbnailSize.SelectedIndex = 0; - - if (comboBox_scanAI_ThumbnailSize.SelectedItem != null) - { - string selectedResolution = comboBox_scanAI_ThumbnailSize.SelectedItem.ToString()!; - string[] resolutionParts = selectedResolution.Split(' ')[0].Split('x'); - int selectedWidth = int.Parse(resolutionParts[0]); - int selectedHeight = int.Parse(resolutionParts[1]); - chosenResolution = new Resolution(selectedWidth, selectedHeight); - } - } - private async void Editor_PropertyChanged(object? sender, PropertyChangedEventArgs e) { switch (e.PropertyName) @@ -12924,10 +12901,10 @@ namespace WinFormsApp1 await changeStatus(flyleafHost_Editor, button_Editor_VLC_PlayPause); break; case "Duration": - //label_Editor_VLC_Endtime.Text = (new System.TimeSpan(flyleafHost_Editor.Player.Duration)).ToString(@"hh\:mm\:ss"); - await UpdateLabelText(label_Editor_VLC_Endtime, (new System.TimeSpan(flyleafHost_Editor.Player.Duration)).ToString(@"hh\:mm\:ss")); - //trackBar_Editor_VLC.Maximum = (int)System.TimeSpan.FromTicks(flyleafHost_Editor.Player.Duration).TotalSeconds; - await UpdateTrackbarMaximum(trackBar_Editor_VLC, (int)System.TimeSpan.FromTicks(flyleafHost_Editor.Player.Duration).TotalSeconds); + await UpdateLabelText(label_Editor_VLC_Endtime, + (new System.TimeSpan(flyleafHost_Editor.Player.Duration)).ToString(@"hh\:mm\:ss")); + await UpdateTrackbarMaximum(trackBar_Editor_VLC, + (int)System.TimeSpan.FromTicks(flyleafHost_Editor.Player.Duration).TotalSeconds); break; } } @@ -13892,7 +13869,6 @@ namespace WinFormsApp1 button_editClip_scanAI_Results.Enabled = false; button_AddSplit.Enabled = false; button_SplitFiles.Enabled = false; - comboBox_scanAI_ThumbnailSize.Enabled = false; FileInfo? video = null; if (!flyleafHost_Editor.Player.VideoDecoder.Disposed) @@ -13969,7 +13945,7 @@ namespace WinFormsApp1 if (scanAIisRunning) { - if (Math.Round(fileCount, 0) == Math.Round((video_duration), 0) && generatedImagesMatchVideo(video) && generatedImagesMatchResolution(video)) + if (Math.Round(fileCount, 0) == Math.Round((video_duration), 0) && generatedImagesMatchVideo(video)) { await Task.Run(() => scanAI(video)); } @@ -13980,7 +13956,6 @@ namespace WinFormsApp1 } button_AddSplit.Enabled = true; button_SplitFiles.Enabled = true; - comboBox_scanAI_ThumbnailSize.Enabled = true; } else { @@ -14169,43 +14144,6 @@ namespace WinFormsApp1 return true; } - private bool generatedImagesMatchResolution(FileInfo video) - { - var files = temp_folder!.GetFiles() - .Where(f => f.Name.StartsWith(video.Name + "-") && f.Extension == ".jpg"); - - return files.AsParallel().All(file => - { - try - { - using var fs = new FileStream(file.FullName, FileMode.Open, FileAccess.Read, FileShare.Read); - using var img = System.Drawing.Image.FromStream(fs, false, false); - - return img.Width == chosenResolution.Width && img.Height == chosenResolution.Height; - } - catch - { - return true; - } - }); - } - - - private bool generatedImageMatchesChosenResolution(FileInfo tempFile) - { - if (System.IO.File.Exists(tempFile.FullName)) - { - using (System.Drawing.Image tempImage = System.Drawing.Image.FromFile(tempFile.FullName)) - { - if (tempImage.Width != chosenResolution.Width && tempImage.Height != chosenResolution.Height) - { - return false; - } - } - } - return true; - } - private bool allGeneratedImagesExists(Dictionary results) { foreach (string image in results.Keys) @@ -14319,7 +14257,7 @@ namespace WinFormsApp1 System.TimeSpan time = System.TimeSpan.FromSeconds(seconds - 1); using Process proc = new Process(); proc.StartInfo.FileName = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "ffmpeg.exe"); - proc.StartInfo.Arguments = $"-y -ss {time:hh\\:mm\\:ss} -i \"{video.FullName}\" -vf fps=0.5 -frames:v 1 -q:v 1 -s {chosenResolution.Width}x{chosenResolution.Height} \"{filename}\""; + proc.StartInfo.Arguments = $"-y -ss {time:hh\\:mm\\:ss} -i \"{video.FullName}\" -vf fps=0.5 -frames:v 1 -q:v 1 \"{filename}\""; proc.StartInfo.CreateNoWindow = true; proc.StartInfo.UseShellExecute = false; proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; @@ -14346,7 +14284,7 @@ namespace WinFormsApp1 proc_ffmpeg.StartInfo.CreateNoWindow = true; proc_ffmpeg.StartInfo.UseShellExecute = false; proc_ffmpeg.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; - proc_ffmpeg.StartInfo.Arguments = "-i \"" + video.FullName + "\" -vf fps=1 -q:v 5 -s " + chosenResolution.Width + "x" + chosenResolution.Height + " \"" + System.IO.Path.Combine(temp_folder!.FullName, video.Name + "-%d.jpg") + "\""; + proc_ffmpeg.StartInfo.Arguments = "-i \"" + video.FullName + "\" -vf fps=1 -q:v 5 \"" + System.IO.Path.Combine(temp_folder!.FullName, video.Name + "-%d.jpg") + "\""; proc_ffmpeg.Start(); await proc_ffmpeg.WaitForExitAsync(); } @@ -15998,18 +15936,6 @@ namespace WinFormsApp1 } } - private void comboBox_ThumbnailSize_SelectedIndexChanged(object sender, EventArgs e) - { - if (comboBox_scanAI_ThumbnailSize.SelectedItem != null) - { - string selectedResolution = comboBox_scanAI_ThumbnailSize.SelectedItem.ToString()!; - string[] resolutionParts = selectedResolution.Split(' ')[0].Split('x'); - int selectedWidth = int.Parse(resolutionParts[0]); - int selectedHeight = int.Parse(resolutionParts[1]); - chosenResolution = new Resolution(selectedWidth, selectedHeight); - } - } - private async void comboBox_AudioDevice_SelectedIndexChanged(object sender, EventArgs e) { try diff --git a/WinFormsApp1/Properties/PublishProfiles/FolderProfile.pubxml.user b/WinFormsApp1/Properties/PublishProfiles/FolderProfile.pubxml.user index 82d9411..6ebe0fd 100644 --- a/WinFormsApp1/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/WinFormsApp1/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -2,7 +2,7 @@ - True|2025-11-17T08:40:23.3639389Z||;True|2025-11-13T14:18:25.1199192+01:00||;True|2025-11-10T09:34:59.9819614+01:00||;True|2025-11-10T09:31:52.9893994+01:00||;True|2025-11-07T07:27:09.2818809+01:00||;True|2025-10-28T07:54:43.4835993+01:00||;True|2025-10-28T07:49:48.9691140+01:00||;False|2025-10-28T07:48:40.9934972+01:00||;True|2025-10-28T07:41:40.9364570+01:00||;True|2025-10-28T07:34:30.3216200+01:00||;True|2025-10-27T07:38:02.5307378+01:00||;True|2025-10-24T12:49:33.3476720+02:00||;True|2025-10-24T12:45:56.3409114+02:00||;True|2025-10-24T12:37:06.7053780+02:00||;True|2025-10-24T12:21:52.0779529+02:00||;True|2025-10-24T11:39:34.0711190+02:00||;True|2025-10-24T11:32:06.8084304+02:00||;True|2025-10-24T10:49:19.8451151+02:00||;True|2025-10-24T10:35:58.7368296+02:00||;True|2025-09-22T09:12:21.1738434+02:00||;True|2025-09-22T08:41:28.2063145+02:00||;True|2025-09-11T09:25:26.7487573+02:00||;True|2025-09-05T10:35:16.3265491+02:00||;True|2025-08-13T07:12:45.6489499+02:00||;True|2025-08-08T07:25:38.8935816+02:00||;True|2025-08-08T07:19:07.3835648+02:00||;True|2025-08-06T07:38:46.3420158+02:00||;True|2025-07-16T07:41:34.3557961+02:00||;True|2025-07-15T11:01:48.5566218+02:00||;True|2025-07-07T14:59:37.1240379+02:00||;False|2025-07-07T14:57:39.0613209+02:00||;True|2025-07-07T06:29:53.8853096+02:00||;True|2025-07-06T23:39:21.1017631+02:00||;True|2025-07-06T23:24:37.7792733+02:00||;False|2025-07-06T23:19:52.7135594+02:00||;True|2025-07-06T05:55:51.5281444+02:00||;True|2025-07-06T05:14:26.6590895+02:00||;True|2025-07-06T05:07:43.4335057+02:00||;False|2025-07-06T05:06:42.5442365+02:00||;True|2025-06-27T09:56:34.6625992+02:00||;True|2025-06-27T09:55:33.6399545+02:00||;True|2025-06-27T09:35:44.7409289+02:00||;True|2025-06-27T09:35:11.7955472+02:00||;True|2025-06-27T09:23:44.1433728+02:00||;True|2025-06-27T09:10:34.1084041+02:00||;True|2025-06-27T09:06:49.8646149+02:00||;True|2025-06-27T08:55:00.3110860+02:00||;True|2025-06-27T08:47:18.4476580+02:00||;True|2025-06-11T14:42:56.1622930+02:00||;True|2025-06-11T12:33:26.7419370+02:00||;True|2025-06-11T07:48:58.3963584+02:00||;True|2025-06-11T07:42:53.0277862+02:00||;False|2025-06-11T07:39:31.7470335+02:00||;True|2025-06-03T19:58:59.1868907+02:00||;True|2025-06-03T14:33:55.4389500+02:00||;True|2025-06-03T14:16:34.6963918+02:00||;True|2025-06-03T13:26:58.4834917+02:00||;True|2025-06-02T19:01:22.1305699+02:00||;True|2025-06-02T18:27:48.1629252+02:00||;True|2025-06-02T18:12:01.0339452+02:00||;True|2025-04-25T14:02:07.8958669+02:00||;True|2025-04-24T07:32:32.3215936+02:00||;True|2025-04-23T14:24:27.8051379+02:00||;True|2025-04-22T07:23:33.4961515+02:00||;True|2025-04-22T07:16:30.0019927+02:00||;True|2025-04-17T07:35:19.5003910+02:00||;True|2025-04-16T07:51:44.2105982+02:00||;True|2025-04-15T17:39:22.9354819+02:00||;True|2025-04-15T13:59:38.1491035+02:00||;True|2025-04-15T13:26:09.1911007+02:00||;False|2025-04-15T13:24:05.8283613+02:00||;True|2025-04-15T12:05:53.7928484+02:00||;True|2025-04-14T11:46:19.0213400+02:00||;True|2025-04-14T11:19:57.9110025+02:00||;False|2025-04-14T11:18:49.2970157+02:00||;True|2025-04-14T10:56:19.4313583+02:00||;True|2025-04-14T10:09:57.0472222+02:00||;True|2025-04-11T09:36:58.9281719+02:00||;True|2025-04-11T07:56:15.1143584+02:00||;True|2025-04-10T08:08:20.7849097+02:00||;True|2025-04-09T12:56:06.8510589+02:00||;True|2025-04-09T12:39:21.5101756+02:00||;True|2025-04-09T12:35:02.6306664+02:00||;True|2025-04-09T07:53:00.7307516+02:00||;True|2025-04-07T15:17:24.3233000+02:00||;True|2025-04-04T18:09:18.8844877+02:00||;True|2025-04-03T12:27:18.9922316+02:00||;True|2025-04-03T09:48:50.2518754+02:00||;True|2025-03-31T13:53:07.3910797+02:00||;True|2025-03-31T12:46:18.3638787+02:00||;True|2025-03-31T11:01:06.0182900+02:00||;True|2025-03-31T10:55:30.7399322+02:00||;True|2025-03-31T10:41:08.8975919+02:00||;True|2025-03-31T10:15:29.6315309+02:00||;True|2025-03-31T08:53:20.4511304+02:00||;True|2025-03-29T14:23:34.4407251+01:00||;True|2025-03-29T13:42:06.7348581+01:00||;True|2025-03-28T18:06:37.5932036+01:00||;True|2025-03-27T13:26:13.4721799+01:00||;True|2025-03-27T11:19:53.3525657+01:00||; + True|2025-11-17T09:09:19.4598326Z||;True|2025-11-17T10:01:39.8843258+01:00||;True|2025-11-17T09:40:23.3639389+01:00||;True|2025-11-13T14:18:25.1199192+01:00||;True|2025-11-10T09:34:59.9819614+01:00||;True|2025-11-10T09:31:52.9893994+01:00||;True|2025-11-07T07:27:09.2818809+01:00||;True|2025-10-28T07:54:43.4835993+01:00||;True|2025-10-28T07:49:48.9691140+01:00||;False|2025-10-28T07:48:40.9934972+01:00||;True|2025-10-28T07:41:40.9364570+01:00||;True|2025-10-28T07:34:30.3216200+01:00||;True|2025-10-27T07:38:02.5307378+01:00||;True|2025-10-24T12:49:33.3476720+02:00||;True|2025-10-24T12:45:56.3409114+02:00||;True|2025-10-24T12:37:06.7053780+02:00||;True|2025-10-24T12:21:52.0779529+02:00||;True|2025-10-24T11:39:34.0711190+02:00||;True|2025-10-24T11:32:06.8084304+02:00||;True|2025-10-24T10:49:19.8451151+02:00||;True|2025-10-24T10:35:58.7368296+02:00||;True|2025-09-22T09:12:21.1738434+02:00||;True|2025-09-22T08:41:28.2063145+02:00||;True|2025-09-11T09:25:26.7487573+02:00||;True|2025-09-05T10:35:16.3265491+02:00||;True|2025-08-13T07:12:45.6489499+02:00||;True|2025-08-08T07:25:38.8935816+02:00||;True|2025-08-08T07:19:07.3835648+02:00||;True|2025-08-06T07:38:46.3420158+02:00||;True|2025-07-16T07:41:34.3557961+02:00||;True|2025-07-15T11:01:48.5566218+02:00||;True|2025-07-07T14:59:37.1240379+02:00||;False|2025-07-07T14:57:39.0613209+02:00||;True|2025-07-07T06:29:53.8853096+02:00||;True|2025-07-06T23:39:21.1017631+02:00||;True|2025-07-06T23:24:37.7792733+02:00||;False|2025-07-06T23:19:52.7135594+02:00||;True|2025-07-06T05:55:51.5281444+02:00||;True|2025-07-06T05:14:26.6590895+02:00||;True|2025-07-06T05:07:43.4335057+02:00||;False|2025-07-06T05:06:42.5442365+02:00||;True|2025-06-27T09:56:34.6625992+02:00||;True|2025-06-27T09:55:33.6399545+02:00||;True|2025-06-27T09:35:44.7409289+02:00||;True|2025-06-27T09:35:11.7955472+02:00||;True|2025-06-27T09:23:44.1433728+02:00||;True|2025-06-27T09:10:34.1084041+02:00||;True|2025-06-27T09:06:49.8646149+02:00||;True|2025-06-27T08:55:00.3110860+02:00||;True|2025-06-27T08:47:18.4476580+02:00||;True|2025-06-11T14:42:56.1622930+02:00||;True|2025-06-11T12:33:26.7419370+02:00||;True|2025-06-11T07:48:58.3963584+02:00||;True|2025-06-11T07:42:53.0277862+02:00||;False|2025-06-11T07:39:31.7470335+02:00||;True|2025-06-03T19:58:59.1868907+02:00||;True|2025-06-03T14:33:55.4389500+02:00||;True|2025-06-03T14:16:34.6963918+02:00||;True|2025-06-03T13:26:58.4834917+02:00||;True|2025-06-02T19:01:22.1305699+02:00||;True|2025-06-02T18:27:48.1629252+02:00||;True|2025-06-02T18:12:01.0339452+02:00||;True|2025-04-25T14:02:07.8958669+02:00||;True|2025-04-24T07:32:32.3215936+02:00||;True|2025-04-23T14:24:27.8051379+02:00||;True|2025-04-22T07:23:33.4961515+02:00||;True|2025-04-22T07:16:30.0019927+02:00||;True|2025-04-17T07:35:19.5003910+02:00||;True|2025-04-16T07:51:44.2105982+02:00||;True|2025-04-15T17:39:22.9354819+02:00||;True|2025-04-15T13:59:38.1491035+02:00||;True|2025-04-15T13:26:09.1911007+02:00||;False|2025-04-15T13:24:05.8283613+02:00||;True|2025-04-15T12:05:53.7928484+02:00||;True|2025-04-14T11:46:19.0213400+02:00||;True|2025-04-14T11:19:57.9110025+02:00||;False|2025-04-14T11:18:49.2970157+02:00||;True|2025-04-14T10:56:19.4313583+02:00||;True|2025-04-14T10:09:57.0472222+02:00||;True|2025-04-11T09:36:58.9281719+02:00||;True|2025-04-11T07:56:15.1143584+02:00||;True|2025-04-10T08:08:20.7849097+02:00||;True|2025-04-09T12:56:06.8510589+02:00||;True|2025-04-09T12:39:21.5101756+02:00||;True|2025-04-09T12:35:02.6306664+02:00||;True|2025-04-09T07:53:00.7307516+02:00||;True|2025-04-07T15:17:24.3233000+02:00||;True|2025-04-04T18:09:18.8844877+02:00||;True|2025-04-03T12:27:18.9922316+02:00||;True|2025-04-03T09:48:50.2518754+02:00||;True|2025-03-31T13:53:07.3910797+02:00||;True|2025-03-31T12:46:18.3638787+02:00||;True|2025-03-31T11:01:06.0182900+02:00||;True|2025-03-31T10:55:30.7399322+02:00||;True|2025-03-31T10:41:08.8975919+02:00||;True|2025-03-31T10:15:29.6315309+02:00||;True|2025-03-31T08:53:20.4511304+02:00||;True|2025-03-29T14:23:34.4407251+01:00||;True|2025-03-29T13:42:06.7348581+01:00||;True|2025-03-28T18:06:37.5932036+01:00||; \ No newline at end of file