mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Fixed: Delete files from Artist Mass Editor not actually deleting files
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
341c42d8e6
commit
c0fede5697
2 changed files with 2 additions and 1 deletions
|
@ -102,7 +102,7 @@ namespace Lidarr.Api.V1.Artist
|
||||||
|
|
||||||
foreach (var artistId in resource.ArtistIds)
|
foreach (var artistId in resource.ArtistIds)
|
||||||
{
|
{
|
||||||
_artistService.DeleteArtist(artistId, false);
|
_artistService.DeleteArtist(artistId, resource.DeleteFiles);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new object();
|
return new object();
|
||||||
|
|
|
@ -13,6 +13,7 @@ namespace Lidarr.Api.V1.Artist
|
||||||
public List<int> Tags { get; set; }
|
public List<int> Tags { get; set; }
|
||||||
public ApplyTags ApplyTags { get; set; }
|
public ApplyTags ApplyTags { get; set; }
|
||||||
public bool MoveFiles { get; set; }
|
public bool MoveFiles { get; set; }
|
||||||
|
public bool DeleteFiles { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum ApplyTags
|
public enum ApplyTags
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue