mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
cleaned up parsing logic and structure.
This commit is contained in:
parent
cd2761d07d
commit
6e88f55a54
120 changed files with 2149 additions and 3064 deletions
|
@ -39,7 +39,9 @@ namespace NzbDrone.Core.MediaFiles
|
|||
|
||||
public EpisodeFile Add(EpisodeFile episodeFile)
|
||||
{
|
||||
return _mediaFileRepository.Insert(episodeFile);
|
||||
var addedFile = _mediaFileRepository.Insert(episodeFile);
|
||||
_eventAggregator.Publish(new EpisodeFileAddedEvent(addedFile));
|
||||
return addedFile;
|
||||
}
|
||||
|
||||
public void Update(EpisodeFile episodeFile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue