mirror of
https://github.com/hama3254/Crunchyroll-Downloader-v3.0.git
synced 2025-02-03 18:52:34 +01:00
apply error handling to audio only or merged audio
apply error handling to audio only or merged audio #861
This commit is contained in:
parent
cb9957daf9
commit
e2444a26b4
Binary file not shown.
@ -1156,6 +1156,8 @@ Public Class Main
|
||||
|
||||
#Region "Check for dub override"
|
||||
|
||||
Try
|
||||
|
||||
|
||||
Dim OverrideDubJObject As JObject = JObject.Parse(VideoJson)
|
||||
Dim OverrideDubData As List(Of JToken) = OverrideDubJObject.Children().ToList
|
||||
@ -1214,6 +1216,9 @@ Public Class Main
|
||||
|
||||
End If
|
||||
|
||||
Catch ex As Exception
|
||||
|
||||
End Try
|
||||
' MsgBox("Trigger off!")
|
||||
|
||||
|
||||
@ -1296,7 +1301,9 @@ Public Class Main
|
||||
If CR_Streams.Item(i).subLang = CR_HardSubLang Then
|
||||
CR_URI_Master.Add(CR_Streams.Item(i).Url)
|
||||
'MsgBox(CR_Streams.Item(i).Format + CR_Streams.Item(i).Url)
|
||||
ElseIf CR_Streams.Item(i).subLang = "" And CR_audio_locale IsNot "ja-JP" And DubMode = True Then 'nothing/raw
|
||||
ElseIf CR_Streams.Item(i).subLang = "" And CR_audio_locale IsNot "ja-JP" And DubMode = True Then 'nothing/raw ohne subs
|
||||
RawStream.Add(CR_Streams.Item(i).Url)
|
||||
ElseIf CR_Streams.Item(i).subLang = "null" And CR_audio_locale IsNot "ja-JP" And DubMode = True Then 'nothing/raw mit 'null' tagged
|
||||
RawStream.Add(CR_Streams.Item(i).Url)
|
||||
End If
|
||||
Next
|
||||
@ -1697,13 +1704,8 @@ Public Class Main
|
||||
Grapp_RDY = True
|
||||
Exit Sub
|
||||
|
||||
ElseIf DownloadScope = DownloadScopeEnum.AudioOnly Or MergeAudio = True Then
|
||||
|
||||
If CBool(InStr(str, My.Settings.AudioOnlyReso)) Then
|
||||
ElseIf (DownloadScope = DownloadScopeEnum.AudioOnly Or MergeAudio = True) AndAlso CBool(InStr(str, My.Settings.AudioOnlyReso)) = True Then
|
||||
ResoUsed = My.Settings.AudioOnlyReso.Replace(",", "")
|
||||
ElseIf CBool(InStr(str, "x" + Reso.ToString + ",")) Then
|
||||
ResoUsed = "x" + Reso.ToString
|
||||
End If
|
||||
|
||||
ElseIf CBool(InStr(str, "x" + Reso.ToString + ",")) Then
|
||||
ResoUsed = "x" + Reso.ToString
|
||||
|
@ -32,6 +32,6 @@ Imports System.Runtime.InteropServices
|
||||
' übernehmen, indem Sie "*" eingeben:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("3.16.1")>
|
||||
<Assembly: AssemblyFileVersion("3.16.1")>
|
||||
<Assembly: AssemblyVersion("3.16.2")>
|
||||
<Assembly: AssemblyFileVersion("3.16.2")>
|
||||
<Assembly: NeutralResourcesLanguage("en")>
|
||||
|
Loading…
x
Reference in New Issue
Block a user