1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-26 22:46:53 -04:00

Convert onGrab from passing a string to passing an object with series and episode information

Use object initalizer instead of creation of OnGrab/grabmessage
This commit is contained in:
Gavin Mogan
2015-08-23 22:21:14 -07:00
committed by Keivan Beigi
parent d41dd05d00
commit d3b9ebf86c
21 changed files with 61 additions and 33 deletions
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Parser.Model;
using NzbDrone.Core.Qualities;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Notifications
{
public class GrabMessage
{
public String Message { get; set; }
public Series Series { get; set; }
public RemoteEpisode Episode { get; set; }
public QualityModel Quality { get; set; }
public override string ToString()
{
return Message;
}
}
}