public TvdbLibAccess(IConfiguration configuration, List<IEpisodeMatchMethod> matchMethods, ITvDbService tvDbService) { this.config = configuration; this.matchMethods = matchMethods; this.tvDbService = tvDbService; this.Init(); }
public Database(ITvDbService tvDbService) { TvDb = tvDbService; //Add records to QualityTable QualityTable.Add(1, "xvid"); QualityTable.Add(2, "720p"); Aliases.Add(new ShowAlias("CSI", "CSI: Crime Scene Investigation")); Aliases.Add(new ShowAlias("CSI Miami", "CSI: Miami")); Aliases.Add(new ShowAlias("CSI New Nork", "CSI: NY")); Aliases.Add(new ShowAlias("CSI NY", "CSI: NY")); Aliases.Add(new ShowAlias("The Office", "The Office (US)")); Aliases.Add(new ShowAlias("Law and Order", "Law & Order")); Aliases.Add(new ShowAlias("Law and Order CI", "Law & Order: Criminal Intent")); Aliases.Add(new ShowAlias("Law and Order Criminal Intent", "Law & Order: Criminal Intent")); Aliases.Add(new ShowAlias("Law and Order SVU", "Law & Order: Special Victims Unit")); Aliases.Add(new ShowAlias("Law and Order Special Victims Unit", "Law & Order: Special Victims Unit")); Aliases.Add(new ShowAlias("David Letterman", "Late Show with David Letterman")); Aliases.Add(new ShowAlias("Dancing With the Stars US", "Dancing With the Stars")); Aliases.Add(new ShowAlias("Pure Pwnage TV", "Pure Pwnage")); Aliases.Add(new ShowAlias("The City", "The City (2008)")); Aliases.Add(new ShowAlias("Rob Dyrdeks Fantasy Factory", "Rob Dyrdek's Fantasy Factory")); Aliases.Add(new ShowAlias("Its Always Sunny in Philadelphia", "It's Always Sunny in Philadelphia")); Aliases.Add(new ShowAlias("Hawaii Five 0", "Hawaii Five-0 (2010)")); Aliases.Add(new ShowAlias("Hawaii Five 0 2010", "Hawaii Five-0 (2010)")); Aliases.Add(new ShowAlias("Kitchen Nightmares US", "Kitchen Nightmares")); }
public TvdbLibAccess(IConfiguration configuration, List <IEpisodeMatchMethod> matchMethods, ITvDbService tvDbService) { this.config = configuration; this.matchMethods = matchMethods; this.tvDbService = tvDbService; this.Init(); }
public SyncJob(Config config, ISabService sabService, ITvDbService tvDbService) { Summary = new List<string>(); Queued = new List<string>(); Config = config; Sab = sabService; TvDb = tvDbService; }