mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
NzbInfoUrl added to history and episode parse result, will be added to history item before being added to the DB.
This commit is contained in:
parent
0c3de6964f
commit
ce0a6f8b86
4 changed files with 7 additions and 4 deletions
|
@ -52,7 +52,6 @@ namespace NzbDrone.Core.Providers
|
|||
{
|
||||
logger.Trace("Download added to Queue: {0}", downloadTitle);
|
||||
|
||||
|
||||
foreach (var episode in _episodeProvider.GetEpisodesByParseResult(parseResult))
|
||||
{
|
||||
var history = new History();
|
||||
|
@ -63,6 +62,7 @@ namespace NzbDrone.Core.Providers
|
|||
history.NzbTitle = parseResult.OriginalString;
|
||||
history.EpisodeId = episode.EpisodeId;
|
||||
history.SeriesId = episode.SeriesId;
|
||||
history.NzbInfoUrl = parseResult.NzbInfoUrl;
|
||||
|
||||
_historyProvider.Add(history);
|
||||
_episodeProvider.MarkEpisodeAsFetched(episode.EpisodeId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue