1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-26 09:49:00 +00:00

Fixed bug where movies and moviefiles were not linked.

This commit is contained in:
Leonardo Galli 2017-01-06 15:37:44 +01:00
parent 9aa8050627
commit 4fd062b4e3

View file

@ -109,7 +109,7 @@ public List<Movie> GetMoviesByFileId(int fileId)
return Query.Where(m => m.MovieFileId == fileId).ToList();
}
public void SetFileId(int episodeId, int fileId)
public void SetFileId(int fileId, int episodeId)
{
SetFields(new Movie { Id = episodeId, MovieFileId = fileId }, movie => movie.MovieFileId);
}