Exemplo n.º 1
0
        public RoadieSettings()
        {
            DbContextToUse    = DbContexts.SQLite;
            ArtistNameReplace = new Dictionary <string, IEnumerable <string> >
            {
                { "AC/DC", new List <string> {
                      "AC; DC", "AC;DC", "AC/ DC", "AC DC"
                  } },
                { "Love/Hate", new List <string> {
                      "Love; Hate", "Love;Hate", "Love/ Hate", "Love Hate"
                  } }
            };
            DefaultTimeZone = "US / Central";
            DontDoMetaDataProvidersSearchArtists = new List <string> {
                "Various Artists", "Sound Tracks"
            };
            FileExtensionsToDelete = new List <string> {
                ".accurip", ".cue", ".dat", ".db", ".exe", ".htm", ".html", ".ini", ".log", ".par", ".par2", ".pdf", ".md5", ".mht", ".mpg", ".m3u", ".nfo", ".nzb", ".pls", ".sfv", ".srr", ".txt", ".url"
            };
            InboundFolder  = "data/inbound";
            LargeImageSize = new ImageSize {
                Width = 500, Height = 500
            };
            LibraryFolder    = "data/library";
            MaximumImageSize = new ImageSize {
                Width = 2048, Height = 2048
            };
            MediumImageSize = new ImageSize {
                Width = 320, Height = 320
            };
            RecordNoResultSearches = true;
            SiteName       = "Roadie";
            SmallImageSize = new ImageSize {
                Width = 160, Height = 160
            };
            ThumbnailImageSize = new ImageSize {
                Width = 80, Height = 80
            };
            DefaultRowsPerPage = 12;

            SmtpFromAddress = "*****@*****.**";
            SmtpPort        = 587;
            SmtpUsername    = "******";
            SmtpUseSSl      = true;

            Inspector           = new Inspector();
            Converting          = new Converting();
            FileDatabaseOptions = new FileDatabaseOptions();
            Integrations        = new Integrations();
            Processing          = new Processing();
            Dlna = new Dlna();
        }
Exemplo n.º 2
0
 public RoadieSettings()
 {
     ThumbnailImageSize = new ImageSize {
         Width = 80, Height = 80
     };
     SmallImageSize = new ImageSize {
         Width = 160, Height = 160
     };
     MediumImageSize = new ImageSize {
         Width = 320, Height = 320
     };
     LargeImageSize = new ImageSize {
         Width = 500, Height = 500
     };
     MaximumImageSize = new ImageSize {
         Width = 1024, Height = 1024
     };
     Inspector    = new Inspector();
     Converting   = new Converting();
     Integrations = new Integrations();
     Processing   = new Processing();
 }