Readarr / Readarr

Book Manager and Automation (Sonarr for Ebooks)
http://readarr.com
GNU General Public License v3.0
2.64k stars 143 forks source link

Delete Author Folder not deleting anything from calibre #1506

Open klepp0906 opened 2 years ago

klepp0906 commented 2 years ago

Is there an existing issue for this?

Current Behavior

it appears if i go to "files" within readarr and delete, items will delete from calibre completely as you would expect.

if i go to the authors specific entry and select delete author, it will delete everything from calibre, as you would expect.

however if i go to the "Authors" category under library, click author editor, and select a specific author, and then delete. it will remove the author from readar, but nothing will be removed from the calibre library. (edited)

aka Delete Author Folder checkbox seems to be non functional

Expected Behavior

the deletion of an author from readarr including folder & contents to delete everything from the storage location/library (in this case calibre library)

Steps To Reproduce

go to the authors tab image

select an author who you have at least 1 book downloaded and present in your calibre library

attempt to delete and ensure the "Delete Author Folder" checkbox is selected image

after deletion via this route the author/book(s) are still present in the calibre library.

Environment

- OS: Windows 10
- Readarr: 0.1.0.1225
- Docker Install:
- Using Reverse Proxy:
- Browser: Brave

What branch are you running?

Nightly

Trace Logs?

trace.txt

AB#2508

SoCraDi commented 1 year ago

The only way I found that works to delete the book files is to go to the book, click Files tab, checkmark the files to delete and click delete. I am not sure if Calibre is notified via an API but the file gets deleted from the folder and disappears from Calibre too