[Bug]: remove of TAG-entries nor remove line for TAGs within in OPF-File will not remove TAG on library-Item after rescan #1955

Open
opened 2026-04-25 00:01:44 +02:00 by adam · 6 comments
Owner

Originally created by @Gru0810 on GitHub (May 6, 2024).

What happened?

I changed OPF-File by remove TAG-Value , started a rescan but "Fantasy" was not removed on library-Item:
image

What did you expect to happen?

remove TAG-Value from OPF-File, run "re-scan" -> TAG will also removed from library-item

Steps to reproduce the issue

Audiobookshelf version

2.8.1

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Chrome

Logs

No response

Additional Notes

No response

Originally created by @Gru0810 on GitHub (May 6, 2024). ### What happened? I changed OPF-File by remove TAG-Value , started a rescan but "Fantasy" was not removed on library-Item: ![image](https://github.com/advplyr/audiobookshelf/assets/72630160/03fc0994-e4f9-42f7-b6cb-5f57efc55019) ### What did you expect to happen? remove TAG-Value from OPF-File, run "re-scan" -> TAG will also removed from library-item ### Steps to reproduce the issue 1. ### Audiobookshelf version 2.8.1 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Chrome ### Logs _No response_ ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:01:44 +02:00
Author
Owner

@nichwall commented on GitHub (May 6, 2024):

Have you edited the metadata precedence?
By default, the ABS metadata JSON file has the highest priority (this file is updated whenever the library item changes) so that changes you make within ABS have priority over any files.

https://www.audiobookshelf.org/guides/book-scanner#book-metadata-parsing

@nichwall commented on GitHub (May 6, 2024): Have you edited the metadata precedence? By default, the ABS metadata JSON file has the highest priority (this file is updated whenever the library item changes) so that changes you make within ABS have priority over any files. https://www.audiobookshelf.org/guides/book-scanner#book-metadata-parsing
Author
Owner

@Gru0810 commented on GitHub (May 6, 2024):

my scan-config is from the beginning like this:
image
and a change to "zzzTST" an a rescan inserted correcty the changed "TAG":
image
remove the TAG from OPF file did not remove the TAG in ABS

@Gru0810 commented on GitHub (May 6, 2024): my scan-config is from the beginning like this: ![image](https://github.com/advplyr/audiobookshelf/assets/72630160/6a146ec2-02c8-4b74-af8d-afc734179f84) and a change to "zzzTST" an a rescan inserted correcty the changed "TAG": ![image](https://github.com/advplyr/audiobookshelf/assets/72630160/5e70865f-e6a0-45fb-8256-4f18bbb1d5f9) remove the TAG from OPF file did not remove the TAG in ABS
Author
Owner

@nichwall commented on GitHub (May 6, 2024):

Empty fields do not overwrite fields with data.

@nichwall commented on GitHub (May 6, 2024): Empty fields do not overwrite fields with data.
Author
Owner

@Gru0810 commented on GitHub (May 7, 2024):

So I must delete the line "dc:tag</dc:tag>" not only the value?

@Gru0810 commented on GitHub (May 7, 2024): So I must delete the line "<dc:tag></dc:tag>" not only the value?
Author
Owner

@Gru0810 commented on GitHub (May 8, 2024):

change of TAG and rescan does correcty update TAG-value:
image

But also removing the whole line:
image
did not remove the TAG after rescan!

@Gru0810 commented on GitHub (May 8, 2024): change of TAG and rescan does correcty update TAG-value: ![image](https://github.com/advplyr/audiobookshelf/assets/72630160/8cbad032-aafd-4718-a4d6-6db38668b296) But also removing the whole line: ![image](https://github.com/advplyr/audiobookshelf/assets/72630160/d8287095-6abf-4d62-8ef3-05a8b09a38b1) did not remove the TAG after rescan!
Author
Owner
@advplyr commented on GitHub (Dec 21, 2024): This is related to and might be the same as https://github.com/advplyr/audiobookshelf/issues/3649 I wrote up the problem here https://github.com/advplyr/audiobookshelf/pull/3671#issuecomment-2512735844 and here https://github.com/advplyr/audiobookshelf/issues/3649#issuecomment-2512755438
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1955