diff --git a/src/NzbDrone.Api/Movies/MovieModule.cs b/src/NzbDrone.Api/Movies/MovieModule.cs index 2b8c08c04..f0424e0eb 100644 --- a/src/NzbDrone.Api/Movies/MovieModule.cs +++ b/src/NzbDrone.Api/Movies/MovieModule.cs @@ -23,8 +23,8 @@ using Nancy; namespace NzbDrone.Api.Movies { public class MovieModule : NzbDroneRestModuleWithSignalR, - IHandle, - IHandle, + IHandle, + IHandle, IHandle, IHandle, IHandle, @@ -258,16 +258,16 @@ namespace NzbDrone.Api.Movies //resource.AlternateTitles = mappings.Select(v => new AlternateTitleResource { Title = v.Title, SeasonNumber = v.SeasonNumber, SceneSeasonNumber = v.SceneSeasonNumber }).ToList(); } - public void Handle(EpisodeImportedEvent message) + public void Handle(MovieImportedEvent message) { - //BroadcastResourceChange(ModelAction.Updated, message.ImportedEpisode.MovieId); + BroadcastResourceChange(ModelAction.Updated, message.ImportedMovie.MovieId); } - public void Handle(EpisodeFileDeletedEvent message) + public void Handle(MovieFileDeletedEvent message) { if (message.Reason == DeleteMediaFileReason.Upgrade) return; - //BroadcastResourceChange(ModelAction.Updated, message.EpisodeFile.MovieId); + BroadcastResourceChange(ModelAction.Updated, message.MovieFile.MovieId); } public void Handle(MovieUpdatedEvent message)