示例#1
0
        private string adjustUmlauts(string input)
        {
            UmlautAction ua = readUmlautUsage();

            if (ua == UmlautAction.Use && language == Helper.Languages.German)
            {
                input = transformDoubleLetterToUmalauts(input);
            }
            else if (ua == UmlautAction.Dont_Use)
            {
                input = replaceUmlautsAndSpecialChars(input);
            }
            return(input);
        }
示例#2
0
        private UmlautAction readUmlautUsage()
        {
            UmlautAction ua = umlautUsage;

            if (ua == UmlautAction.Unset)
            {
                ua = Helper.ReadEnum <UmlautAction>(Config.Umlaute);
                if (ua == UmlautAction.Unset)
                {
                    ua = UmlautAction.Ignore;
                }
            }
            return(ua);
        }
示例#3
0
        private UmlautAction readUmlautUsage()
        {
            UmlautAction ua = umlautAction;

            if (ua == UmlautAction.Unset)
            {
                ua = Helper.ReadEnum <UmlautAction>(ConfigKeyConstants.DIACRITIC_STRATEGY_KEY);
                if (ua == UmlautAction.Unset)
                {
                    ua = UmlautAction.Ignore;
                }
            }
            return(ua);
        }
示例#4
0
        private void initMembers()
        {
            source      = new Filepath();
            destination = new Filepath();

            nameOfSeries  = "";
            nameOfEpisode = "";

            season  = -1;
            episode = -1;

            isVideofile         = false;
            isSubtitle          = false;
            processingRequested = true;
            isMovie             = false;

            umlautUsage = UmlautAction.Unset;
            casing      = Case.Unset;
            createDirectoryStructure = DirectoryStructure.Unset;
            language           = Helper.Languages.None;
            ExtractedNameLevel = 0;
        }
示例#5
0
        private void initMembers()
        {
            originalPath    = new Filepath();
            destinationPath = new Filepath();

            showname     = "";
            episodeTitle = "";

            seasonNr  = -1;
            episodeNr = -1;

            isVideoFile         = false;
            isSubtitleFile      = false;
            processingRequested = true;
            isMovie             = false;

            umlautAction             = UmlautAction.Unset;
            caseAction               = CaseAction.Unset;
            directoryStructureAction = DirectoryStructureAction.Unset;
            language           = Helper.Languages.None;
            ExtractedNameLevel = 0;
        }
示例#6
0
        private void initMembers()
        {
            source = new Filepath();
            destination = new Filepath();

            nameOfSeries = "";
            nameOfEpisode = "";

            season = -1;
            episode = -1;

            isVideofile = false;
            isSubtitle = false;
            processingRequested = true;
            isMovie = false;

            umlautUsage = UmlautAction.Unset;
            casing = Case.Unset;
            createDirectoryStructure = DirectoryStructure.Unset;
            language = Helper.Languages.None;
            ExtractedNameLevel = 0;
        }
示例#7
0
        private void initMembers()
        {
            originalPath = new Filepath();
            destinationPath = new Filepath();

            showname = "";
            episodeTitle = "";

            seasonNr = -1;
            episodeNr = -1;

            isVideoFile = false;
            isSubtitleFile = false;
            processingRequested = true;
            isMovie = false;

            umlautAction = UmlautAction.Unset;
            caseAction = CaseAction.Unset;
            directoryStructureAction = DirectoryStructureAction.Unset;
            language = Helper.Languages.None;
            ExtractedNameLevel = 0;
        }