From fd49608ec2a3ec997a5773db9554db785547accd Mon Sep 17 00:00:00 2001 From: hama3254 <52826614+hama3254@users.noreply.github.com> Date: Fri, 30 Sep 2022 12:55:45 +0200 Subject: [PATCH] fix metadata CR-Beta fix metadata CR-Beta --- .vs/Crunchyroll Downloader/v17/.suo | Bin 153600 -> 155136 bytes Crunchyroll Downloader/Main.vb | 8 +++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.vs/Crunchyroll Downloader/v17/.suo b/.vs/Crunchyroll Downloader/v17/.suo index 71357843c1e2b797c07cdfb833bc5bdaff534122..d12677bcb07ae9bf1cf4ecd220c01eb1274884a9 100644 GIT binary patch delta 5729 zcmeI04^&iD9>?GB%>!nJK?fZE={SruARr(hAtJ~iNUbD-vHr*Sf1(tS1;u|sg=MR! zWUhI&%*A2PxZCzenYLHv(NWveW~bEFQ>|%Q>sGsEYp%4}wzA(l3~IaDmeo1C=j`Qt z=HBTp??1*d) zdf=wO7mmI~`Ka|2vgPt}8qWIUTa{24m?tWZB3Y}Zz5O;^4ps1j6CsLlT&TvH=VHdZ06@&u^*Z_om1adzxS&~AeC=|p^lQ0)C;6J)5!(-xo zEywusMC4(R-BI;N{hxelF!Fu-M&bQCQOe?YEA{`006z^FKEsSjwSNe(dY+@He z53&PtDwVUouwotQVT`@9VR(_K_7hHEa$g8qfxEa{BQ-?HY}xQ4t?($}L1JKb-gHPu z<8USX)O)Klxc>;7+nn(WQp7qI4;5&H;u?U&yY^5Nw{%mL!xG2R)9;%TawzPZ74WF5BNE70nzYrUoOfb{R-Dl`fN}8@}0ii?aQA*{;aR8 zB7Y7%4|ahUz;3V?42;;{zfXd5i;Mj*UhJwI5quB@(-kd-4(vgO)Z;Lo0Pld4;1qZl zh;<}JIF0;|;C=7`_zOBl#h*p#Q*aLa6`Tis;4|b~kb7M0t{XQrdoEom$fb;pJj>A_))IgFs*aL0||N3PQj@tNwnm z8w?lo2_Aux8H@xLkO1r0AhE&*(=Z|L&L%54ifzik_EBur4uc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17xKhXuQxlO_Lg`#iqO9ZoUB|u)QD-k4N zON2b3p9r^$Gf9vj=S>C|w7Mq24{PZ@4kDrn9I7;y!m`9(BV@G*08>4Ni*#d8sGgjW zo|KW29$%fBkrtnloK_vbJT-Z8e3B_SrLwYW%H-uM)4kcCNJ@njqWf-G+hjqzOmpBA ze$u(F7y2gH|Klnbrc^j3HWxsFuvI~hY|8~3v}EGsy!Zr!iiq`)C70#FK@jVT!7Q7z zp%FyV0f-l-{h$)fGvJJPY#OA9;wQkR`HfVVX~N$(6lz7%cIc*hQ$*(;I3Zr01{uQN z47H+pJ|vQ=6QcTV*exoz<6q|{$Pq8>gl$6{_EFI?6D|6d1}()Pxy$m4;iP=>*RTQn zfj&UE(}GEk3cI>RS}sD(Q@=QcxQ|#ZG>qeZXdkqwqHj3+a+P%2*12(=X=O+ zJ_0MnEtE%4M?=b+91tnRCft1JcpDZ^TVr|1T3dZztX$%N!|-+2Al4SaHPN>p#>#3d zd@hN$EVw3L+W}hD_pnNa15mFOr&D2^*gh3%yjDM0W%jR1P!D(uucx4n-Y^1;5GL<= z3YG(RMMm%l!*cW>bSsZc+*FewTuq=9T}hBV=H8POYBK(?Au@O#e(S2l?_L&k-ey*U zuwYS+@b84D#ru1q;J*#}FA|NfUoEQ+!g`hPzY8M8p2M)>e{Ly%KQd}`Z>W}|;Pu>5 zkkn%96(|&IawUUY{SNF_wRGe3I6i?c(HJhN#oEqX~3TV8_@cUB=BG16-B`Z0)-cSK0F zik1LLCu&W2@Drv>XSBk836}5*Q;=L+DD6;*xmTc$yiAC^Bb#ccp)&h1$QIdUQk1YC gg-q&H&kr^P$=#V!8t~ 0 Then If MergeSubs = True And SubsOnly = False Then @@ -2089,7 +2087,7 @@ Public Class Main For i As Integer = 0 To SoftSubs2.Count - 1 Debug.WriteLine(SoftSubs2(i)) If SoftSubs2(i) = DefaultSubCR Then - DispositionIndex = i + IndexMoveI + DispositionIndex = i End If Dim SoftSub As String() = VideoJson.Split(New String() {Chr(34) + "locale" + Chr(34) + ":" + Chr(34) + ConvertCC(SoftSubs2(i)) + Chr(34) + "," + Chr(34) + "url" + Chr(34) + ":" + Chr(34)}, System.StringSplitOptions.RemoveEmptyEntries) Dim SoftSub_2 As String() = SoftSub(1).Split(New [Char]() {Chr(34)}) @@ -2101,9 +2099,9 @@ Public Class Main End If SoftSubMergeMaps = SoftSubMergeMaps + " -map " + (i + IndexMoveMap).ToString If SoftSubMergeMetatata = Nothing Then - SoftSubMergeMetatata = " -metadata:s:s:" + (i + IndexMoveI).ToString + " language=" + CCtoMP4CC(SoftSubs2(i)) + " -metadata:s:s:" + (i + IndexMoveI).ToString + " title=" + Chr(34) + HardSubValuesToDisplay(SoftSubs2(i)) + Chr(34) + " -metadata:s:s:" + (i + IndexMoveI).ToString + " handler_name=" + Chr(34) + HardSubValuesToDisplay(SoftSubs2(i)) + Chr(34) + SoftSubMergeMetatata = " -metadata:s:s:" + i.ToString + " language=" + CCtoMP4CC(SoftSubs2(i)) + " -metadata:s:s:" + i.ToString + " title=" + Chr(34) + HardSubValuesToDisplay(SoftSubs2(i)) + Chr(34) + " -metadata:s:s:" + i.ToString + " handler_name=" + Chr(34) + HardSubValuesToDisplay(SoftSubs2(i)) + Chr(34) Else - SoftSubMergeMetatata = SoftSubMergeMetatata + " -metadata:s:s:" + (i + IndexMoveI).ToString + " language=" + CCtoMP4CC(SoftSubs2(i)) + " -metadata:s:s:" + (i + IndexMoveI).ToString + " title=" + Chr(34) + HardSubValuesToDisplay(SoftSubs2(i)) + Chr(34) + " -metadata:s:s:" + (i + IndexMoveI).ToString + " handler_name=" + Chr(34) + HardSubValuesToDisplay(SoftSubs2(i)) + Chr(34) + SoftSubMergeMetatata = SoftSubMergeMetatata + " -metadata:s:s:" + i.ToString + " language=" + CCtoMP4CC(SoftSubs2(i)) + " -metadata:s:s:" + i.ToString + " title=" + Chr(34) + HardSubValuesToDisplay(SoftSubs2(i)) + Chr(34) + " -metadata:s:s:" + i.ToString + " handler_name=" + Chr(34) + HardSubValuesToDisplay(SoftSubs2(i)) + Chr(34) End If Next If DispositionIndex = Nothing Then