From 848879aee5407dfeddfdefc174a38d5248f3041c Mon Sep 17 00:00:00 2001 From: hama3254 <52826614+hama3254@users.noreply.github.com> Date: Tue, 10 Jan 2023 17:04:41 +0100 Subject: [PATCH] fixes small change for #655 --- .vs/Crunchyroll Downloader/v17/.suo | Bin 185856 -> 185856 bytes Crunchyroll Downloader/Main.vb | 9 ++++-- .../My Project/AssemblyInfo.vb | 4 +-- Crunchyroll Downloader/einstellungen.vb | 27 +++++++++++------- 4 files changed, 24 insertions(+), 16 deletions(-) diff --git a/.vs/Crunchyroll Downloader/v17/.suo b/.vs/Crunchyroll Downloader/v17/.suo index 75215cb9d7e5ef0a7a17cf6b505b7211eaf02b91..37d1d8c488afae10f03da6a717100d228f87aecb 100644 GIT binary patch delta 8181 zcmeI130zZGzQ^zXBtQZY10steM2Ub%FbN?91r3|EbuG1OtqYOGWq3*vd@fX?bt*1( zG{<_Z&ozULuMaoka9i7Itj@T+y3R~rYt?FHw4(K6t<>eUF#nSTj8^;U%9 zMr1sK^|`LzXlEedNGie`(h);BG78Zmosj8B9MTOjBmEE+qDR6IH4=+FgY-m_1ffc} zfksy(6!As;kqCs>JP|`B5|0=>KHmCBq&pIY1S8SNScKn`fMEbK07*x_M_(3(ywR^< z*zED~yfIk6a1|ZXkjXeU+}U;=Lm#(OF!b}-JU+(D=JC-O&qTgJh9gBtFJuB@K^l=h z2+v#K2|Ig2g?C|7(fKQ+1UZ5XL-@It($!sQf$cq^rCRCr!*rF8HV z%KhGx%i~X13d*oeDrueq9+yg>SHVB4Qh2%auNfU}ibc{`A_%nF-z3waq34k!{v)Nl zuT&KfE*p-XvD|A8h$k--+HyIRmIPS;3wH))%LOhZK6mU?9jK|6NPT#Pf@4nLZ+#q* z@rgi>%+b(_Ud!xS0v8>bEBt_!&L)90G@{8Cnk@$f-pn_}_5vK`k=wu#84^dHo~V*Z zsX9q5UFdxyEl)Znn~$E?9`*KFULUI_R2>y9hsBt*#5-9r0*9mrt{{Hd)Unha)P0mi+o?Qh?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;aI2sT_E}qKMlL5zMSh?s00h?!Eqa5)Q%?d6qB@&%IOe%sWoV5_0fgs8A$i3xD9s(R>HdM$>7)eR1M9;1Y~J zJg@T;J06fXm=ipD$4qeE^e>}KpEA#Dv8h7-0j53;BUp7k1he!+63G637DiT| z1r0qMAH*)#!)r{_02-z_hjrhf;1Z71;9-O0~ z0cN_0C9d-lb<1HtJZGG?g3_KTR)U(d6YBj;CZ>IuCv= zgr4i`Y*btY1+e^cILr>mafap zKSNd2{S}hHfqPCJtl3iZ;{w+U(ls?cg=a?P7W5nN)3W=kKmUqrkAD>SwGWT!H>G&W z$Y82#kjjr9w6xTZt-l6tl4g;jmiJ$S7-flf^A9J!F{((VDp#cp=`|rdDnzAL*$7SW@up2U> zgxxIs1}tjtEn|-NVU)fR2;bh!c=T}(*!hG)J)ntu#~V$~WF)XZ+mRf0)}Bmbo4S!k zewgD&Jo7bK-M)WBVj;P`&p6kL=)r{_f159d z8HM>1#zGlO=uW2d80;Q;Lt5gJKJ+~;!gv;KO>!Cb_%uGqKEQg~kb320{})iJjj-6< zn--O5%s19=7UmY_a)tDOZRWvl>v_gNzo^POI*jm6ySS9_MZ36^?L^kLSt6VNFVT3? zhHV+FUPNSUXD>35@ELI*8jLvCYygT;2Yb^CKie4A zam7M@GBaO6ri~UG*JtzplyEmcEloC`h|Fz~1}5bfP8)fs6Mse*lzP+J>uyw28ps^w z#I3HLXh0uFL{2eDk@!POf-)&KJY1<%#m;?9(RLEE-uVJi#1{zLmRm1A89TMyJ?Wuk zUc4_MYRhtw!^1IOQWO9E5+|dO+yVKDoth`z$DU-~OD(T_xCR9AP@Et4KRc+z7n8GMr{pv{&1B95;k8G&{8?+rOH`& - - + + diff --git a/Crunchyroll Downloader/einstellungen.vb b/Crunchyroll Downloader/einstellungen.vb index 5ca462d..d48f179 100644 --- a/Crunchyroll Downloader/einstellungen.vb +++ b/Crunchyroll Downloader/einstellungen.vb @@ -204,26 +204,29 @@ Public Class Einstellungen AAuto.Checked = True End If - CB_CR_Harsubs.Items.Clear() + Try + CB_CR_Harsubs.Items.Clear() + For i As Integer = 0 To Main.SubSpracheEnum.Count - 1 + CB_CR_Harsubs.Items.Add(Main.SubSpracheEnum(i).Name) + If Main.SubSpracheEnum(i).CR_Value = Main.SubSprache.CR_Value Then + 'MsgBox(CB_CR_Harsubs.Items.Count.ToString) + 'MsgBox(i.ToString) + CB_CR_Harsubs.SelectedIndex = i + 'Exit For + End If - For i As Integer = 0 To Main.SubSpracheEnum.Count - 1 - CB_CR_Harsubs.Items.Add(Main.SubSpracheEnum(i).Name) - If Main.SubSpracheEnum(i).CR_Value = Main.SubSprache.CR_Value Then - 'MsgBox(CB_CR_Harsubs.Items.Count.ToString) - 'MsgBox(i.ToString) - CB_CR_Harsubs.SelectedIndex = i - 'Exit For - End If + Next + Catch ex As Exception + MsgBox(ex.ToString) + End Try - Next DD_Season_Prefix.Text = Main.Season_Prefix DD_Episode_Prefix.Text = Main.Episode_Prefix - NumericUpDown2.Value = Main.ErrorTolerance NumericUpDown1.Value = Main.MaxDL TextBox1.Text = Main.Startseite @@ -257,6 +260,7 @@ Public Class Einstellungen FFMPEG_CommandP4.Text = "-c:a copy -bsf:a aac_adtstoasc" End If + If FFMPEG_CommandP1.Text = "-c:v libsvtav1" And FFMPEG_CommandP2.Text = "[no Preset]" Then FFMPEG_CommandP2.Enabled = False FFMPEG_CommandP3.Enabled = True @@ -461,6 +465,7 @@ Public Class Einstellungen Next + If CR_SoftSubDefault.SelectedItem.ToString = "English" Then Main.DefaultSubCR = "en-US" My.Settings.DefaultSubCR = Main.DefaultSubCR