mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Fix issue when movie file is null.
This commit is contained in:
parent
a3d9fb1c20
commit
aa9537c201
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ namespace NzbDrone.Core.MediaFiles
|
|||
var existingFile = localEpisode.Movie.MovieFile;
|
||||
existingFile.LazyLoad();
|
||||
|
||||
if (existingFile.IsLoaded)
|
||||
if (existingFile.IsLoaded && existingFile.Value != null)
|
||||
{
|
||||
var file = existingFile.Value;
|
||||
var episodeFilePath = Path.Combine(localEpisode.Movie.Path, file.RelativePath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue