[PR #4927] [MERGED] Book tags genres dedupe #4373

Closed
opened 2026-04-25 00:19:29 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/4927
Author: @advplyr
Created: 12/21/2025
Status: Merged
Merged: 12/21/2025
Merged by: @advplyr

Base: masterHead: book_tags_genres_dedupe


📝 Commits (3)

  • 165112d Update Audible provider dedupe genres/tags and return tags as array
  • 9ab6e53 Update custom metadata provider to dedupe tags/genres and return tags as array
  • 12ab59a Remove temp testing file

📊 Changes

2 files changed (+32 additions, -6 deletions)

View changed files

📝 server/providers/Audible.js (+9 -4)
📝 server/providers/CustomProviderAdapter.js (+23 -2)

📄 Description

Brief summary

Updates audible and custom metadata providers to return an array of tags instead of a string, and deduplicates.

Which issue is fixed?

Fixes #4634

In-depth Description

The custom metadata provider will take tags/genres as a comma separated string or an array. Array items are trimmed and deduped.

How have you tested this?

From https://github.com/advplyr/audiobookshelf/issues/4634#issuecomment-3239425190

The double tag is easy to replicate, it happen when you match any book with Audible.fr to ASIN B0BVT78R3D (Harry Fox book 4) or others in the same series.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/4927 **Author:** [@advplyr](https://github.com/advplyr) **Created:** 12/21/2025 **Status:** ✅ Merged **Merged:** 12/21/2025 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `book_tags_genres_dedupe` --- ### 📝 Commits (3) - [`165112d`](https://github.com/advplyr/audiobookshelf/commit/165112ddd44dcef4bbb14d979f35e1a68a46e148) Update Audible provider dedupe genres/tags and return tags as array - [`9ab6e53`](https://github.com/advplyr/audiobookshelf/commit/9ab6e53cf6d0d8f0b1be9e90555aa441baad7d01) Update custom metadata provider to dedupe tags/genres and return tags as array - [`12ab59a`](https://github.com/advplyr/audiobookshelf/commit/12ab59ad7a14410e98e5544f2c8027ed2f9647b0) Remove temp testing file ### 📊 Changes **2 files changed** (+32 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `server/providers/Audible.js` (+9 -4) 📝 `server/providers/CustomProviderAdapter.js` (+23 -2) </details> ### 📄 Description ## Brief summary Updates audible and custom metadata providers to return an array of tags instead of a string, and deduplicates. ## Which issue is fixed? Fixes #4634 ## In-depth Description The custom metadata provider will take tags/genres as a comma separated string or an array. Array items are trimmed and deduped. ## How have you tested this? From https://github.com/advplyr/audiobookshelf/issues/4634#issuecomment-3239425190 > The double tag is easy to replicate, it happen when you match any book with Audible.fr to ASIN B0BVT78R3D (Harry Fox book 4) or others in the same series. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:19:29 +02:00
adam closed this issue 2026-04-25 00:19:30 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4373