mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Added progress messaging, using info logging
Also extension methods for complete and failed (for coloured UI messaging)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Nancy;
|
||||
using NzbDrone.Api.Extensions;
|
||||
|
||||
namespace NzbDrone.Api.ProgressMessaging
|
||||
{
|
||||
public class ProgressMessageModule : NzbDroneRestModule<ProgressMessageResource>
|
||||
{
|
||||
public ProgressMessageModule()
|
||||
{
|
||||
Get["/"] = x => GetAllMessages();
|
||||
}
|
||||
|
||||
private Response GetAllMessages()
|
||||
{
|
||||
return new List<ProgressMessageResource>().AsResponse();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user