1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-26 01:38:24 +00:00

Fixes some strings still saying episode.

This commit is contained in:
Leonardo Galli 2017-01-05 11:28:22 +01:00
parent 8616bcedd4
commit 7d82e35650
2 changed files with 10 additions and 10 deletions

View file

@ -186,7 +186,7 @@ public void Handle(MovieGrabbedEvent message)
{
EventType = HistoryEventType.Grabbed,
Date = DateTime.UtcNow,
Quality = message.Movie.ParsedEpisodeInfo.Quality,
Quality = message.Movie.ParsedMovieInfo.Quality,
SourceTitle = message.Movie.Release.Title,
SeriesId = 0,
EpisodeId = 0,
@ -196,7 +196,7 @@ public void Handle(MovieGrabbedEvent message)
history.Data.Add("Indexer", message.Movie.Release.Indexer);
history.Data.Add("NzbInfoUrl", message.Movie.Release.InfoUrl);
history.Data.Add("ReleaseGroup", message.Movie.ParsedEpisodeInfo.ReleaseGroup);
history.Data.Add("ReleaseGroup", message.Movie.ParsedMovieInfo.ReleaseGroup);
history.Data.Add("Age", message.Movie.Release.Age.ToString());
history.Data.Add("AgeHours", message.Movie.Release.AgeHours.ToString());
history.Data.Add("AgeMinutes", message.Movie.Release.AgeMinutes.ToString());
@ -209,9 +209,9 @@ public void Handle(MovieGrabbedEvent message)
history.Data.Add("TvRageId", message.Movie.Release.TvRageId.ToString());
history.Data.Add("Protocol", ((int)message.Movie.Release.DownloadProtocol).ToString());
if (!message.Movie.ParsedEpisodeInfo.ReleaseHash.IsNullOrWhiteSpace())
if (!message.Movie.ParsedMovieInfo.ReleaseHash.IsNullOrWhiteSpace())
{
history.Data.Add("ReleaseHash", message.Movie.ParsedEpisodeInfo.ReleaseHash);
history.Data.Add("ReleaseHash", message.Movie.ParsedMovieInfo.ReleaseHash);
}
var torrentRelease = message.Movie.Release as TorrentInfo;

View file

@ -13,23 +13,23 @@ module.exports = NzbDroneCell.extend({
switch (this.cellValue.get('eventType')) {
case 'grabbed':
icon = 'icon-sonarr-downloading';
toolTip = 'Episode grabbed from {0} and sent to download client'.format(this.cellValue.get('data').indexer);
toolTip = 'Movie grabbed from {0} and sent to download client'.format(this.cellValue.get('data').indexer);
break;
case 'seriesFolderImported':
icon = 'icon-sonarr-hdd';
toolTip = 'Existing episode file added to library';
toolTip = 'Existing movie file added to library';
break;
case 'downloadFolderImported':
icon = 'icon-sonarr-imported';
toolTip = 'Episode downloaded successfully and picked up from download client';
toolTip = 'Movie downloaded successfully and picked up from download client';
break;
case 'downloadFailed':
icon = 'icon-sonarr-download-failed';
toolTip = 'Episode download failed';
toolTip = 'Movie download failed';
break;
case 'episodeFileDeleted':
icon = 'icon-sonarr-deleted';
toolTip = 'Episode file deleted';
toolTip = 'Movie file deleted';
break;
default:
icon = 'icon-sonarr-unknown';
@ -41,4 +41,4 @@ module.exports = NzbDroneCell.extend({
return this;
}
});
});