Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Add ability to delete authors #2124

Closed
oboe45 opened this issue Sep 19, 2023 · 6 comments
Closed

[Bug]: Add ability to delete authors #2124

oboe45 opened this issue Sep 19, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@oboe45
Copy link

oboe45 commented Sep 19, 2023

Describe the issue

Updated to version 2.4.3. - I had previously noticed that, for example, the 5 Connie Willis books that I have were not all listed as being authored by her. In Author drop downs, there are 5 separate drop down items for her, one shows :Doomsday Book, three show no books, one lists three other books of hers.

I had expected to see a single Connie Willis in the Author drop down with all 5 books listed under here name in a similar fashion

Steps to reproduce the issue

  1. Had noted an issue with Authors not listing their books correctly - seemed only to happen when new books were added
  2. Read the update notes for v 2.4.3 - one of the fixes seemed relevant
  3. Applied v2.4.3 and reviewed state of the database
  4. Loks exacly as before

Audiobookshelf version

v. 2.4.3

How are you running audiobookshelf?

Docker

@oboe45 oboe45 added the bug Something isn't working label Sep 19, 2023
@oboe45
Copy link
Author

oboe45 commented Sep 19, 2023

Is there some DB clean up that needs to be applied, plus deletion and re-add of the books affected?? Since this seems to have been an insidious type of original error, how can I find any offending book/authors in a very large library (1500 books)

@hobesman
Copy link

This issue was reported in multiple other bug reports. In another one the developer proposed temporarily renaming the additional copies of the author to something different, and then renaming them again back to the correct spelling, and that should merge the duplicate authors.

It doesn't automatically find all repeats for you, and it doesn't automatically fix it, but at least it does let you clean things up a bit.

@oboe45
Copy link
Author

oboe45 commented Sep 20, 2023

Thanks, but the implication is that the authors name is mis-spelled. It is not, every one of the duplicated entries in the drop down author table is identical and correct. Some of the entries are associated with one or more books, some are associated with no books. A better solution would be to delete all of the author entries, but I cannot see any way to do this. Even if I delete each book, from the system and the database, and then reload them from the original source (Audible) I still get the same issues occurring - multiple author entries. some with books associated and some with no books.

@hobesman
Copy link

Sorry, I wasn't implying that they were misspelled. I was just saying that jumping through hoops of first intentionally misspelling them, and then renaming them again to the correct spelling, triggers the system to "realize" that it's the same author, and merges them.

The Dev also said he plans to add a "delete" button to the author details window on the next server release. But in the meantime I was just providing an option to clean up the mess made by the bug.

@oboe45
Copy link
Author

oboe45 commented Sep 20, 2023 via email

@advplyr advplyr changed the title [Bug]: [Bug]: Add ability to delete authors Sep 21, 2023
@advplyr advplyr added the awaiting release Issue is resolved and will be in the next release label Sep 24, 2023
mikiher pushed a commit to mikiher/audiobookshelf that referenced this issue Sep 30, 2023
@advplyr
Copy link
Owner

advplyr commented Sep 30, 2023

Added in v2.4.4

@advplyr advplyr closed this as completed Sep 30, 2023
@advplyr advplyr removed the awaiting release Issue is resolved and will be in the next release label Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants