mirror of
https://github.com/hama3254/Crunchyroll-Downloader-v3.0.git
synced 2024-11-10 18:25:05 +01:00
fix funimation merged subs
fix funimation merged subs
This commit is contained in:
parent
9f6cdbb705
commit
924642371e
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1323,6 +1323,12 @@ Public Class Main
|
|||||||
Return "Español (España)"
|
Return "Español (España)"
|
||||||
ElseIf HardSub = Chr(34) + "jaJP" + Chr(34) Then
|
ElseIf HardSub = Chr(34) + "jaJP" + Chr(34) Then
|
||||||
Return "Japanese"
|
Return "Japanese"
|
||||||
|
ElseIf HardSub = Chr(34) + "en" + Chr(34) Then
|
||||||
|
Return "English"
|
||||||
|
ElseIf HardSub = Chr(34) + "pt" + Chr(34) Then
|
||||||
|
Return "Português (Brasil)"
|
||||||
|
ElseIf HardSub = Chr(34) + "es" + Chr(34) Then
|
||||||
|
Return "Español (LA)"
|
||||||
Else
|
Else
|
||||||
Return CB_SuB_Nothing
|
Return CB_SuB_Nothing
|
||||||
End If
|
End If
|
||||||
@ -1945,25 +1951,11 @@ Public Class Main
|
|||||||
For i As Integer = 0 To ListView1.Items.Count - 1
|
For i As Integer = 0 To ListView1.Items.Count - 1
|
||||||
ItemList(i).KillRunningTask()
|
ItemList(i).KillRunningTask()
|
||||||
Next
|
Next
|
||||||
|
|
||||||
'Try
|
|
||||||
' tcpListener.Stop()
|
|
||||||
|
|
||||||
'Catch ex As Exception
|
|
||||||
'End Try
|
|
||||||
|
|
||||||
RemoveTempFiles()
|
RemoveTempFiles()
|
||||||
Me.Close()
|
Me.Close()
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
|
|
||||||
'Try
|
|
||||||
|
|
||||||
' tcpListener.Stop()
|
|
||||||
'Catch ex As Exception
|
|
||||||
' MsgBox(ex.ToString)
|
|
||||||
'End Try
|
|
||||||
|
|
||||||
Timer3.Enabled = False
|
Timer3.Enabled = False
|
||||||
RemoveTempFiles()
|
RemoveTempFiles()
|
||||||
|
|
||||||
@ -2782,12 +2774,17 @@ Public Class Main
|
|||||||
|
|
||||||
If UsedSubs.Count > 0 Then
|
If UsedSubs.Count > 0 Then
|
||||||
If MergeSubstoMP4 = True Then
|
If MergeSubstoMP4 = True Then
|
||||||
Dim DispositionIndex As Integer
|
Dim DispositionIndex As Integer = 999
|
||||||
|
Dim LastMerged As String = Nothing
|
||||||
For i As Integer = 0 To UsedSubs.Count - 1
|
For i As Integer = 0 To UsedSubs.Count - 1
|
||||||
Dim SoftSub As String() = UsedSubs.Item(i).Split(New String() {" , "}, System.StringSplitOptions.RemoveEmptyEntries)
|
Dim SoftSub As String() = UsedSubs.Item(i).Split(New String() {" , "}, System.StringSplitOptions.RemoveEmptyEntries)
|
||||||
Debug.WriteLine(SoftSub(1))
|
If CCtoMP4CC(SoftSub(1)) = LastMerged Then
|
||||||
|
Continue For
|
||||||
|
Else
|
||||||
|
LastMerged = CCtoMP4CC(SoftSub(1))
|
||||||
|
End If
|
||||||
If DefaultSubFunimation = SoftSub(1) Then
|
If DefaultSubFunimation = SoftSub(1) Then
|
||||||
Debug.WriteLine(SoftSub(1))
|
'Debug.WriteLine(SoftSub(1))
|
||||||
DispositionIndex = i
|
DispositionIndex = i
|
||||||
End If
|
End If
|
||||||
If SoftSubMergeURLs = Nothing Then
|
If SoftSubMergeURLs = Nothing Then
|
||||||
@ -2807,9 +2804,8 @@ Public Class Main
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
Next
|
Next
|
||||||
If DispositionIndex = Nothing Then
|
If DispositionIndex < 999 Then
|
||||||
Else
|
SoftSubMergeMetatata = SoftSubMergeMetatata + " -disposition:s:" + DispositionIndex.ToString + " default"
|
||||||
SoftSubMergeMetatata = SoftSubMergeMetatata + " -disposition:s:" + DispositionIndex + " default"
|
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
For i As Integer = 0 To UsedSubs.Count - 1
|
For i As Integer = 0 To UsedSubs.Count - 1
|
||||||
|
@ -32,6 +32,6 @@ Imports System.Runtime.InteropServices
|
|||||||
' übernehmen, indem Sie "*" eingeben:
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("3.7.5")>
|
<Assembly: AssemblyVersion("3.7.5.1")>
|
||||||
<Assembly: AssemblyFileVersion("3.7.5")>
|
<Assembly: AssemblyFileVersion("3.7.5.1")>
|
||||||
<Assembly: NeutralResourcesLanguage("en")>
|
<Assembly: NeutralResourcesLanguage("en")>
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user