|
|
|
@ -359,7 +359,10 @@ namespace NzbDrone.Core.Tv
|
|
|
|
|
|
|
|
|
|
public void Handle(MovieFileAddedEvent message)
|
|
|
|
|
{
|
|
|
|
|
_movieRepository.SetFileId(message.MovieFile.Id, message.MovieFile.Movie.Value.Id);
|
|
|
|
|
var movie = message.MovieFile.Movie.Value;
|
|
|
|
|
movie.MovieFileId = message.MovieFile.Id;
|
|
|
|
|
_movieRepository.Update(movie);
|
|
|
|
|
//_movieRepository.SetFileId(message.MovieFile.Id, message.MovieFile.Movie.Value.Id);
|
|
|
|
|
_logger.Info("Linking [{0}] > [{1}]", message.MovieFile.RelativePath, message.MovieFile.Movie.Value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|