public TransmissionNetDownloader(IConfig config) { var settings = config.GetConfigurationSettings(); string url = settings.TransmissionUrl; transmission = new TransmissionRPC(new Uri(url)); baseDownloadDir = settings.BaseDownloadDir; }
public EMailNotifier(IConfig config) { settings = config.GetConfigurationSettings(); smtpServer = settings.SMTPServer; smtpUser = settings.SMTPUser; smtpPassword = settings.SMTPPassword; from = settings.From; to = settings.To; subject = settings.Subject; }
public ShowRssNewShowProvider(IConfig config) { var settings = config.GetConfigurationSettings(); feedUrl = settings.FeedUrl; hoursOffset = Convert.ToInt32(settings.HoursOffset); }
public LegendasTvSubtitler(IConfig config) { var settings = config.GetConfigurationSettings(); userName = settings.UserName; password = settings.Password; }
public OSDBNetSubtitler(IConfig config) { var settings = config.GetConfigurationSettings(); userAgent = settings.UserAgent; languages = ((string)settings.Languages).Split(','); }