New: Added UI for parsing release names

(cherry picked from commit 85e285598106346099ceae676599c5cb4b789c92)
This commit is contained in:
Mark McDowall 2023-05-07 18:55:00 -07:00 committed by Bogdan
commit 2ad7396f6d
27 changed files with 847 additions and 40 deletions

View file

@ -11263,6 +11263,10 @@
"ParsedAlbumInfo": {
"type": "object",
"properties": {
"releaseTitle": {
"type": "string",
"nullable": true
},
"albumTitle": {
"type": "string",
"nullable": true
@ -11307,10 +11311,6 @@
"releaseVersion": {
"type": "string",
"nullable": true
},
"releaseTitle": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false

View file

@ -53,6 +53,7 @@
"AlbumCount": "Album Count",
"AlbumDetails": "Album Details",
"AlbumHasNotAired": "Album has not aired",
"AlbumInfo": "Album Info",
"AlbumIsDownloading": "Album is downloading",
"AlbumIsDownloadingInterp": "Album is downloading - {0}% {1}",
"AlbumIsNotMonitored": "Album is not monitored",
@ -467,6 +468,7 @@
"FailedDownloadHandling": "Failed Download Handling",
"FailedLoadingSearchResults": "Failed to load search results, please try again.",
"FailedToLoadQueue": "Failed to load Queue",
"False": "False",
"FileDateHelpText": "Change file date on import/rescan",
"FileManagement": "File Management",
"FileNameTokens": "File Name Tokens",
@ -677,6 +679,8 @@
"MarkAsFailedMessageText": "Are you sure you want to mark '{0}' as failed?",
"MassAlbumsCutoffUnmetWarning": "Are you sure you want to search for all '{0}' Cutoff Unmet albums?",
"MassSearchCancelWarning": "This cannot be cancelled once started without restarting {appName} or disabling all of your indexers.",
"MatchedToAlbums": "Matched to Albums",
"MatchedToArtist": "Matched to Artist",
"MaximumLimits": "Maximum Limits",
"MaximumSize": "Maximum Size",
"MaximumSizeHelpText": "Maximum size for a release to be grabbed in MB. Set to zero to set to unlimited.",
@ -836,6 +840,11 @@
"PackageVersion": "Package Version",
"PageSize": "Page Size",
"PageSizeHelpText": "Number of items to show on each page",
"Parse": "Parse",
"ParseModalErrorParsing": "Error parsing, please try again.",
"ParseModalHelpText": "Enter a release title in the input above",
"ParseModalHelpTextDetails": "{appName} will attempt to parse the title and show you details about it",
"ParseModalUnableToParse": "Unable to parse the provided title, please try again.",
"Password": "Password",
"PasswordConfirmation": "Password Confirmation",
"PastDays": "Past Days",
@ -982,6 +991,7 @@
"RenameTracksHelpText": "{appName} will use the existing file name if renaming is disabled",
"Renamed": "Renamed",
"Reorder": "Reorder",
"Repack": "Repack",
"Replace": "Replace",
"ReplaceExistingFiles": "Replace Existing Files",
"ReplaceIllegalCharacters": "Replace Illegal Characters",
@ -1154,6 +1164,7 @@
"TestAllClients": "Test All Clients",
"TestAllIndexers": "Test All Indexers",
"TestAllLists": "Test All Lists",
"TestParsing": "Test Parsing",
"TheAlbumsFilesWillBeDeleted": "The album's files will be deleted.",
"TheArtistFolderStrongpathstrongAndAllOfItsContentWillBeDeleted": "The artist folder '{0}' and all of its content will be deleted.",
"Theme": "Theme",
@ -1193,6 +1204,7 @@
"TrackStatus": "Track status",
"TrackTitle": "Track Title",
"Tracks": "Tracks",
"True": "True",
"Type": "Type",
"URLBase": "URL Base",
"Ui": "UI",

View file

@ -6,6 +6,7 @@ namespace NzbDrone.Core.Parser.Model
{
public class ParsedAlbumInfo
{
public string ReleaseTitle { get; set; }
public string AlbumTitle { get; set; }
public string ArtistName { get; set; }
public string AlbumType { get; set; }
@ -18,7 +19,6 @@ namespace NzbDrone.Core.Parser.Model
public string ReleaseGroup { get; set; }
public string ReleaseHash { get; set; }
public string ReleaseVersion { get; set; }
public string ReleaseTitle { get; set; }
[JsonIgnore]
public Dictionary<string, object> ExtraInfo { get; set; } = new Dictionary<string, object>();