mirror of
https://github.com/Radarr/Radarr
synced 2026-05-07 16:01:19 +02:00
Merge e417082690 into 9226876792
This commit is contained in:
commit
1f0f69aed6
1 changed files with 6 additions and 1 deletions
|
|
@ -655,7 +655,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