mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
@@ -22,6 +22,7 @@ namespace NzbDrone.Core.MediaFiles
|
||||
void Delete(BookFile bookFile, DeleteMediaFileReason reason);
|
||||
void DeleteMany(List<BookFile> bookFiles, DeleteMediaFileReason reason);
|
||||
List<BookFile> GetFilesByAuthor(int authorId);
|
||||
List<BookFile> GetFilesByAuthorMetadataId(int authorMetadataId);
|
||||
List<BookFile> GetFilesByBook(int bookId);
|
||||
List<BookFile> GetFilesByEdition(int editionId);
|
||||
List<BookFile> GetUnmappedFiles();
|
||||
@@ -182,6 +183,11 @@ namespace NzbDrone.Core.MediaFiles
|
||||
return _mediaFileRepository.GetFilesByAuthor(authorId);
|
||||
}
|
||||
|
||||
public List<BookFile> GetFilesByAuthorMetadataId(int authorMetadataId)
|
||||
{
|
||||
return _mediaFileRepository.GetFilesByAuthorMetadataId(authorMetadataId);
|
||||
}
|
||||
|
||||
public List<BookFile> GetFilesByBook(int bookId)
|
||||
{
|
||||
return _mediaFileRepository.GetFilesByBook(bookId);
|
||||
|
||||
Reference in New Issue
Block a user