@ -17,31 +17,31 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc
public XbmcMetadataSettings ( )
public XbmcMetadataSettings ( )
{
{
MovieMetadata = true ;
MovieMetadata = true ;
MovieMetadataURL = false ;
MovieMetadataLanguage = ( int ) Language . English ;
MovieImages = true ;
UseMovieNfo = false ;
UseMovieNfo = false ;
MovieMetadataLanguage = ( int ) Language . English ;
MovieMetadataURL = false ;
AddCollectionName = true ;
AddCollectionName = true ;
MovieImages = true ;
}
}
[FieldDefinition(0, Label = "M ovie Metadata", Type = FieldType.Checkbox)]
[FieldDefinition(0, Label = "M etadataSettingsM ovieMetadata", Type = FieldType.Checkbox, Section = MetadataSectionType.Metadata, HelpText = "MetadataXmbcSettingsMovieMetadataHelpText" )]
public bool MovieMetadata { get ; set ; }
public bool MovieMetadata { get ; set ; }
[FieldDefinition(1, Label = "M ovie Metadata URL", Type = FieldType.Checkbox, HelpText = "Radarr will write the tmdb/imdb url in the .nfo file", Advanced = true )]
[FieldDefinition(1, Label = "M etadataSettingsMovieMetadataNfo", Type = FieldType.Checkbox, Section = MetadataSectionType.Metadata, HelpText = "MetadataXmbcSettingsMovieMetadataNfoHelpText" )]
public bool MovieMetadataURL { get ; set ; }
public bool UseMovieNfo { get ; set ; }
[FieldDefinition(2, Label = "Metadata Language", Type = FieldType.Select, SelectOptions = typeof(RealLanguageFieldConverter), HelpText = "Radarr will write metadata in the selected language if available ")]
[FieldDefinition(2, Label = "Metadata SettingsMovieMetadataLanguage", Type = FieldType.Select, SelectOptions = typeof(RealLanguageFieldConverter), Section = MetadataSectionType.Metadata, HelpText = "MetadataXmbcSettingsMovieMetadataLanguageHelpText ")]
public int MovieMetadataLanguage { get ; set ; }
public int MovieMetadataLanguage { get ; set ; }
[FieldDefinition(3, Label = "Movie Images", Type = FieldType.Checkbox)]
[FieldDefinition(3, Label = "MetadataSettingsMovieMetadataUrl", Type = FieldType.Checkbox, Section = MetadataSectionType.Metadata, HelpText = "MetadataXmbcSettingsMovieMetadataUrlHelpText", Advanced = true)]
public bool MovieImages { get ; set ; }
public bool MovieMetadataURL { get ; set ; }
[FieldDefinition(4, Label = "Use Movie.nfo", Type = FieldType.Checkbox, HelpText = "Radarr will write metadata to movie.nfo instead of the default <movie-filename>.nfo")]
public bool UseMovieNfo { get ; set ; }
[FieldDefinition( 5, Label = "Collection Name", Type = FieldType.Checkbox, HelpText = "Radarr will write the collection name to the .nfo file ", Advanced = true)]
[FieldDefinition(4, Label = "MetadataSettingsMovieMetadataCollectionName", Type = FieldType.Checkbox, Section = MetadataSectionType.Metadata, HelpText = "MetadataXmbcSettingsMovieMetadataCollectionNameHelpText", Advanced = true)]
public bool AddCollectionName { get ; set ; }
public bool AddCollectionName { get ; set ; }
[FieldDefinition(5, Label = "MetadataSettingsMovieImages", Type = FieldType.Checkbox, Section = MetadataSectionType.Image, HelpText = "fanart.jpg, poster.jpg")]
public bool MovieImages { get ; set ; }
public bool IsValid = > true ;
public bool IsValid = > true ;
public NzbDroneValidationResult Validate ( )
public NzbDroneValidationResult Validate ( )