mirror of
https://github.com/Radarr/Radarr
synced 2025-12-06 08:28:50 +01:00
Merge e417082690 into b59ff0a3b1
This commit is contained in:
commit
e6fcc2116b
1 changed files with 6 additions and 1 deletions
|
|
@ -644,7 +644,12 @@ private string GetOriginalFileName(MovieFile movieFile, bool multipleTokens)
|
|||
{
|
||||
if (multipleTokens)
|
||||
{
|
||||
return string.Empty;
|
||||
if (movieFile.OriginalFilePath.IsNullOrWhiteSpace())
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
return Path.GetFileNameWithoutExtension(movieFile.OriginalFilePath);
|
||||
}
|
||||
|
||||
if (movieFile.RelativePath.IsNullOrWhiteSpace())
|
||||
|
|
|
|||
Loading…
Reference in a new issue