From bd2eacac4d975c2b0800ff01d5b359fddc663a00 Mon Sep 17 00:00:00 2001 From: hama3254 <52826614+hama3254@users.noreply.github.com> Date: Sun, 1 Jan 2023 20:47:09 +0100 Subject: [PATCH] new naming sytem #645 new naming sytem #645 --- .vs/Crunchyroll Downloader/v17/.suo | Bin 179712 -> 178176 bytes Crunchyroll Downloader/Anime_Add.vb | 2 +- Crunchyroll Downloader/App.config | 3 + Crunchyroll Downloader/Main.vb | 181 +- .../My Project/AssemblyInfo.vb | 4 +- .../My Project/Resources.Designer.vb | 2025 ++++++++--------- .../My Project/Settings.Designer.vb | 12 + .../My Project/Settings.settings | 3 + .../einstellungen.Designer.vb | 254 ++- Crunchyroll Downloader/einstellungen.vb | 94 +- 10 files changed, 1424 insertions(+), 1154 deletions(-) diff --git a/.vs/Crunchyroll Downloader/v17/.suo b/.vs/Crunchyroll Downloader/v17/.suo index 389da81e65fdd2ed682bf8aaae70492fc3a88525..a0686c00e0f082be46496e262fadb62c63577b20 100644 GIT binary patch delta 8742 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 delta 8704 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 0 + + Unused + diff --git a/Crunchyroll Downloader/Main.vb b/Crunchyroll Downloader/Main.vb index 73ed780..44911ba 100644 --- a/Crunchyroll Downloader/Main.vb +++ b/Crunchyroll Downloader/Main.vb @@ -131,7 +131,7 @@ Public Class Main Public Funimation_Grapp_RDY As Boolean = True Public Grapp_non_cr_RDY As Boolean = True Public Grapp_Abord As Boolean = False - Public CR_NameMethode As Integer = 0 + Public NameBuilder As String = "" Public LeadingZero As Integer = 1 Public MaxDL As Integer Public ResoNotFoundString As String @@ -502,8 +502,20 @@ Public Class Main MaxDL = My.Settings.SL_DL - CR_NameMethode = My.Settings.CR_NameMethode - + ' + If My.Settings.NameTemplate = "Unused" Then 'convert old stlye + If My.Settings.CR_NameMethode = 0 Then + NameBuilder = "AnimeTitle;Season;EpisodeNR;" + ElseIf My.Settings.CR_NameMethode = 1 Then + NameBuilder = "AnimeTitle;Season;EpisodeName;" + ElseIf My.Settings.CR_NameMethode = 2 Then + NameBuilder = "AnimeTitle;Season;EpisodeNR;EpisodeName;" + ElseIf My.Settings.CR_NameMethode = 3 Then + NameBuilder = "AnimeTitle;Season;EpisodeName;EpisodeNR;" + End If + Else + NameBuilder = My.Settings.NameTemplate + End If ErrorTolerance = My.Settings.ErrorTolerance @@ -1241,7 +1253,8 @@ Public Class Main CR_Anime_Staffel_int = CR_season_number - If TextBox2_Text = Nothing Or TextBox2_Text = "Use Custom Name" Then + + If TextBox2_Text = Nothing Or TextBox2_Text = "Use Custom Name" Or CBool(InStr(TextBox2_Text, "++")) = True Then If Season_Prefix = "[default season prefix]" Then @@ -1283,43 +1296,83 @@ Public Class Main End If - If CR_NameMethode = 0 Then 'nummer - If CR_season_number = Nothing And CR_episode = Nothing Then - CR_FilenName = CR_series_title + " " + CR_title - ElseIf CR_episode = Nothing Then - CR_FilenName = CR_series_title + " " + CR_title - ElseIf CR_season_number = Nothing Then - CR_FilenName = CR_series_title + " " + CR_episode - Else - CR_FilenName = CR_series_title + " " + CR_season_number + " " + CR_episode - End If - ElseIf CR_NameMethode = 1 Then 'name - If CR_season_number = Nothing Then - CR_FilenName = CR_series_title + " " + CR_title - Else - CR_FilenName = CR_series_title + " " + CR_season_number + " " + CR_title - End If - ElseIf CR_NameMethode = 2 Then ' nummer - name - If CR_season_number = Nothing And CR_episode = Nothing Then - CR_FilenName = CR_series_title + " " + CR_title - ElseIf CR_season_number = Nothing Then - CR_FilenName = CR_series_title + " " + CR_episode + " " + CR_title - Else - CR_FilenName = CR_series_title + " " + CR_season_number + " " + CR_episode + " " + CR_title - End If - ElseIf CR_NameMethode = 3 Then ' name - nummer - If CR_season_number = Nothing And CR_episode = Nothing Then - CR_FilenName = CR_series_title + " " + CR_title - ElseIf CR_season_number = Nothing Then - CR_FilenName = CR_series_title + " " + CR_title + " " + CR_episode - Else - CR_FilenName = CR_series_title + " " + CR_title + " " + CR_season_number + " " + CR_episode + Dim NameParts As String() = NameBuilder.Split(New String() {";"}, System.StringSplitOptions.RemoveEmptyEntries) + + For i As Integer = 0 To NameParts.Count - 1 + + If NameParts(i) = "AnimeTitle" Then + CR_FilenName = CR_FilenName + " " + CR_series_title + ElseIf NameParts(i) = "Season" Then + CR_FilenName = CR_FilenName + " " + CR_season_number + ElseIf NameParts(i) = "EpisodeNR" Then + CR_FilenName = CR_FilenName + " " + CR_episode + ElseIf NameParts(i) = "EpisodeName" Then + CR_FilenName = CR_FilenName + " " + CR_title + ElseIf NameParts(i) = "AnimeDub" Then + CR_FilenName = CR_FilenName + " RepDub" + ElseIf NameParts(i) = "AnimeSub" Then + CR_FilenName = CR_FilenName + " RepSub" End If + + Next + + + 'If CR_NameMethode = 0 Then 'nummer + ' If CR_season_number = Nothing And CR_episode = Nothing Then + ' CR_FilenName = CR_series_title + " " + CR_title + ' ElseIf CR_episode = Nothing Then + ' CR_FilenName = CR_series_title + " " + CR_title + ' ElseIf CR_season_number = Nothing Then + ' CR_FilenName = CR_series_title + " " + CR_episode + ' Else + ' CR_FilenName = CR_series_title + " " + CR_season_number + " " + CR_episode + ' End If + 'ElseIf CR_NameMethode = 1 Then 'name + ' If CR_season_number = Nothing Then + ' CR_FilenName = CR_series_title + " " + CR_title + ' Else + ' CR_FilenName = CR_series_title + " " + CR_season_number + " " + CR_title + ' End If + 'ElseIf CR_NameMethode = 2 Then ' nummer - name + ' If CR_season_number = Nothing And CR_episode = Nothing Then + ' CR_FilenName = CR_series_title + " " + CR_title + ' ElseIf CR_season_number = Nothing Then + ' CR_FilenName = CR_series_title + " " + CR_episode + " " + CR_title + ' Else + ' CR_FilenName = CR_series_title + " " + CR_season_number + " " + CR_episode + " " + CR_title + ' End If + 'ElseIf CR_NameMethode = 3 Then ' name - nummer + ' If CR_season_number = Nothing And CR_episode = Nothing Then + ' CR_FilenName = CR_series_title + " " + CR_title + ' ElseIf CR_season_number = Nothing Then + ' CR_FilenName = CR_series_title + " " + CR_title + " " + CR_episode + ' Else + ' CR_FilenName = CR_series_title + " " + CR_title + " " + CR_season_number + " " + CR_episode + ' End If + 'End If + + + If CBool(InStr(TextBox2_Text, "++")) = True Then + Dim Backup_CR_FilenName As String = CR_FilenName + Try + Dim AddDef As String = "CRD" + Dim TestString As String = AddDef + TextBox2_Text + AddDef + Dim PrePost As String() = TestString.Split(New String() {"++"}, System.StringSplitOptions.RemoveEmptyEntries) + CR_FilenName = PrePost(0) + CR_FilenName + PrePost(1) + CR_FilenName = CR_FilenName.Replace(AddDef, "") + Catch ex As Exception + CR_FilenName = Backup_CR_FilenName + End Try End If + + + + + #End Region Else - CR_FilenName = RemoveExtraSpaces(String.Join(" ", TextBox2_Text.Split(invalids, StringSplitOptions.RemoveEmptyEntries)).TrimEnd("."c)).Replace(Chr(34), "").Replace("\", "").Replace("/", "") 'System.Text.RegularExpressions.Regex.Replace(TextBox2_Text, "[^\w\\-]", " ")) + CR_FilenName = RemoveExtraSpaces(String.Join(" ", TextBox2_Text.Split(invalids, StringSplitOptions.RemoveEmptyEntries)).TrimEnd("."c)).Replace(Chr(34), "").Replace("\", "").Replace("/", "") 'System.Text.RegularExpressions.Regex.Replace(TextBox2_Text, "[^\w\\-]", " ")) End If If KodiNaming = True Then @@ -1809,6 +1862,17 @@ Public Class Main Next End If #End Region +#Region "Replace Sub/Dub in name" + + If CBool(InStr(CR_FilenName, "RepDub")) Then + CR_FilenName = CR_FilenName.Replace("RepDub", HardSubValuesToDisplay(CR_audio_locale)) + End If + + If CBool(InStr(CR_FilenName, " RepSub")) Then + CR_FilenName = CR_FilenName.Replace(" RepSub", "") + End If + +#End Region #Region "Display Resolution" @@ -2626,13 +2690,46 @@ Public Class Main FunimationEpisodeTitle = String.Join(" ", FunimationEpisodeTitle.Split(invalids, StringSplitOptions.RemoveEmptyEntries)).TrimEnd("."c).Replace(Chr(34), "").Replace("\", "").Replace("/", "") FunimationDub = ConvertFunimationDub(DubFunimation) 'FunimationDub2(0) Dim DefaultName As String = RemoveExtraSpaces(FunimationTitle + " " + FunimationSeason + " " + FunimationEpisode) - If CR_NameMethode = 1 Then - DefaultName = RemoveExtraSpaces(FunimationTitle + " " + FunimationSeason + " " + FunimationEpisodeTitle) - ElseIf CR_NameMethode = 2 Then - DefaultName = RemoveExtraSpaces(FunimationTitle + " " + FunimationSeason + " " + FunimationEpisode + " " + FunimationEpisodeTitle) - ElseIf CR_NameMethode = 3 Then - DefaultName = RemoveExtraSpaces(FunimationTitle + " " + FunimationEpisodeTitle + " " + FunimationSeason + " " + FunimationEpisode) + + Dim NameParts As String() = NameBuilder.Split(New String() {";"}, System.StringSplitOptions.RemoveEmptyEntries) + + For i As Integer = 0 To NameParts.Count - 1 + + If NameParts(i) = "AnimeTitle" Then + DefaultName = DefaultName + " " + FunimationTitle + ElseIf NameParts(i) = "Season" Then + DefaultName = DefaultName + " " + FunimationSeason + ElseIf NameParts(i) = "EpisodeNR" Then + DefaultName = DefaultName + " " + FunimationEpisode + ElseIf NameParts(i) = "EpisodeName" Then + DefaultName = DefaultName + " " + FunimationEpisodeTitle + ElseIf NameParts(i) = "AnimeDub" Then + DefaultName = DefaultName + " RepDub" + ElseIf NameParts(i) = "AnimeSub" Then + DefaultName = DefaultName + " RepSub" + End If + + Next + + + If CBool(InStr(DefaultName, " RepDub")) Then + DefaultName = DefaultName.Replace(" RepDub", "") End If + + If CBool(InStr(DefaultName, " RepSub")) Then + DefaultName = DefaultName.Replace(" RepSub", "") + End If + + + 'If CR_NameMethode = 1 Then + ' DefaultName = RemoveExtraSpaces(FunimationTitle + " " + FunimationSeason + " " + FunimationEpisodeTitle) + 'ElseIf CR_NameMethode = 2 Then + ' DefaultName = RemoveExtraSpaces(FunimationTitle + " " + FunimationSeason + " " + FunimationEpisode + " " + FunimationEpisodeTitle) + 'ElseIf CR_NameMethode = 3 Then + ' DefaultName = RemoveExtraSpaces(FunimationTitle + " " + FunimationEpisodeTitle + " " + FunimationSeason + " " + FunimationEpisode) + 'End If + + DefaultName = DefaultName.Replace("'", "'") 'Dim DefaultPath As String = Pfad + "\" + DefaultName + VideoFormat 'DefaultPath = DefaultPath.Replace("\\", "\") diff --git a/Crunchyroll Downloader/My Project/AssemblyInfo.vb b/Crunchyroll Downloader/My Project/AssemblyInfo.vb index c05a1e3..d56e9fa 100644 --- a/Crunchyroll Downloader/My Project/AssemblyInfo.vb +++ b/Crunchyroll Downloader/My Project/AssemblyInfo.vb @@ -32,6 +32,6 @@ Imports System.Runtime.InteropServices ' übernehmen, indem Sie "*" eingeben: ' - - + + diff --git a/Crunchyroll Downloader/My Project/Resources.Designer.vb b/Crunchyroll Downloader/My Project/Resources.Designer.vb index 03fc062..21dddd1 100644 --- a/Crunchyroll Downloader/My Project/Resources.Designer.vb +++ b/Crunchyroll Downloader/My Project/Resources.Designer.vb @@ -1,1013 +1,1012 @@ -'------------------------------------------------------------------------------ -' -' Dieser Code wurde von einem Tool generiert. -' Laufzeitversion:4.0.30319.42000 -' -' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -' der Code erneut generiert wird. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - -Imports System - -Namespace My.Resources - - 'Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert - '-Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. - 'Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen - 'mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. - ''' - ''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. - ''' - _ - Friend Module Resources - - Private resourceMan As Global.System.Resources.ResourceManager - - Private resourceCulture As Global.System.Globalization.CultureInfo - - ''' - ''' Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. - ''' - _ - Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager - Get - If Object.ReferenceEquals(resourceMan, Nothing) Then - Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Crunchyroll_Downloader.Resources", GetType(Resources).Assembly) - resourceMan = temp - End If - Return resourceMan - End Get - End Property - - ''' - ''' Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle - ''' Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. - ''' - _ - Friend Property Culture() As Global.System.Globalization.CultureInfo - Get - Return resourceCulture - End Get - Set - resourceCulture = value - End Set - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property about_icon() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("about_icon", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property add_mass_cancel() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("add_mass_cancel", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property add_mass_cancel_hover() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("add_mass_cancel_hover", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die {"sources":[{"file":" ähnelt. - ''' - Friend ReadOnly Property AoD_files() As String - Get - Return ResourceManager.GetString("AoD_files", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <h1 itemprop="name"> ähnelt. - ''' - Friend ReadOnly Property AoD_HTML_Anime_Title() As String - Get - Return ResourceManager.GetString("AoD_HTML_Anime_Title", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <h3 class="episodebox-title" title=" ähnelt. - ''' - Friend ReadOnly Property AoD_HTML_Episode_Title() As String - Get - Return ResourceManager.GetString("AoD_HTML_Episode_Title", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die "image":" ähnelt. - ''' - Friend ReadOnly Property AoD_Image() As String - Get - Return ResourceManager.GetString("AoD_Image", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die "mediaid": ähnelt. - ''' - Friend ReadOnly Property AoD_MediaID() As String - Get - Return ResourceManager.GetString("AoD_MediaID", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die "title":" ähnelt. - ''' - Friend ReadOnly Property AoD_Titel() As String - Get - Return ResourceManager.GetString("AoD_Titel", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die [Script Info] - '''; Template for error handling in the Crunchyrol Downloader by hama3254 https://github.com/hama3254/Crunchyroll-Downloader-v3.0 - '''; ass file from https://github.com/Aegisub/Aegisub/blob/master/automation/v4-docs/template-scripting-ideas.ass - '''; Script generated by Aegisub v2.00 PRE-RELEASE (SVN r939, jfs) - '''; http://www.aegisub.net - '''Title: Default Aegisub file - '''ScriptType: v4.00+ - '''WrapStyle: 0 - '''PlayResX: 640 - '''PlayResY: 480 - '''Video Aspect Ratio: 0 - '''Video Zoom: 6 - '''Video Position: 0 - ''' - '''[V4+ Styles] - ''' [Rest der Zeichenfolge wurde abgeschnitten]"; ähnelt. - ''' - Friend ReadOnly Property ass_template() As String - Get - Return ResourceManager.GetString("ass_template", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property balken() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("balken", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property balken_console() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("balken_console", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <img id="footer_country_flag" src="https://www.crunchyroll.com/i/country_flags/ ähnelt. - ''' - Friend ReadOnly Property CC_String() As String - Get - Return ResourceManager.GetString("CC_String", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die display_episode_number":" ähnelt. - ''' - Friend ReadOnly Property CR_Episode_Nr() As String - Get - Return ResourceManager.GetString("CR_Episode_Nr", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <meta property="og:url" content=" ähnelt. - ''' - Friend ReadOnly Property CR_Head_Url_Split() As String - Get - Return ResourceManager.GetString("CR_Head_Url_Split", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <h4 id="showmedia_about_name" class="strong">“ ähnelt. - ''' - Friend ReadOnly Property CR_MediaName() As String - Get - Return ResourceManager.GetString("CR_MediaName", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die ”</h4> ähnelt. - ''' - Friend ReadOnly Property CR_MediaName2() As String - Get - Return ResourceManager.GetString("CR_MediaName2", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die </span> ähnelt. - ''' - Friend ReadOnly Property CR_MovieBT() As String - Get - Return ResourceManager.GetString("CR_MovieBT", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <span itemprop="name"> ähnelt. - ''' - Friend ReadOnly Property CR_MovieTop() As String - Get - Return ResourceManager.GetString("CR_MovieTop", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die seasonNumber":" ähnelt. - ''' - Friend ReadOnly Property CR_Season_Nr() As String - Get - Return ResourceManager.GetString("CR_Season_Nr", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property crdSettings_Button_SafeExit() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("crdSettings_Button_SafeExit", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property crdSettings_Button_SafeExit_hover() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("crdSettings_Button_SafeExit_hover", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property DialogNotFound_Submit() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("DialogNotFound_Submit", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property DialogNotFound_Submit_hover() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("DialogNotFound_Submit_hover", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property download_subs() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("download_subs", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property download_subs_hover() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("download_subs_hover", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> - '''<html><head> - '''<title>404 Not Found</title> - '''</head><body> - '''<h1>Not Found</h1> - '''<p>The requested URL was not found on this server.</p> - '''<hr> - '''<address>Server at Crunchyroll Downloader Port 8080</address> - '''</body></html> ähnelt. - ''' - Friend ReadOnly Property Error_404() As String - Get - Return ResourceManager.GetString("Error_404", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die ;FFMETADATA1 - '''title=[Titel] - ''' - '''[CHAPTER] - '''TIMEBASE=1/1000 - '''START=[Start] - '''END=[END] - '''title=Opening - ''' - '''[CHAPTER] - '''TIMEBASE=1/1000 - '''START=[after] - '''END=[duration_ms] ähnelt. - ''' - Friend ReadOnly Property ffmpeg_metadata() As String - Get - Return ResourceManager.GetString("ffmpeg_metadata", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die ;FFMETADATA1 - '''title=[Titel] - ''' - '''[CHAPTER] - '''TIMEBASE=1/1000 - '''START=1 - '''END=[Start-1] - ''' - '''[CHAPTER] - '''TIMEBASE=1/1000 - '''START=[Start] - '''END=[duration_ms] - '''title=Ending ähnelt. - ''' - Friend ReadOnly Property ffmpeg_metadata_out() As String - Get - Return ResourceManager.GetString("ffmpeg_metadata_out", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0" ähnelt. - ''' - Friend ReadOnly Property ffmpeg_user_agend() As String - Get - Return ResourceManager.GetString("ffmpeg_user_agend", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die src="/player/ ähnelt. - ''' - Friend ReadOnly Property Funimation_Player_ID() As String - Get - Return ResourceManager.GetString("Funimation_Player_ID", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die src="https://www.funimation.com/player/ ähnelt. - ''' - Friend ReadOnly Property Funimation_Player_ID_2() As String - Get - Return ResourceManager.GetString("Funimation_Player_ID_2", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <a class="trackVideo ng-binding" href=" ähnelt. - ''' - Friend ReadOnly Property Funimation_Split_1() As String - Get - Return ResourceManager.GetString("Funimation_Split_1", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die "> ähnelt. - ''' - Friend ReadOnly Property Funimation_Split_2() As String - Get - Return ResourceManager.GetString("Funimation_Split_2", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die "src": ähnelt. - ''' - Friend ReadOnly Property Funimation_src_string() As String - Get - Return ResourceManager.GetString("Funimation_src_string", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die {"src": " ähnelt. - ''' - Friend ReadOnly Property Funimation_subs_src() As String - Get - Return ResourceManager.GetString("Funimation_subs_src", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die ", "kind": "subtitle", "type": "CC", "language": " ähnelt. - ''' - Friend ReadOnly Property Funimation_Subtitle_String() As String - Get - Return ResourceManager.GetString("Funimation_Subtitle_String", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die ", "kind": "subtitle", "type": "Full", "language": " ähnelt. - ''' - Friend ReadOnly Property Funimation_Subtitle_String2() As String - Get - Return ResourceManager.GetString("Funimation_Subtitle_String2", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die ", "kind": "subtitle", "type": "full", "language": " ähnelt. - ''' - Friend ReadOnly Property Funimation_Subtitle_String3() As String - Get - Return ResourceManager.GetString("Funimation_Subtitle_String3", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <meta property="og:image" content=" ähnelt. - ''' - Friend ReadOnly Property Funimation_thumbnail() As String - Get - Return ResourceManager.GetString("Funimation_thumbnail", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die ","resolution":"adaptive" ähnelt. - ''' - Friend ReadOnly Property hls_endString() As String - Get - Return ResourceManager.GetString("hls_endString", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die "format":"adaptive_hls", ähnelt. - ''' - Friend ReadOnly Property hls_Value() As String - Get - Return ResourceManager.GetString("hls_Value", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <script> - ''' - '''setInterval(function loadXMLDoc() { - ''' var xhttp = new XMLHttpRequest(); - ''' xhttp.onreadystatechange = function() { - ''' if (this.readyState == 4 && this.status == 200) { - ''' document.getElementById("bodypage").innerHTML = this.responseText; - ''' //console.log(this.responseText); - ''' } - ''' }; - ''' xhttp.open("GET", "/", true); - ''' xhttp.send(); - '''}, 1000); - '''</script> - '''</body></html> ähnelt. - ''' - Friend ReadOnly Property htmlEnd() As String - Get - Return ResourceManager.GetString("htmlEnd", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die </a> - ''' - '''</div> - ''' - '''</div> - ''' - '''</div> - ''' - '''<img alt="image error" src="balken1.png" class="class-balken"> ähnelt. - ''' - Friend ReadOnly Property htmlnachHardSubs() As String - Get - Return ResourceManager.GetString("htmlnachHardSubs", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die " class="imagestyle"> - ''' - '''<div> - ''' - '''<span class="titel" dir="auto"> ähnelt. - ''' - Friend ReadOnly Property htmlnachTumbnail() As String - Get - Return ResourceManager.GetString("htmlnachTumbnail", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <html><head><meta name="color-scheme" content="light dark"></head><pre style="word-wrap: break-word; white-space: pre-wrap;"> ähnelt. - ''' - Friend ReadOnly Property htmlReplace() As String - Get - Return ResourceManager.GetString("htmlReplace", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <a class="main_titel">Placeholder</a> - '''<img alt="image error" src="balken.png" class="class-balken"> ähnelt. - ''' - Friend ReadOnly Property htmlTitlel() As String - Get - Return ResourceManager.GetString("htmlTitlel", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <!DOCTYPE html> - '''<head> - '''<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> - '''</head> - '''<html> - ''' <title>CRD</title> - ''' - ''' <style> - ''' .main-bg {margin:0 0 0 0;background-color:#F2F2F2;font-family:Consolas;font-size:16px;} - ''' .div-spacer{width:16px;height:110px;display:block;margin-bottom:14px;position:relative} - ''' .div-episode{width:730px;height:110px;display:block;margin-bottom:14px;position:relative} - ''' .class-balken{width:735px;height:8px;display:block;margin-bottom:4px;marg [Rest der Zeichenfolge wurde abgeschnitten]"; ähnelt. - ''' - Friend ReadOnly Property htmlTop() As String - Get - Return ResourceManager.GetString("htmlTop", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die </span> - ''' - '''<div class="progressbar"> - ''' - '''<div class="progressbar-value" style="width: 0%"></div> - ''' - '''</div> - '''<span dir="auto" class='percenttext'>0%</span> - '''<div> - '''<br> - '''<span dir="auto" class="resotext"> ähnelt. - ''' - Friend ReadOnly Property htmlvorAufloesung() As String - Get - Return ResourceManager.GetString("htmlvorAufloesung", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die "> <img alt="image error" src="cc1.png" class="class-cc"> ähnelt. - ''' - Friend ReadOnly Property htmlvorHardSubs() As String - Get - Return ResourceManager.GetString("htmlvorHardSubs", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die </span> - ''' - '''<a href="#" class="cc-wert" title="Softsubs: ähnelt. - ''' - Friend ReadOnly Property htmlvorSoftSubs() As String - Get - Return ResourceManager.GetString("htmlvorSoftSubs", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die - ''' <div class="div-episode"> - ''' - '''<img alt="image error" src=" ähnelt. - ''' - Friend ReadOnly Property htmlvorThumbnail() As String - Get - Return ResourceManager.GetString("htmlvorThumbnail", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Icon ähnlich wie (Symbol). - ''' - Friend ReadOnly Property icon() As System.Drawing.Icon - Get - Dim obj As Object = ResourceManager.GetObject("icon", resourceCulture) - Return CType(obj,System.Drawing.Icon) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die "error":false,"code":"ok" ähnelt. - ''' - Friend ReadOnly Property LoginSuccess() As String - Get - Return ResourceManager.GetString("LoginSuccess", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_add() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_add", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_add_invert() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_add_invert", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_add_invert_dark() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_add_invert_dark", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_background() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_background", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_browser() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_browser", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_browser_invert() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_browser_invert", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_browser_invert_dark() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_browser_invert_dark", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_button_download_deactivate() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_button_download_deactivate", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_button_download_default() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_button_download_default", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_button_download_hovert() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_button_download_hovert", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_close() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_close", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_close_dark() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_close_dark", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_close_dark_hover() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_close_dark_hover", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_close_hover() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_close_hover", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_del() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_del", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_mini() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_mini", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_mini_dark() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_mini_dark", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_mini_dark_hover() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_mini_dark_hover", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_mini_red() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_mini_red", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_pause() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_pause", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_pause_hover() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_pause_hover", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_pause_play() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_pause_play", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_pause_play_hover() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_pause_play_hover", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_setting_invert() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_setting_invert", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_setting_invert_dark() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_setting_invert_dark", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property main_settings() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("main_settings", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. - ''' - Friend ReadOnly Property Main_top() As System.Drawing.Bitmap - Get - Dim obj As Object = ResourceManager.GetObject("Main_top", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die </p> - ''' </div> - ''' </body> - '''</html> ähnelt. - ''' - Friend ReadOnly Property Post_error_Bottom() As String - Get - Return ResourceManager.GetString("Post_error_Bottom", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <html> - ''' <head> - ''' <meta charset="UTF-8"> - ''' </head> - ''' <style> - ''' body { - ''' text-align: center; - ''' padding: 40px 0; - ''' background: #EBF0F5; - ''' } - ''' h1 { - ''' color: #ad3f26; - ''' font-family: sans-serif; - ''' font-weight: 900; - ''' font-size: 40px; - ''' margin-bottom: 10px; - ''' } - ''' p { - ''' color: #404F5E; - ''' font-family: sans-serif; - ''' font-size:20px; - ''' margin: 0; - ''' } - ''' i { - ''' co [Rest der Zeichenfolge wurde abgeschnitten]"; ähnelt. - ''' - Friend ReadOnly Property Post_error_Top() As String - Get - Return ResourceManager.GetString("Post_error_Top", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die <!DOCTYPE html> - '''<html> - ''' <title>CRD</title> - ''' - ''' <style> - ''' .main-bg {margin:0 0 0 -36px;background-color:#757575;} - ''' .imagestyle{width:156px;height:88px;display:block;margin-bottom:4px} .ulStyle{margin:0 0 0 -10px;display:block;position:relative;margin-top:8px} - ''' .ulStyle li{margin-left:12px;float:left;display:block;position:relative} - ''' .listyle{width:156px;display:block;background:#fff;padding:16px;margin-bottom:14px;position:relative;background-color:#b5b3b3} - ''' .progressbar{height:14p [Rest der Zeichenfolge wurde abgeschnitten]"; ähnelt. - ''' - Friend ReadOnly Property Startuphtml() As String - Get - Return ResourceManager.GetString("Startuphtml", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die "thumbnail":{"url":" ähnelt. - ''' - Friend ReadOnly Property thumbnailString() As String - Get - Return ResourceManager.GetString("thumbnailString", resourceCulture) - End Get - End Property - - ''' - ''' Sucht eine lokalisierte Zeichenfolge, die US cookies can't be used as long you are logged in. - '''I delete the curremt session with the unlock, if you want to be logged in with the US cookie you need to enter you data on the left. ähnelt. - ''' - Friend ReadOnly Property US_ToolTip() As String - Get - Return ResourceManager.GetString("US_ToolTip", resourceCulture) - End Get - End Property - End Module -End Namespace +'------------------------------------------------------------------------------ +' +' Dieser Code wurde von einem Tool generiert. +' Laufzeitversion:4.0.30319.42000 +' +' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +' der Code erneut generiert wird. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + +Imports System + +Namespace My.Resources + + 'Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert + '-Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. + 'Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen + 'mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. + ''' + ''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Crunchyroll_Downloader.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + ''' Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set + resourceCulture = value + End Set + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property about_icon() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("about_icon", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property add_mass_cancel() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("add_mass_cancel", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property add_mass_cancel_hover() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("add_mass_cancel_hover", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die {"sources":[{"file":" ähnelt. + ''' + Friend ReadOnly Property AoD_files() As String + Get + Return ResourceManager.GetString("AoD_files", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <h1 itemprop="name"> ähnelt. + ''' + Friend ReadOnly Property AoD_HTML_Anime_Title() As String + Get + Return ResourceManager.GetString("AoD_HTML_Anime_Title", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <h3 class="episodebox-title" title=" ähnelt. + ''' + Friend ReadOnly Property AoD_HTML_Episode_Title() As String + Get + Return ResourceManager.GetString("AoD_HTML_Episode_Title", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die "image":" ähnelt. + ''' + Friend ReadOnly Property AoD_Image() As String + Get + Return ResourceManager.GetString("AoD_Image", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die "mediaid": ähnelt. + ''' + Friend ReadOnly Property AoD_MediaID() As String + Get + Return ResourceManager.GetString("AoD_MediaID", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die "title":" ähnelt. + ''' + Friend ReadOnly Property AoD_Titel() As String + Get + Return ResourceManager.GetString("AoD_Titel", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die [Script Info] + '''; Template for error handling in the Crunchyrol Downloader by hama3254 https://github.com/hama3254/Crunchyroll-Downloader-v3.0 + '''; ass file from https://github.com/Aegisub/Aegisub/blob/master/automation/v4-docs/template-scripting-ideas.ass + '''; Script generated by Aegisub v2.00 PRE-RELEASE (SVN r939, jfs) + '''; http://www.aegisub.net + '''Title: Default Aegisub file + '''ScriptType: v4.00+ + '''WrapStyle: 0 + '''PlayResX: 640 + '''PlayResY: 480 + '''Video Aspect Ratio: 0 + '''Video Zoom: 6 + '''Video Position: 0 + ''' + '''[V4+ Styles] ''' [Rest der Zeichenfolge wurde abgeschnitten]"; ähnelt. + ''' + Friend ReadOnly Property ass_template() As String + Get + Return ResourceManager.GetString("ass_template", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property balken() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("balken", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property balken_console() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("balken_console", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <img id="footer_country_flag" src="https://www.crunchyroll.com/i/country_flags/ ähnelt. + ''' + Friend ReadOnly Property CC_String() As String + Get + Return ResourceManager.GetString("CC_String", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die display_episode_number":" ähnelt. + ''' + Friend ReadOnly Property CR_Episode_Nr() As String + Get + Return ResourceManager.GetString("CR_Episode_Nr", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <meta property="og:url" content=" ähnelt. + ''' + Friend ReadOnly Property CR_Head_Url_Split() As String + Get + Return ResourceManager.GetString("CR_Head_Url_Split", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <h4 id="showmedia_about_name" class="strong">“ ähnelt. + ''' + Friend ReadOnly Property CR_MediaName() As String + Get + Return ResourceManager.GetString("CR_MediaName", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die ”</h4> ähnelt. + ''' + Friend ReadOnly Property CR_MediaName2() As String + Get + Return ResourceManager.GetString("CR_MediaName2", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die </span> ähnelt. + ''' + Friend ReadOnly Property CR_MovieBT() As String + Get + Return ResourceManager.GetString("CR_MovieBT", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <span itemprop="name"> ähnelt. + ''' + Friend ReadOnly Property CR_MovieTop() As String + Get + Return ResourceManager.GetString("CR_MovieTop", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die seasonNumber":" ähnelt. + ''' + Friend ReadOnly Property CR_Season_Nr() As String + Get + Return ResourceManager.GetString("CR_Season_Nr", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property crdSettings_Button_SafeExit() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("crdSettings_Button_SafeExit", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property crdSettings_Button_SafeExit_hover() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("crdSettings_Button_SafeExit_hover", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property DialogNotFound_Submit() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("DialogNotFound_Submit", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property DialogNotFound_Submit_hover() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("DialogNotFound_Submit_hover", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property download_subs() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("download_subs", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property download_subs_hover() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("download_subs_hover", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> + '''<html><head> + '''<title>404 Not Found</title> + '''</head><body> + '''<h1>Not Found</h1> + '''<p>The requested URL was not found on this server.</p> + '''<hr> + '''<address>Server at Crunchyroll Downloader Port 8080</address> + '''</body></html> ähnelt. + ''' + Friend ReadOnly Property Error_404() As String + Get + Return ResourceManager.GetString("Error_404", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die ;FFMETADATA1 + '''title=[Titel] + ''' + '''[CHAPTER] + '''TIMEBASE=1/1000 + '''START=[Start] + '''END=[END] + '''title=Opening + ''' + '''[CHAPTER] + '''TIMEBASE=1/1000 + '''START=[after] + '''END=[duration_ms] ähnelt. + ''' + Friend ReadOnly Property ffmpeg_metadata() As String + Get + Return ResourceManager.GetString("ffmpeg_metadata", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die ;FFMETADATA1 + '''title=[Titel] + ''' + '''[CHAPTER] + '''TIMEBASE=1/1000 + '''START=1 + '''END=[Start-1] + ''' + '''[CHAPTER] + '''TIMEBASE=1/1000 + '''START=[Start] + '''END=[duration_ms] + '''title=Ending ähnelt. + ''' + Friend ReadOnly Property ffmpeg_metadata_out() As String + Get + Return ResourceManager.GetString("ffmpeg_metadata_out", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0" ähnelt. + ''' + Friend ReadOnly Property ffmpeg_user_agend() As String + Get + Return ResourceManager.GetString("ffmpeg_user_agend", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die src="/player/ ähnelt. + ''' + Friend ReadOnly Property Funimation_Player_ID() As String + Get + Return ResourceManager.GetString("Funimation_Player_ID", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die src="https://www.funimation.com/player/ ähnelt. + ''' + Friend ReadOnly Property Funimation_Player_ID_2() As String + Get + Return ResourceManager.GetString("Funimation_Player_ID_2", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <a class="trackVideo ng-binding" href=" ähnelt. + ''' + Friend ReadOnly Property Funimation_Split_1() As String + Get + Return ResourceManager.GetString("Funimation_Split_1", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die "> ähnelt. + ''' + Friend ReadOnly Property Funimation_Split_2() As String + Get + Return ResourceManager.GetString("Funimation_Split_2", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die "src": ähnelt. + ''' + Friend ReadOnly Property Funimation_src_string() As String + Get + Return ResourceManager.GetString("Funimation_src_string", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die {"src": " ähnelt. + ''' + Friend ReadOnly Property Funimation_subs_src() As String + Get + Return ResourceManager.GetString("Funimation_subs_src", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die ", "kind": "subtitle", "type": "CC", "language": " ähnelt. + ''' + Friend ReadOnly Property Funimation_Subtitle_String() As String + Get + Return ResourceManager.GetString("Funimation_Subtitle_String", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die ", "kind": "subtitle", "type": "Full", "language": " ähnelt. + ''' + Friend ReadOnly Property Funimation_Subtitle_String2() As String + Get + Return ResourceManager.GetString("Funimation_Subtitle_String2", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die ", "kind": "subtitle", "type": "full", "language": " ähnelt. + ''' + Friend ReadOnly Property Funimation_Subtitle_String3() As String + Get + Return ResourceManager.GetString("Funimation_Subtitle_String3", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <meta property="og:image" content=" ähnelt. + ''' + Friend ReadOnly Property Funimation_thumbnail() As String + Get + Return ResourceManager.GetString("Funimation_thumbnail", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die ","resolution":"adaptive" ähnelt. + ''' + Friend ReadOnly Property hls_endString() As String + Get + Return ResourceManager.GetString("hls_endString", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die "format":"adaptive_hls", ähnelt. + ''' + Friend ReadOnly Property hls_Value() As String + Get + Return ResourceManager.GetString("hls_Value", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <script> + ''' + '''setInterval(function loadXMLDoc() { + ''' var xhttp = new XMLHttpRequest(); + ''' xhttp.onreadystatechange = function() { + ''' if (this.readyState == 4 && this.status == 200) { + ''' document.getElementById("bodypage").innerHTML = this.responseText; + ''' //console.log(this.responseText); + ''' } + ''' }; + ''' xhttp.open("GET", "/", true); + ''' xhttp.send(); + '''}, 1000); + '''</script> + '''</body></html> ähnelt. + ''' + Friend ReadOnly Property htmlEnd() As String + Get + Return ResourceManager.GetString("htmlEnd", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die </a> + ''' + '''</div> + ''' + '''</div> + ''' + '''</div> + ''' + '''<img alt="image error" src="balken1.png" class="class-balken"> ähnelt. + ''' + Friend ReadOnly Property htmlnachHardSubs() As String + Get + Return ResourceManager.GetString("htmlnachHardSubs", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die " class="imagestyle"> + ''' + '''<div> + ''' + '''<span class="titel" dir="auto"> ähnelt. + ''' + Friend ReadOnly Property htmlnachTumbnail() As String + Get + Return ResourceManager.GetString("htmlnachTumbnail", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <html><head><meta name="color-scheme" content="light dark"></head><pre style="word-wrap: break-word; white-space: pre-wrap;"> ähnelt. + ''' + Friend ReadOnly Property htmlReplace() As String + Get + Return ResourceManager.GetString("htmlReplace", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <a class="main_titel">Placeholder</a> + '''<img alt="image error" src="balken.png" class="class-balken"> ähnelt. + ''' + Friend ReadOnly Property htmlTitlel() As String + Get + Return ResourceManager.GetString("htmlTitlel", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <!DOCTYPE html> + '''<head> + '''<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> + '''</head> + '''<html> + ''' <title>CRD</title> + ''' + ''' <style> + ''' .main-bg {margin:0 0 0 0;background-color:#F2F2F2;font-family:Consolas;font-size:16px;} + ''' .div-spacer{width:16px;height:110px;display:block;margin-bottom:14px;position:relative} + ''' .div-episode{width:730px;height:110px;display:block;margin-bottom:14px;position:relative} + ''' .class-balken{width:735px;height:8px;display:block;margin-bottom:4px;marg [Rest der Zeichenfolge wurde abgeschnitten]"; ähnelt. + ''' + Friend ReadOnly Property htmlTop() As String + Get + Return ResourceManager.GetString("htmlTop", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die </span> + ''' + '''<div class="progressbar"> + ''' + '''<div class="progressbar-value" style="width: 0%"></div> + ''' + '''</div> + '''<span dir="auto" class='percenttext'>0%</span> + '''<div> + '''<br> + '''<span dir="auto" class="resotext"> ähnelt. + ''' + Friend ReadOnly Property htmlvorAufloesung() As String + Get + Return ResourceManager.GetString("htmlvorAufloesung", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die "> <img alt="image error" src="cc1.png" class="class-cc"> ähnelt. + ''' + Friend ReadOnly Property htmlvorHardSubs() As String + Get + Return ResourceManager.GetString("htmlvorHardSubs", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die </span> + ''' + '''<a href="#" class="cc-wert" title="Softsubs: ähnelt. + ''' + Friend ReadOnly Property htmlvorSoftSubs() As String + Get + Return ResourceManager.GetString("htmlvorSoftSubs", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die + ''' <div class="div-episode"> + ''' + '''<img alt="image error" src=" ähnelt. + ''' + Friend ReadOnly Property htmlvorThumbnail() As String + Get + Return ResourceManager.GetString("htmlvorThumbnail", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Icon ähnlich wie (Symbol). + ''' + Friend ReadOnly Property icon() As System.Drawing.Icon + Get + Dim obj As Object = ResourceManager.GetObject("icon", resourceCulture) + Return CType(obj,System.Drawing.Icon) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die "error":false,"code":"ok" ähnelt. + ''' + Friend ReadOnly Property LoginSuccess() As String + Get + Return ResourceManager.GetString("LoginSuccess", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_add() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_add", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_add_invert() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_add_invert", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_add_invert_dark() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_add_invert_dark", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_background() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_background", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_browser() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_browser", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_browser_invert() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_browser_invert", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_browser_invert_dark() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_browser_invert_dark", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_button_download_deactivate() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_button_download_deactivate", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_button_download_default() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_button_download_default", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_button_download_hovert() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_button_download_hovert", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_close() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_close", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_close_dark() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_close_dark", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_close_dark_hover() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_close_dark_hover", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_close_hover() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_close_hover", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_del() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_del", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_mini() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_mini", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_mini_dark() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_mini_dark", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_mini_dark_hover() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_mini_dark_hover", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_mini_red() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_mini_red", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_pause() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_pause", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_pause_hover() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_pause_hover", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_pause_play() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_pause_play", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_pause_play_hover() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_pause_play_hover", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_setting_invert() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_setting_invert", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_setting_invert_dark() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_setting_invert_dark", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property main_settings() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("main_settings", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + ''' + Friend ReadOnly Property Main_top() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("Main_top", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die </p> + ''' </div> + ''' </body> + '''</html> ähnelt. + ''' + Friend ReadOnly Property Post_error_Bottom() As String + Get + Return ResourceManager.GetString("Post_error_Bottom", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <html> + ''' <head> + ''' <meta charset="UTF-8"> + ''' </head> + ''' <style> + ''' body { + ''' text-align: center; + ''' padding: 40px 0; + ''' background: #EBF0F5; + ''' } + ''' h1 { + ''' color: #ad3f26; + ''' font-family: sans-serif; + ''' font-weight: 900; + ''' font-size: 40px; + ''' margin-bottom: 10px; + ''' } + ''' p { + ''' color: #404F5E; + ''' font-family: sans-serif; + ''' font-size:20px; + ''' margin: 0; + ''' } + ''' i { + ''' co [Rest der Zeichenfolge wurde abgeschnitten]"; ähnelt. + ''' + Friend ReadOnly Property Post_error_Top() As String + Get + Return ResourceManager.GetString("Post_error_Top", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die <!DOCTYPE html> + '''<html> + ''' <title>CRD</title> + ''' + ''' <style> + ''' .main-bg {margin:0 0 0 -36px;background-color:#757575;} + ''' .imagestyle{width:156px;height:88px;display:block;margin-bottom:4px} .ulStyle{margin:0 0 0 -10px;display:block;position:relative;margin-top:8px} + ''' .ulStyle li{margin-left:12px;float:left;display:block;position:relative} + ''' .listyle{width:156px;display:block;background:#fff;padding:16px;margin-bottom:14px;position:relative;background-color:#b5b3b3} + ''' .progressbar{height:14p [Rest der Zeichenfolge wurde abgeschnitten]"; ähnelt. + ''' + Friend ReadOnly Property Startuphtml() As String + Get + Return ResourceManager.GetString("Startuphtml", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die "thumbnail":{"url":" ähnelt. + ''' + Friend ReadOnly Property thumbnailString() As String + Get + Return ResourceManager.GetString("thumbnailString", resourceCulture) + End Get + End Property + + ''' + ''' Sucht eine lokalisierte Zeichenfolge, die US cookies can't be used as long you are logged in. + '''I delete the curremt session with the unlock, if you want to be logged in with the US cookie you need to enter you data on the left. ähnelt. + ''' + Friend ReadOnly Property US_ToolTip() As String + Get + Return ResourceManager.GetString("US_ToolTip", resourceCulture) + End Get + End Property + End Module +End Namespace diff --git a/Crunchyroll Downloader/My Project/Settings.Designer.vb b/Crunchyroll Downloader/My Project/Settings.Designer.vb index 98fc3c2..d0599f2 100644 --- a/Crunchyroll Downloader/My Project/Settings.Designer.vb +++ b/Crunchyroll Downloader/My Project/Settings.Designer.vb @@ -509,6 +509,18 @@ Namespace My Me("ErrorTolerance") = value End Set End Property + + _ + Public Property NameTemplate() As String + Get + Return CType(Me("NameTemplate"),String) + End Get + Set + Me("NameTemplate") = value + End Set + End Property End Class End Namespace diff --git a/Crunchyroll Downloader/My Project/Settings.settings b/Crunchyroll Downloader/My Project/Settings.settings index 4b776ce..93547ca 100644 --- a/Crunchyroll Downloader/My Project/Settings.settings +++ b/Crunchyroll Downloader/My Project/Settings.settings @@ -116,5 +116,8 @@ 0 + + Unused + \ No newline at end of file diff --git a/Crunchyroll Downloader/einstellungen.Designer.vb b/Crunchyroll Downloader/einstellungen.Designer.vb index fb4d48f..ae3f1eb 100644 --- a/Crunchyroll Downloader/einstellungen.Designer.vb +++ b/Crunchyroll Downloader/einstellungen.Designer.vb @@ -55,14 +55,17 @@ Partial Class Einstellungen Me.MenuStrip1 = New System.Windows.Forms.MenuStrip() Me.FFMPEG_CommandP1 = New System.Windows.Forms.ToolStripMenuItem() Me.copy = New System.Windows.Forms.ToolStripMenuItem() - Me.nv_h264 = New System.Windows.Forms.ToolStripMenuItem() - Me.nv_hevc = New System.Windows.Forms.ToolStripMenuItem() Me.CPU_h264 = New System.Windows.Forms.ToolStripMenuItem() Me.CPU_h265 = New System.Windows.Forms.ToolStripMenuItem() + Me.CPU_AV1 = New System.Windows.Forms.ToolStripMenuItem() + Me.nv_h264 = New System.Windows.Forms.ToolStripMenuItem() + Me.nv_hevc = New System.Windows.Forms.ToolStripMenuItem() + Me.nv_AV1 = New System.Windows.Forms.ToolStripMenuItem() Me.AMD_h264 = New System.Windows.Forms.ToolStripMenuItem() Me.AMD_hevc = New System.Windows.Forms.ToolStripMenuItem() Me.Intel_h264 = New System.Windows.Forms.ToolStripMenuItem() Me.Intel_hevc = New System.Windows.Forms.ToolStripMenuItem() + Me.Intel_AV1 = New System.Windows.Forms.ToolStripMenuItem() Me.FFMPEG_CommandP2 = New System.Windows.Forms.ToolStripMenuItem() Me.ListP1 = New System.Windows.Forms.ToolStripMenuItem() Me.ListP2 = New System.Windows.Forms.ToolStripMenuItem() @@ -119,7 +122,6 @@ Partial Class Einstellungen Me.GroupBox12 = New System.Windows.Forms.GroupBox() Me.DD_Episode_Prefix = New MetroFramework.Controls.MetroComboBox() Me.DD_Season_Prefix = New MetroFramework.Controls.MetroComboBox() - Me.CR_Filename = New MetroFramework.Controls.MetroComboBox() Me.MetroTabPage1 = New MetroFramework.Controls.MetroTabPage() Me.GroupBox20 = New System.Windows.Forms.GroupBox() Me.ChB_Chapters = New MetroFramework.Controls.MetroCheckBox() @@ -154,9 +156,13 @@ Partial Class Einstellungen Me.Label5 = New MetroFramework.Controls.MetroLabel() Me.BackgroundWorker1 = New System.ComponentModel.BackgroundWorker() Me.Btn_Save = New System.Windows.Forms.Button() - Me.Intel_AV1 = New System.Windows.Forms.ToolStripMenuItem() - Me.CPU_AV1 = New System.Windows.Forms.ToolStripMenuItem() - Me.nv_AV1 = New System.Windows.Forms.ToolStripMenuItem() + Me.TB_NameString = New MetroFramework.Controls.MetroTextBox() + Me.CB_EpisodeName = New MetroFramework.Controls.MetroCheckBox() + Me.CB_AnimeDub = New MetroFramework.Controls.MetroCheckBox() + Me.CB_EpisodeNR = New MetroFramework.Controls.MetroCheckBox() + Me.CB_AnimeSub = New MetroFramework.Controls.MetroCheckBox() + Me.CB_Season = New MetroFramework.Controls.MetroCheckBox() + Me.CB_Anime = New MetroFramework.Controls.MetroCheckBox() CType(Me.pictureBox1, System.ComponentModel.ISupportInitialize).BeginInit() Me.GroupBox14.SuspendLayout() Me.SoftSubs.SuspendLayout() @@ -602,65 +608,86 @@ Partial Class Einstellungen 'copy ' Me.copy.Name = "copy" - Me.copy.Size = New System.Drawing.Size(180, 22) + Me.copy.Size = New System.Drawing.Size(172, 22) Me.copy.Text = "-c copy" ' - 'nv_h264 - ' - Me.nv_h264.BackColor = System.Drawing.Color.YellowGreen - Me.nv_h264.Name = "nv_h264" - Me.nv_h264.Size = New System.Drawing.Size(180, 22) - Me.nv_h264.Text = "-c:v h264_nvenc " - ' - 'nv_hevc - ' - Me.nv_hevc.BackColor = System.Drawing.Color.YellowGreen - Me.nv_hevc.Name = "nv_hevc" - Me.nv_hevc.Size = New System.Drawing.Size(180, 22) - Me.nv_hevc.Text = "-c:v hevc_nvenc" - ' 'CPU_h264 ' Me.CPU_h264.BackColor = System.Drawing.Color.DarkGray Me.CPU_h264.Name = "CPU_h264" - Me.CPU_h264.Size = New System.Drawing.Size(180, 22) + Me.CPU_h264.Size = New System.Drawing.Size(172, 22) Me.CPU_h264.Text = "-c:v libx264" ' 'CPU_h265 ' Me.CPU_h265.BackColor = System.Drawing.Color.DarkGray Me.CPU_h265.Name = "CPU_h265" - Me.CPU_h265.Size = New System.Drawing.Size(180, 22) + Me.CPU_h265.Size = New System.Drawing.Size(172, 22) Me.CPU_h265.Text = "-c:v libx265" ' + 'CPU_AV1 + ' + Me.CPU_AV1.BackColor = System.Drawing.Color.DarkGray + Me.CPU_AV1.Name = "CPU_AV1" + Me.CPU_AV1.Size = New System.Drawing.Size(172, 22) + Me.CPU_AV1.Text = "-c:v libsvtav1" + ' + 'nv_h264 + ' + Me.nv_h264.BackColor = System.Drawing.Color.YellowGreen + Me.nv_h264.Name = "nv_h264" + Me.nv_h264.Size = New System.Drawing.Size(172, 22) + Me.nv_h264.Text = "-c:v h264_nvenc " + ' + 'nv_hevc + ' + Me.nv_hevc.BackColor = System.Drawing.Color.YellowGreen + Me.nv_hevc.Name = "nv_hevc" + Me.nv_hevc.Size = New System.Drawing.Size(172, 22) + Me.nv_hevc.Text = "-c:v hevc_nvenc" + ' + 'nv_AV1 + ' + Me.nv_AV1.BackColor = System.Drawing.Color.YellowGreen + Me.nv_AV1.Name = "nv_AV1" + Me.nv_AV1.Size = New System.Drawing.Size(172, 22) + Me.nv_AV1.Text = "-c:v av1_nvenc" + ' 'AMD_h264 ' Me.AMD_h264.BackColor = System.Drawing.Color.Tomato Me.AMD_h264.Name = "AMD_h264" - Me.AMD_h264.Size = New System.Drawing.Size(180, 22) + Me.AMD_h264.Size = New System.Drawing.Size(172, 22) Me.AMD_h264.Text = "-c:v h264_amf" ' 'AMD_hevc ' Me.AMD_hevc.BackColor = System.Drawing.Color.Tomato Me.AMD_hevc.Name = "AMD_hevc" - Me.AMD_hevc.Size = New System.Drawing.Size(180, 22) + Me.AMD_hevc.Size = New System.Drawing.Size(172, 22) Me.AMD_hevc.Text = "-c:v hevc_amf" ' 'Intel_h264 ' Me.Intel_h264.BackColor = System.Drawing.Color.CornflowerBlue Me.Intel_h264.Name = "Intel_h264" - Me.Intel_h264.Size = New System.Drawing.Size(180, 22) + Me.Intel_h264.Size = New System.Drawing.Size(172, 22) Me.Intel_h264.Text = "-c:v h264_qsv" ' 'Intel_hevc ' Me.Intel_hevc.BackColor = System.Drawing.Color.CornflowerBlue Me.Intel_hevc.Name = "Intel_hevc" - Me.Intel_hevc.Size = New System.Drawing.Size(180, 22) + Me.Intel_hevc.Size = New System.Drawing.Size(172, 22) Me.Intel_hevc.Text = "-c:v hevc_qsv" ' + 'Intel_AV1 + ' + Me.Intel_AV1.BackColor = System.Drawing.Color.CornflowerBlue + Me.Intel_AV1.Name = "Intel_AV1" + Me.Intel_AV1.Size = New System.Drawing.Size(172, 22) + Me.Intel_AV1.Text = "-c:v av1_qsv" + ' 'FFMPEG_CommandP2 ' Me.FFMPEG_CommandP2.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ListP1, Me.ListP2, Me.ListP3}) @@ -876,10 +903,10 @@ Partial Class Einstellungen Me.TabPage1.HorizontalScrollbarBarColor = True Me.TabPage1.HorizontalScrollbarHighlightOnWheel = False Me.TabPage1.HorizontalScrollbarSize = 10 - Me.TabPage1.Location = New System.Drawing.Point(4, 35) + Me.TabPage1.Location = New System.Drawing.Point(4, 44) Me.TabPage1.Name = "TabPage1" Me.TabPage1.Padding = New System.Windows.Forms.Padding(3) - Me.TabPage1.Size = New System.Drawing.Size(501, 528) + Me.TabPage1.Size = New System.Drawing.Size(501, 519) Me.TabPage1.TabIndex = 0 Me.TabPage1.Text = " Main" Me.TabPage1.VerticalScrollbar = True @@ -1134,7 +1161,7 @@ Partial Class Einstellungen Me.TabControl1.FontWeight = MetroFramework.MetroTabControlWeight.Regular Me.TabControl1.Location = New System.Drawing.Point(22, 60) Me.TabControl1.Name = "TabControl1" - Me.TabControl1.SelectedIndex = 1 + Me.TabControl1.SelectedIndex = 2 Me.TabControl1.Size = New System.Drawing.Size(509, 567) Me.TabControl1.TabIndex = 0 Me.TabControl1.UseSelectable = True @@ -1163,7 +1190,7 @@ Partial Class Einstellungen Me.GroupBox17.Controls.Add(Me.LeadingZeroDD) Me.GroupBox17.Font = New System.Drawing.Font("Arial", 9.75!) Me.GroupBox17.ForeColor = System.Drawing.Color.Black - Me.GroupBox17.Location = New System.Drawing.Point(5, 212) + Me.GroupBox17.Location = New System.Drawing.Point(5, 300) Me.GroupBox17.Name = "GroupBox17" Me.GroupBox17.Size = New System.Drawing.Size(490, 67) Me.GroupBox17.TabIndex = 40 @@ -1191,7 +1218,7 @@ Partial Class Einstellungen Me.GroupBox3.Controls.Add(Me.CB_SoftSubSettings) Me.GroupBox3.Font = New System.Drawing.Font("Arial", 9.75!) Me.GroupBox3.ForeColor = System.Drawing.Color.Black - Me.GroupBox3.Location = New System.Drawing.Point(5, 285) + Me.GroupBox3.Location = New System.Drawing.Point(5, 380) Me.GroupBox3.Name = "GroupBox3" Me.GroupBox3.Size = New System.Drawing.Size(490, 129) Me.GroupBox3.TabIndex = 52 @@ -1234,9 +1261,9 @@ Partial Class Einstellungen Me.GB_Filename_Pre.Controls.Add(Me.MetroLink1) Me.GB_Filename_Pre.Font = New System.Drawing.Font("Arial", 9.75!) Me.GB_Filename_Pre.ForeColor = System.Drawing.Color.Black - Me.GB_Filename_Pre.Location = New System.Drawing.Point(5, 144) + Me.GB_Filename_Pre.Location = New System.Drawing.Point(5, 230) Me.GB_Filename_Pre.Name = "GB_Filename_Pre" - Me.GB_Filename_Pre.Size = New System.Drawing.Size(490, 62) + Me.GB_Filename_Pre.Size = New System.Drawing.Size(490, 65) Me.GB_Filename_Pre.TabIndex = 22 Me.GB_Filename_Pre.TabStop = False Me.GB_Filename_Pre.Text = "Filename Extras" @@ -1281,14 +1308,20 @@ Partial Class Einstellungen 'GroupBox12 ' Me.GroupBox12.BackColor = System.Drawing.Color.Transparent + Me.GroupBox12.Controls.Add(Me.CB_EpisodeName) + Me.GroupBox12.Controls.Add(Me.CB_AnimeDub) + Me.GroupBox12.Controls.Add(Me.CB_EpisodeNR) + Me.GroupBox12.Controls.Add(Me.CB_AnimeSub) + Me.GroupBox12.Controls.Add(Me.CB_Season) + Me.GroupBox12.Controls.Add(Me.CB_Anime) + Me.GroupBox12.Controls.Add(Me.TB_NameString) Me.GroupBox12.Controls.Add(Me.DD_Episode_Prefix) Me.GroupBox12.Controls.Add(Me.DD_Season_Prefix) - Me.GroupBox12.Controls.Add(Me.CR_Filename) Me.GroupBox12.Font = New System.Drawing.Font("Arial", 9.75!) Me.GroupBox12.ForeColor = System.Drawing.Color.Black Me.GroupBox12.Location = New System.Drawing.Point(5, 11) Me.GroupBox12.Name = "GroupBox12" - Me.GroupBox12.Size = New System.Drawing.Size(490, 127) + Me.GroupBox12.Size = New System.Drawing.Size(490, 215) Me.GroupBox12.TabIndex = 21 Me.GroupBox12.TabStop = False Me.GroupBox12.Text = "Filename" @@ -1302,7 +1335,7 @@ Partial Class Einstellungen Me.DD_Episode_Prefix.IntegralHeight = False Me.DD_Episode_Prefix.ItemHeight = 23 Me.DD_Episode_Prefix.Items.AddRange(New Object() {"[default episode prefix]"}) - Me.DD_Episode_Prefix.Location = New System.Drawing.Point(248, 85) + Me.DD_Episode_Prefix.Location = New System.Drawing.Point(248, 165) Me.DD_Episode_Prefix.Name = "DD_Episode_Prefix" Me.DD_Episode_Prefix.Size = New System.Drawing.Size(225, 29) Me.DD_Episode_Prefix.TabIndex = 10 @@ -1317,26 +1350,12 @@ Partial Class Einstellungen Me.DD_Season_Prefix.IntegralHeight = False Me.DD_Season_Prefix.ItemHeight = 23 Me.DD_Season_Prefix.Items.AddRange(New Object() {"[default season prefix]"}) - Me.DD_Season_Prefix.Location = New System.Drawing.Point(6, 85) + Me.DD_Season_Prefix.Location = New System.Drawing.Point(6, 165) Me.DD_Season_Prefix.Name = "DD_Season_Prefix" Me.DD_Season_Prefix.Size = New System.Drawing.Size(225, 29) Me.DD_Season_Prefix.TabIndex = 9 Me.DD_Season_Prefix.UseSelectable = True ' - 'CR_Filename - ' - Me.CR_Filename.DropDownHeight = 250 - Me.CR_Filename.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.CR_Filename.FormattingEnabled = True - Me.CR_Filename.IntegralHeight = False - Me.CR_Filename.ItemHeight = 23 - Me.CR_Filename.Items.AddRange(New Object() {"[episode number]", "[episode name]", "[episode number] [episode name]", "[episode name] [episode number]"}) - Me.CR_Filename.Location = New System.Drawing.Point(6, 35) - Me.CR_Filename.Name = "CR_Filename" - Me.CR_Filename.Size = New System.Drawing.Size(467, 29) - Me.CR_Filename.TabIndex = 8 - Me.CR_Filename.UseSelectable = True - ' 'MetroTabPage1 ' Me.MetroTabPage1.Controls.Add(Me.GroupBox20) @@ -1414,10 +1433,10 @@ Partial Class Einstellungen Me.TabPage6.HorizontalScrollbarBarColor = True Me.TabPage6.HorizontalScrollbarHighlightOnWheel = False Me.TabPage6.HorizontalScrollbarSize = 10 - Me.TabPage6.Location = New System.Drawing.Point(4, 35) + Me.TabPage6.Location = New System.Drawing.Point(4, 44) Me.TabPage6.Name = "TabPage6" Me.TabPage6.Padding = New System.Windows.Forms.Padding(3) - Me.TabPage6.Size = New System.Drawing.Size(501, 528) + Me.TabPage6.Size = New System.Drawing.Size(501, 519) Me.TabPage6.TabIndex = 4 Me.TabPage6.Text = " Funimation" Me.TabPage6.VerticalScrollbarBarColor = True @@ -1651,9 +1670,9 @@ Partial Class Einstellungen Me.TabPage7.Controls.Add(Me.Label4) Me.TabPage7.Controls.Add(Me.Label6) Me.TabPage7.Controls.Add(Me.Label5) - Me.TabPage7.Location = New System.Drawing.Point(4, 35) + Me.TabPage7.Location = New System.Drawing.Point(4, 44) Me.TabPage7.Name = "TabPage7" - Me.TabPage7.Size = New System.Drawing.Size(501, 528) + Me.TabPage7.Size = New System.Drawing.Size(501, 519) Me.TabPage7.TabIndex = 5 Me.TabPage7.Text = " About " ' @@ -1785,26 +1804,110 @@ Partial Class Einstellungen Me.Btn_Save.TabIndex = 9 Me.Btn_Save.UseVisualStyleBackColor = False ' - 'Intel_AV1 + 'TB_NameString ' - Me.Intel_AV1.BackColor = System.Drawing.Color.CornflowerBlue - Me.Intel_AV1.Name = "Intel_AV1" - Me.Intel_AV1.Size = New System.Drawing.Size(180, 22) - Me.Intel_AV1.Text = "-c:v av1_qsv" ' - 'CPU_AV1 ' - Me.CPU_AV1.BackColor = System.Drawing.Color.DarkGray - Me.CPU_AV1.Name = "CPU_AV1" - Me.CPU_AV1.Size = New System.Drawing.Size(180, 22) - Me.CPU_AV1.Text = "-c:v libsvtav1" ' - 'nv_AV1 + Me.TB_NameString.CustomButton.Image = Nothing + Me.TB_NameString.CustomButton.Location = New System.Drawing.Point(439, 1) + Me.TB_NameString.CustomButton.Name = "" + Me.TB_NameString.CustomButton.Size = New System.Drawing.Size(27, 27) + Me.TB_NameString.CustomButton.Style = MetroFramework.MetroColorStyle.Blue + Me.TB_NameString.CustomButton.TabIndex = 1 + Me.TB_NameString.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light + Me.TB_NameString.CustomButton.UseSelectable = True + Me.TB_NameString.CustomButton.Visible = False + Me.TB_NameString.FontSize = MetroFramework.MetroTextBoxSize.Medium + Me.TB_NameString.Lines = New String(-1) {} + Me.TB_NameString.Location = New System.Drawing.Point(6, 35) + Me.TB_NameString.MaxLength = 32767 + Me.TB_NameString.Name = "TB_NameString" + Me.TB_NameString.PasswordChar = Global.Microsoft.VisualBasic.ChrW(0) + Me.TB_NameString.ReadOnly = True + Me.TB_NameString.ScrollBars = System.Windows.Forms.ScrollBars.None + Me.TB_NameString.SelectedText = "" + Me.TB_NameString.SelectionLength = 0 + Me.TB_NameString.SelectionStart = 0 + Me.TB_NameString.ShortcutsEnabled = True + Me.TB_NameString.Size = New System.Drawing.Size(467, 29) + Me.TB_NameString.TabIndex = 21 + Me.TB_NameString.TextAlign = System.Windows.Forms.HorizontalAlignment.Center + Me.TB_NameString.UseSelectable = True + Me.TB_NameString.WaterMarkColor = System.Drawing.Color.FromArgb(CType(CType(109, Byte), Integer), CType(CType(109, Byte), Integer), CType(CType(109, Byte), Integer)) + Me.TB_NameString.WaterMarkFont = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel) ' - Me.nv_AV1.BackColor = System.Drawing.Color.YellowGreen - Me.nv_AV1.Name = "nv_AV1" - Me.nv_AV1.Size = New System.Drawing.Size(180, 22) - Me.nv_AV1.Text = "-c:v av1_nvenc" + 'CB_EpisodeName + ' + Me.CB_EpisodeName.AutoSize = True + Me.CB_EpisodeName.FontSize = MetroFramework.MetroCheckBoxSize.Medium + Me.CB_EpisodeName.ForeColor = System.Drawing.Color.Black + Me.CB_EpisodeName.Location = New System.Drawing.Point(153, 124) + Me.CB_EpisodeName.Name = "CB_EpisodeName" + Me.CB_EpisodeName.Size = New System.Drawing.Size(101, 19) + Me.CB_EpisodeName.TabIndex = 31 + Me.CB_EpisodeName.Text = "Episode Title" + Me.CB_EpisodeName.UseSelectable = True + ' + 'CB_AnimeDub + ' + Me.CB_AnimeDub.AutoSize = True + Me.CB_AnimeDub.FontSize = MetroFramework.MetroCheckBoxSize.Medium + Me.CB_AnimeDub.ForeColor = System.Drawing.Color.Black + Me.CB_AnimeDub.Location = New System.Drawing.Point(320, 86) + Me.CB_AnimeDub.Name = "CB_AnimeDub" + Me.CB_AnimeDub.Size = New System.Drawing.Size(125, 19) + Me.CB_AnimeDub.TabIndex = 29 + Me.CB_AnimeDub.Text = "Audio Language" + Me.CB_AnimeDub.UseSelectable = True + ' + 'CB_EpisodeNR + ' + Me.CB_EpisodeNR.AutoSize = True + Me.CB_EpisodeNR.FontSize = MetroFramework.MetroCheckBoxSize.Medium + Me.CB_EpisodeNR.ForeColor = System.Drawing.Color.Black + Me.CB_EpisodeNR.Location = New System.Drawing.Point(153, 86) + Me.CB_EpisodeNR.Name = "CB_EpisodeNR" + Me.CB_EpisodeNR.Size = New System.Drawing.Size(126, 19) + Me.CB_EpisodeNR.TabIndex = 28 + Me.CB_EpisodeNR.Text = "Episode Number" + Me.CB_EpisodeNR.UseSelectable = True + ' + 'CB_AnimeSub + ' + Me.CB_AnimeSub.AutoSize = True + Me.CB_AnimeSub.FontSize = MetroFramework.MetroCheckBoxSize.Medium + Me.CB_AnimeSub.ForeColor = System.Drawing.Color.Black + Me.CB_AnimeSub.Location = New System.Drawing.Point(320, 124) + Me.CB_AnimeSub.Name = "CB_AnimeSub" + Me.CB_AnimeSub.Size = New System.Drawing.Size(135, 19) + Me.CB_AnimeSub.TabIndex = 32 + Me.CB_AnimeSub.Text = "Subtitle Language" + Me.CB_AnimeSub.UseSelectable = True + ' + 'CB_Season + ' + Me.CB_Season.AutoSize = True + Me.CB_Season.FontSize = MetroFramework.MetroCheckBoxSize.Medium + Me.CB_Season.ForeColor = System.Drawing.Color.Black + Me.CB_Season.Location = New System.Drawing.Point(17, 124) + Me.CB_Season.Name = "CB_Season" + Me.CB_Season.Size = New System.Drawing.Size(122, 19) + Me.CB_Season.TabIndex = 30 + Me.CB_Season.Text = "Season Number" + Me.CB_Season.UseSelectable = True + ' + 'CB_Anime + ' + Me.CB_Anime.AutoSize = True + Me.CB_Anime.FontSize = MetroFramework.MetroCheckBoxSize.Medium + Me.CB_Anime.ForeColor = System.Drawing.Color.Black + Me.CB_Anime.Location = New System.Drawing.Point(17, 86) + Me.CB_Anime.Name = "CB_Anime" + Me.CB_Anime.Size = New System.Drawing.Size(100, 19) + Me.CB_Anime.TabIndex = 27 + Me.CB_Anime.Text = "Series Name" + Me.CB_Anime.UseSelectable = True ' 'Einstellungen ' @@ -1857,6 +1960,7 @@ Partial Class Einstellungen Me.GB_Filename_Pre.ResumeLayout(False) Me.GB_Filename_Pre.PerformLayout() Me.GroupBox12.ResumeLayout(False) + Me.GroupBox12.PerformLayout() Me.MetroTabPage1.ResumeLayout(False) Me.GroupBox20.ResumeLayout(False) Me.GroupBox20.PerformLayout() @@ -1992,7 +2096,6 @@ Partial Class Einstellungen Friend WithEvents LeadingZeroDD As MetroFramework.Controls.MetroComboBox Friend WithEvents DD_Episode_Prefix As MetroFramework.Controls.MetroComboBox Friend WithEvents DD_Season_Prefix As MetroFramework.Controls.MetroComboBox - Friend WithEvents CR_Filename As MetroFramework.Controls.MetroComboBox Friend WithEvents GroupBox17 As GroupBox Friend WithEvents GroupBox3 As GroupBox Friend WithEvents LangNameType_DD As MetroFramework.Controls.MetroComboBox @@ -2013,4 +2116,11 @@ Partial Class Einstellungen Friend WithEvents Intel_AV1 As ToolStripMenuItem Friend WithEvents CPU_AV1 As ToolStripMenuItem Friend WithEvents nv_AV1 As ToolStripMenuItem + Public WithEvents CB_EpisodeName As MetroFramework.Controls.MetroCheckBox + Public WithEvents CB_AnimeDub As MetroFramework.Controls.MetroCheckBox + Public WithEvents CB_EpisodeNR As MetroFramework.Controls.MetroCheckBox + Public WithEvents CB_AnimeSub As MetroFramework.Controls.MetroCheckBox + Public WithEvents CB_Season As MetroFramework.Controls.MetroCheckBox + Public WithEvents CB_Anime As MetroFramework.Controls.MetroCheckBox + Friend WithEvents TB_NameString As MetroFramework.Controls.MetroTextBox End Class diff --git a/Crunchyroll Downloader/einstellungen.vb b/Crunchyroll Downloader/einstellungen.vb index 49cc0f8..d9ef642 100644 --- a/Crunchyroll Downloader/einstellungen.vb +++ b/Crunchyroll Downloader/einstellungen.vb @@ -116,17 +116,8 @@ Public Class Einstellungen ' RB_pt.Checked = True 'End If Next - If Main.CR_NameMethode = 0 Then - CR_Filename.SelectedIndex = 0 - ElseIf Main.CR_NameMethode = 1 Then - CR_Filename.SelectedIndex = 1 - ElseIf Main.CR_NameMethode = 2 Then - CR_Filename.SelectedIndex = 2 - ElseIf Main.CR_NameMethode = 3 Then - CR_Filename.SelectedIndex = 3 - Else - CR_Filename.SelectedIndex = 0 - End If + + 'TB_NameString.Text = Main.NameBuilder Me.Location = New Point(CInt(Main.Location.X + Main.Width / 2 - Me.Width / 2), CInt(Main.Location.Y + Main.Height / 2 - Me.Height / 2)) Try @@ -328,6 +319,29 @@ Public Class Einstellungen CR_SoftSubDefault.SelectedItem = "[Disabled]" End If + + Dim NameParts As String() = Main.NameBuilder.Split(New String() {";"}, System.StringSplitOptions.RemoveEmptyEntries) + + + For i As Integer = 0 To NameParts.Count - 1 + + If NameParts(i) = "AnimeTitle" Then + CB_Anime.Checked = True + ElseIf NameParts(i) = "Season" Then + CB_Season.Checked = True + ElseIf NameParts(i) = "EpisodeNR" Then + CB_EpisodeNR.Checked = True + ElseIf NameParts(i) = "EpisodeName" Then + CB_EpisodeName.Checked = True + ElseIf NameParts(i) = "AnimeDub" Then + CB_AnimeDub.Checked = True + ElseIf NameParts(i) = "AnimeSub" Then + CB_AnimeSub.Checked = True + End If + + Next + + End Sub Private Sub Btn_Save_Click(sender As Object, e As EventArgs) Handles Btn_Save.Click @@ -488,19 +502,8 @@ Public Class Einstellungen End If - If CR_Filename.Text = "[episode number]" Then - Main.CR_NameMethode = 0 - My.Settings.CR_NameMethode = Main.CR_NameMethode - ElseIf CR_Filename.Text = "[episode name]" Then - Main.CR_NameMethode = 1 - My.Settings.CR_NameMethode = Main.CR_NameMethode - ElseIf CR_Filename.Text = "[episode number] [episode name]" Then - Main.CR_NameMethode = 2 - My.Settings.CR_NameMethode = Main.CR_NameMethode - ElseIf CR_Filename.Text = "[episode name] [episode number]" Then - Main.CR_NameMethode = 3 - My.Settings.CR_NameMethode = Main.CR_NameMethode - End If + Main.NameBuilder = TB_NameString.Text + If CB_Format.Text = "MKV" Then Main.VideoFormat = ".mkv" @@ -1248,6 +1251,49 @@ Public Class Einstellungen End If End Sub +#Region "Build Name String" + + Private Sub CB_Anime_CheckedChanged(sender As Object, e As EventArgs) Handles CB_Anime.CheckedChanged, CB_Season.CheckedChanged, CB_EpisodeNR.CheckedChanged, CB_EpisodeName.CheckedChanged, CB_AnimeDub.CheckedChanged, CB_AnimeSub.CheckedChanged + If CB_Anime.Checked = True And CBool(InStr(TB_NameString.Text, "AnimeTitle;")) = False Then + TB_NameString.AppendText("AnimeTitle;") + ElseIf CB_Anime.Checked = False Then + TB_NameString.Text = TB_NameString.Text.Replace("AnimeTitle;", "") + End If + + If CB_Season.Checked = True And CBool(InStr(TB_NameString.Text, "Season;")) = False Then + TB_NameString.AppendText("Season;") + ElseIf CB_Season.Checked = False Then + TB_NameString.Text = TB_NameString.Text.Replace("Season;", "") + End If + + If CB_EpisodeNR.Checked = True And CBool(InStr(TB_NameString.Text, "EpisodeNR;")) = False Then + TB_NameString.AppendText("EpisodeNR;") + ElseIf CB_EpisodeNR.Checked = False Then + TB_NameString.Text = TB_NameString.Text.Replace("EpisodeNR;", "") + End If + + If CB_EpisodeName.Checked = True And CBool(InStr(TB_NameString.Text, "EpisodeName;")) = False Then + TB_NameString.AppendText("EpisodeName;") + ElseIf CB_EpisodeName.Checked = False Then + TB_NameString.Text = TB_NameString.Text.Replace("EpisodeName;", "") + End If + + If CB_AnimeDub.Checked = True And CBool(InStr(TB_NameString.Text, "AnimeDub;")) = False Then + TB_NameString.AppendText("AnimeDub;") + ElseIf CB_AnimeDub.Checked = False Then + TB_NameString.Text = TB_NameString.Text.Replace("AnimeDub;", "") + End If + + If CB_AnimeSub.Checked = True And CBool(InStr(TB_NameString.Text, "AnimeSub;")) = False Then + TB_NameString.AppendText("AnimeSub;") + ElseIf CB_AnimeSub.Checked = False Then + TB_NameString.Text = TB_NameString.Text.Replace("AnimeSub;", "") + End If + + End Sub + + +#End Region #End Region