cozy icon indicating copy to clipboard operation
cozy copied to clipboard

Issue with removing audiobook from library

Open peter099 opened this issue 2 years ago • 3 comments

Bug/Feature description

If i want to remove audiobook from the library without deleting it from my hard disk, it doesn't seem there is such a option. It removes the audiobook from library but also deletes it from the hard disk.

Steps to reproduce

Right click on audiobook cover and select 'Remove from library'. It ask me to delete the audiobook from hard disk.

System Information

  • Operating System: MX Linux
  • Installation source: flatpak
  • Version of cozy: 1.2.0

peter099 avatar Apr 28 '22 14:04 peter099

Hey, thanks for reporting. This is a design decision I made because it gets quite complex if you change this behavior. Cozy imports all books in the selected directories. If you allow removing a book from the library without deleting it from the disk, it would get reimported on the next import.

If you don't want to include certain files, move them to a directory which is not added to cozy. After that you can remove the books from the library. You won't see the dialog to delete files then.

geigi avatar Apr 29 '22 12:04 geigi

Well, i have to remember that so i don't delete accidentally some of my audio books, which i did recently.

peter099 avatar Apr 29 '22 14:04 peter099

Im sorry about that... that's why there is the explicit warning that the files will be deleted from the disk. Removing from the library doesn't make any sense though as they will be added again at the next scan.

geigi avatar Apr 29 '22 16:04 geigi