You've already forked Sonarr
							
							
				mirror of
				https://github.com/Sonarr/Sonarr.git
				synced 2025-10-31 00:07:55 +02:00 
			
		
		
		
	Extending NamingConfigResource instead of rec recreating its properties
This commit is contained in:
		| @@ -1,18 +1,9 @@ | ||||
| using NzbDrone.Api.REST; | ||||
| using NzbDrone.Api.Config; | ||||
|  | ||||
| namespace NzbDrone.Api.Naming | ||||
| { | ||||
|     public class NamingResource : RestResource | ||||
|     public class NamingResource : NamingConfigResource | ||||
|     { | ||||
|         public bool RenameEpisodes { get; set; } | ||||
|         public string Separator { get; set; } | ||||
|         public int NumberStyle { get; set; } | ||||
|         public bool IncludeSeriesTitle { get; set; } | ||||
|         public bool IncludeEpisodeTitle { get; set; } | ||||
|         public bool IncludeQuality { get; set; } | ||||
|         public int MultiEpisodeStyle { get; set; } | ||||
|         public bool ReplaceSpaces { get; set; } | ||||
|  | ||||
|         public string SingleEpisodeExample { get; set; } | ||||
|         public string MultiEpisodeExample { get; set; } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user