using System; using System.Collections.Generic; namespace Roadie.Library.Configuration { [Serializable] public sealed class RoadieSettings : IRoadieSettings { /// /// If the artist name is found in the values then use the key. /// This was desgined to handle 'AC/DC' type names as they contain the ID3 v2.3 spec artist seperator /// public Dictionary> ArtistNameReplace { get; set; } /// /// Set to the Roadie Database for DbDataReader operations /// public string ConnectionString { get; set; } /// /// This is the phsycial path to the content folder (which holds among other things place-holder images) /// public string ContentPath { get; set; } public Converting Converting { get; set; } public string DefaultTimeZone { get; set; } public string DiagnosticsPassword { get; set; } public IEnumerable DontDoMetaDataProvidersSearchArtists { get; set; } public IEnumerable FileExtensionsToDelete { get; set; } public FilePlugins FilePlugins { get; set; } public string InboundFolder { get; set; } public Integrations Integrations { get; set; } public ImageSize LargeImageSize { get; set; } public string LibraryFolder { get; set; } public string ListenAddress { get; set; } public ImageSize MediumImageSize { get; set; } public Processing Processing { get; set; } public bool RecordNoResultSearches { get; set; } public RedisCache Redis { get; set; } public ImageSize SmallImageSize { get; set; } public string SecretKey { get; set; } public string SingleArtistHoldingFolder { get; set; } public string SiteName { get; set; } public string SmtpFromAddress { get; set; } public string SmtpHost { get; set; } public string SmtpPassword { get; set; } public int SmtpPort { get; set; } public string SmtpUsername { get; set; } public bool SmtpUseSSl { get; set; } public ImageSize ThumbnailImageSize { get; set; } public Dictionary TrackPathReplace { get; set; } public bool UseSSLBehindProxy { get; set; } public string WebsocketAddress { get; set; } public RoadieSettings() { this.ThumbnailImageSize = new ImageSize { Width = 80, Height = 80 }; this.SmallImageSize = new ImageSize { Width = 160, Height = 160 }; this.MediumImageSize = new ImageSize { Width = 320, Height = 320 }; this.LargeImageSize = new ImageSize { Width = 500, Height = 500 }; } } }