geigi / cozy

🎧 Listen to audio books 📚 on Linux
https://cozy.sh
GNU General Public License v3.0
1.1k stars 86 forks source link

Display same book titles with different readers or authors seperately #725

Open sgreenden opened 2 years ago

sgreenden commented 2 years ago

Bug/Feature description

I added some readings of the same book as part of a larger library, not realizing the program had no way of handling this. I cannot do anything period to remove them.

Steps to reproduce

I added a few readings of the same book. Then I saw that it played them in chapter order across readers. I moved them from the folder that Cozy scans, but they are still indexed. I have removed the entire folder and they are still indexed. I manually removed them but now I cannot re-add the book at all. So I just have 100+ indexed books that aren't in the folder just stuck there. I am on Nixos.

geigi commented 2 years ago

Hi, thanks for reporting the issue. Currently books will only be detected separately if they have a different book name. But this should be fixed in the future.

The other issue you where facing is that it is only possible to delete books. If Cozy sees all files of a book it proposes to delete those files and remove the book from the library. If it doesn't find any files it'll only delete it from the library. In your case you won't be able to delete duplicate chapters inside a book unfortunately.

Therefor I suggest to delete the db file manually to start over. To be honest I'm not sure where cozy's db is stored on Nixos because I haven't used it yet. On most systems you'll find the db here: ~/.local/share/cozy or for flatpak ~/.var/app/com.github.geigi.cozy/data/cozy.

h20200051 commented 2 years ago

@geigi @sgreenden @jimmac @bittin @grenade I would like to work under enhancement.Kindly assign me

pessimal commented 1 year ago

+1, the current state of things kind of makes cozy unusable at least for me