mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-24 22:35:49 -04:00
New: Custom Format Updates (#8067)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.CustomFormats;
|
||||
using NzbDrone.Core.Languages;
|
||||
using NzbDrone.Core.MediaFiles.MediaInfo;
|
||||
using NzbDrone.Core.Movies;
|
||||
@@ -10,6 +11,7 @@ namespace NzbDrone.Core.Parser.Model
|
||||
{
|
||||
public LocalMovie()
|
||||
{
|
||||
CustomFormats = new List<CustomFormat>();
|
||||
}
|
||||
|
||||
public string Path { get; set; }
|
||||
@@ -27,6 +29,8 @@ namespace NzbDrone.Core.Parser.Model
|
||||
public string Edition { get; set; }
|
||||
public string SceneName { get; set; }
|
||||
public bool OtherVideoFiles { get; set; }
|
||||
public List<CustomFormat> CustomFormats { get; set; }
|
||||
public int CustomFormatScore { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
|
||||
@@ -25,8 +25,7 @@ namespace NzbDrone.Core.Parser.Model
|
||||
public int Year { get; set; }
|
||||
public string ImdbId { get; set; }
|
||||
public int TmdbId { get; set; }
|
||||
[JsonIgnore]
|
||||
public Dictionary<string, object> ExtraInfo { get; set; } = new Dictionary<string, object>();
|
||||
public string HardcodedSubs { get; set; }
|
||||
|
||||
public string MovieTitle => PrimaryMovieTitle;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.CustomFormats;
|
||||
using NzbDrone.Core.Download.Clients;
|
||||
using NzbDrone.Core.Languages;
|
||||
using NzbDrone.Core.Movies;
|
||||
|
||||
namespace NzbDrone.Core.Parser.Model
|
||||
@@ -15,6 +16,13 @@ namespace NzbDrone.Core.Parser.Model
|
||||
public MappingResultType MappingResult { get; set; }
|
||||
public bool DownloadAllowed { get; set; }
|
||||
public TorrentSeedConfiguration SeedConfiguration { get; set; }
|
||||
public List<Language> Languages { get; set; }
|
||||
|
||||
public RemoteMovie()
|
||||
{
|
||||
CustomFormats = new List<CustomFormat>();
|
||||
Languages = new List<Language>();
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user