mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
fixed diskscan
removed all stored status fields from episode
This commit is contained in:
parent
feb947fb74
commit
cbe4be814c
32 changed files with 295 additions and 286 deletions
14
NzbDrone.Core/MediaFiles/Commands/CleanMediaFileDb.cs
Normal file
14
NzbDrone.Core/MediaFiles/Commands/CleanMediaFileDb.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.MediaFiles.Commands
|
||||
{
|
||||
public class CleanMediaFileDb : ICommand
|
||||
{
|
||||
public int SeriesId { get; private set; }
|
||||
|
||||
public CleanMediaFileDb(int seriesId)
|
||||
{
|
||||
SeriesId = seriesId;
|
||||
}
|
||||
}
|
||||
}
|
17
NzbDrone.Core/MediaFiles/Commands/DiskScanCommand.cs
Normal file
17
NzbDrone.Core/MediaFiles/Commands/DiskScanCommand.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.MediaFiles.Commands
|
||||
{
|
||||
public class DiskScanCommand : ICommand
|
||||
{
|
||||
public int? SeriesId { get; private set; }
|
||||
|
||||
public DiskScanCommand(int seriesId = 0)
|
||||
{
|
||||
if (seriesId != 0)
|
||||
{
|
||||
SeriesId = seriesId;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue