mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 09:03:49 -07:00
renamed some old 'parseResult' variable names.
This commit is contained in:
parent
99958a822d
commit
a8e76b3251
9 changed files with 51 additions and 53 deletions
|
@ -78,12 +78,12 @@ namespace NzbDrone.Core.MediaFiles
|
|||
episodeFile.Path = newFile;
|
||||
_mediaFileService.Update(episodeFile);
|
||||
|
||||
var parseResult = Parser.Parser.ParsePath(episodeFile.Path);
|
||||
parseResult.Quality = episodeFile.Quality;
|
||||
var parsedEpisodeInfo = Parser.Parser.ParsePath(episodeFile.Path);
|
||||
parsedEpisodeInfo.Quality = episodeFile.Quality;
|
||||
|
||||
if (newDownload)
|
||||
{
|
||||
_eventAggregator.Publish(new EpisodeDownloadedEvent(parseResult, series));
|
||||
_eventAggregator.Publish(new EpisodeDownloadedEvent(parsedEpisodeInfo, series));
|
||||
}
|
||||
|
||||
return episodeFile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue