diff --git a/frontend/src/Settings/MediaManagement/Naming/NamingModal.js b/frontend/src/Settings/MediaManagement/Naming/NamingModal.js index 90445f961..eda8716db 100644 --- a/frontend/src/Settings/MediaManagement/Naming/NamingModal.js +++ b/frontend/src/Settings/MediaManagement/Naming/NamingModal.js @@ -58,6 +58,7 @@ const movieTokens = [ { token: '{Movie OriginalTitle}', example: 'Τίτλος ταινίας' }, { token: '{Movie CleanOriginalTitle}', example: 'Τίτλος ταινίας' }, { token: '{Movie TitleFirstCharacter}', example: 'M' }, + { token: '{Movie TitleFirstCharacter:DE}', example: 'T' }, { token: '{Movie Collection}', example: 'The Movie Collection' }, { token: '{Movie Certification}', example: 'R' }, { token: '{Release Year}', example: '2009' } diff --git a/src/NzbDrone.Core/Organizer/FileNameBuilder.cs b/src/NzbDrone.Core/Organizer/FileNameBuilder.cs index bf897514f..ca9d84066 100644 --- a/src/NzbDrone.Core/Organizer/FileNameBuilder.cs +++ b/src/NzbDrone.Core/Organizer/FileNameBuilder.cs @@ -248,7 +248,7 @@ namespace NzbDrone.Core.Organizer tokenHandlers["{Movie Title}"] = m => GetLanguageTitle(movie, m.CustomFormat); tokenHandlers["{Movie CleanTitle}"] = m => CleanTitle(GetLanguageTitle(movie, m.CustomFormat)); tokenHandlers["{Movie TitleThe}"] = m => TitleThe(movie.Title); - tokenHandlers["{Movie TitleFirstCharacter}"] = m => TitleThe(movie.Title).Substring(0, 1).FirstCharToUpper(); + tokenHandlers["{Movie TitleFirstCharacter}"] = m => TitleThe(GetLanguageTitle(movie, m.CustomFormat)).Substring(0, 1).FirstCharToUpper(); tokenHandlers["{Movie OriginalTitle}"] = m => movie.MovieMetadata.Value.OriginalTitle ?? string.Empty; tokenHandlers["{Movie CleanOriginalTitle}"] = m => CleanTitle(movie.MovieMetadata.Value.OriginalTitle) ?? string.Empty;