diff options
Diffstat (limited to 'MediaBrowser.Model/FileOrganization')
8 files changed, 0 insertions, 251 deletions
diff --git a/MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs b/MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs deleted file mode 100644 index 830d55bf5..000000000 --- a/MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs +++ /dev/null @@ -1,24 +0,0 @@ - -namespace MediaBrowser.Model.FileOrganization -{ - public class AutoOrganizeOptions - { - /// <summary> - /// Gets or sets the tv options. - /// </summary> - /// <value>The tv options.</value> - public TvFileOrganizationOptions TvOptions { get; set; } - - /// <summary> - /// Gets or sets a list of smart match entries. - /// </summary> - /// <value>The smart match entries.</value> - public SmartMatchInfo[] SmartMatchInfos { get; set; } - - public AutoOrganizeOptions() - { - TvOptions = new TvFileOrganizationOptions(); - SmartMatchInfos = new SmartMatchInfo[]{}; - } - } -} diff --git a/MediaBrowser.Model/FileOrganization/EpisodeFileOrganizationRequest.cs b/MediaBrowser.Model/FileOrganization/EpisodeFileOrganizationRequest.cs deleted file mode 100644 index b20e43e54..000000000 --- a/MediaBrowser.Model/FileOrganization/EpisodeFileOrganizationRequest.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.Collections.Generic; - -namespace MediaBrowser.Model.FileOrganization -{ - public class EpisodeFileOrganizationRequest - { - public string ResultId { get; set; } - - public string SeriesId { get; set; } - - public int SeasonNumber { get; set; } - - public int EpisodeNumber { get; set; } - - public int? EndingEpisodeNumber { get; set; } - - public bool RememberCorrection { get; set; } - public string NewSeriesName { get; set; } - - public string NewSeriesYear { get; set; } - - public string TargetFolder { get; set; } - - public Dictionary<string, string> NewSeriesProviderIds { get; set; } - } -}
\ No newline at end of file diff --git a/MediaBrowser.Model/FileOrganization/FileOrganizationResult.cs b/MediaBrowser.Model/FileOrganization/FileOrganizationResult.cs deleted file mode 100644 index caf99183d..000000000 --- a/MediaBrowser.Model/FileOrganization/FileOrganizationResult.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace MediaBrowser.Model.FileOrganization -{ - public class FileOrganizationResult - { - /// <summary> - /// Gets or sets the result identifier. - /// </summary> - /// <value>The result identifier.</value> - public string Id { get; set; } - - /// <summary> - /// Gets or sets the original path. - /// </summary> - /// <value>The original path.</value> - public string OriginalPath { get; set; } - - /// <summary> - /// Gets or sets the name of the original file. - /// </summary> - /// <value>The name of the original file.</value> - public string OriginalFileName { get; set; } - - /// <summary> - /// Gets or sets the name of the extracted. - /// </summary> - /// <value>The name of the extracted.</value> - public string ExtractedName { get; set; } - - /// <summary> - /// Gets or sets the extracted year. - /// </summary> - /// <value>The extracted year.</value> - public int? ExtractedYear { get; set; } - - /// <summary> - /// Gets or sets the extracted season number. - /// </summary> - /// <value>The extracted season number.</value> - public int? ExtractedSeasonNumber { get; set; } - - /// <summary> - /// Gets or sets the extracted episode number. - /// </summary> - /// <value>The extracted episode number.</value> - public int? ExtractedEpisodeNumber { get; set; } - - /// <summary> - /// Gets or sets the extracted ending episode number. - /// </summary> - /// <value>The extracted ending episode number.</value> - public int? ExtractedEndingEpisodeNumber { get; set; } - - /// <summary> - /// Gets or sets the target path. - /// </summary> - /// <value>The target path.</value> - public string TargetPath { get; set; } - - /// <summary> - /// Gets or sets the date. - /// </summary> - /// <value>The date.</value> - public DateTime Date { get; set; } - - /// <summary> - /// Gets or sets the error message. - /// </summary> - /// <value>The error message.</value> - public string StatusMessage { get; set; } - - /// <summary> - /// Gets or sets the status. - /// </summary> - /// <value>The status.</value> - public FileSortingStatus Status { get; set; } - - /// <summary> - /// Gets or sets the type. - /// </summary> - /// <value>The type.</value> - public FileOrganizerType Type { get; set; } - - /// <summary> - /// Gets or sets the duplicate paths. - /// </summary> - /// <value>The duplicate paths.</value> - public List<string> DuplicatePaths { get; set; } - - /// <summary> - /// Gets or sets the size of the file. - /// </summary> - /// <value>The size of the file.</value> - public long FileSize { get; set; } - - /// <summary> - /// Indicates if the item is currently being processed. - /// </summary> - /// <remarks>Runtime property not persisted to the store.</remarks> - public bool IsInProgress { get; set; } - - public FileOrganizationResult() - { - DuplicatePaths = new List<string>(); - } - } -} diff --git a/MediaBrowser.Model/FileOrganization/FileOrganizationResultQuery.cs b/MediaBrowser.Model/FileOrganization/FileOrganizationResultQuery.cs deleted file mode 100644 index 18287534e..000000000 --- a/MediaBrowser.Model/FileOrganization/FileOrganizationResultQuery.cs +++ /dev/null @@ -1,18 +0,0 @@ - -namespace MediaBrowser.Model.FileOrganization -{ - public class FileOrganizationResultQuery - { - /// <summary> - /// Skips over a given number of items within the results. Use for paging. - /// </summary> - /// <value>The start index.</value> - public int? StartIndex { get; set; } - - /// <summary> - /// The maximum number of items to return - /// </summary> - /// <value>The limit.</value> - public int? Limit { get; set; } - } -} diff --git a/MediaBrowser.Model/FileOrganization/FileOrganizerType.cs b/MediaBrowser.Model/FileOrganization/FileOrganizerType.cs deleted file mode 100644 index cbbeb9ce2..000000000 --- a/MediaBrowser.Model/FileOrganization/FileOrganizerType.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace MediaBrowser.Model.FileOrganization -{ - public enum FileOrganizerType - { - Movie, - Episode, - Song - } -}
\ No newline at end of file diff --git a/MediaBrowser.Model/FileOrganization/FileSortingStatus.cs b/MediaBrowser.Model/FileOrganization/FileSortingStatus.cs deleted file mode 100644 index 8a467c05f..000000000 --- a/MediaBrowser.Model/FileOrganization/FileSortingStatus.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace MediaBrowser.Model.FileOrganization -{ - public enum FileSortingStatus - { - Success, - Failure, - SkippedExisting - } -}
\ No newline at end of file diff --git a/MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs b/MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs deleted file mode 100644 index 28c99b89b..000000000 --- a/MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs +++ /dev/null @@ -1,16 +0,0 @@ - -namespace MediaBrowser.Model.FileOrganization -{ - public class SmartMatchInfo - { - public string ItemName { get; set; } - public string DisplayName { get; set; } - public FileOrganizerType OrganizerType { get; set; } - public string[] MatchStrings { get; set; } - - public SmartMatchInfo() - { - MatchStrings = new string[] { }; - } - } -} diff --git a/MediaBrowser.Model/FileOrganization/TvFileOrganizationOptions.cs b/MediaBrowser.Model/FileOrganization/TvFileOrganizationOptions.cs deleted file mode 100644 index 973ecf6e7..000000000 --- a/MediaBrowser.Model/FileOrganization/TvFileOrganizationOptions.cs +++ /dev/null @@ -1,40 +0,0 @@ - -namespace MediaBrowser.Model.FileOrganization -{ - public class TvFileOrganizationOptions - { - public bool IsEnabled { get; set; } - public int MinFileSizeMb { get; set; } - public string[] LeftOverFileExtensionsToDelete { get; set; } - public string[] WatchLocations { get; set; } - - public string SeasonFolderPattern { get; set; } - - public string SeasonZeroFolderName { get; set; } - - public string EpisodeNamePattern { get; set; } - public string MultiEpisodeNamePattern { get; set; } - - public bool OverwriteExistingEpisodes { get; set; } - - public bool DeleteEmptyFolders { get; set; } - - public bool CopyOriginalFile { get; set; } - - public TvFileOrganizationOptions() - { - MinFileSizeMb = 50; - - LeftOverFileExtensionsToDelete = new string[] { }; - - WatchLocations = new string[] { }; - - EpisodeNamePattern = "%sn - %sx%0e - %en.%ext"; - MultiEpisodeNamePattern = "%sn - %sx%0e-x%0ed - %en.%ext"; - SeasonFolderPattern = "Season %s"; - SeasonZeroFolderName = "Season 0"; - - CopyOriginalFile = false; - } - } -} |
