advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
5.52k stars 380 forks source link

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

Open Gru0810 opened 3 weeks ago

Gru0810 commented 3 weeks ago

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

nichwall commented 3 weeks ago

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

Gru0810 commented 3 weeks ago

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

nichwall commented 3 weeks ago

Empty fields do not overwrite fields with data.

Gru0810 commented 3 weeks ago

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

Gru0810 commented 3 weeks ago

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!