[Enhancement]: Tools → Quick Embed should backup title into /metadata/cache/items #3115

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

Originally created by @ZLoth on GitHub (Nov 26, 2025).

Type of Enhancement

None

Describe the Feature/Enhancement

Tools → Quick Embed should follow the behavior of Tools → Make M4B Audiobook File and make a backup of the book into /metadata/cache/items

Why would this be helpful?

Having a backup... just in case. In reviewing the server log, I see the following:

[2025-11-26 10:18:55.483] DEBUG: [ffmpegHelpers] Moving temp file to audio file path: "/audiobooks/Audiobooks/Star Trek/Fan Fiction - A Mem-Noir- Inspired by True Events/Fan Fiction_ A Mem-Noir_ Inspired by True Events [1250821398].tmp.m4b" -> "/audiobooks/Audiobooks/Star Trek/Fan Fiction - A Mem-Noir- Inspired by True Events/Fan Fiction_ A Mem-Noir_ Inspired by True Events [1250821398].m4b"
[2025-11-26 10:18:55.956] DEBUG: [copyToExisting] Successfully copied file from /audiobooks/Audiobooks/Star Trek/Fan Fiction - A Mem-Noir- Inspired by True Events/Fan Fiction_ A Mem-Noir_ Inspired by True Events [1250821398].tmp.m4b to /audiobooks/Audiobooks/Star Trek/Fan Fiction - A Mem-Noir- Inspired by True Events/Fan Fiction_ A Mem-Noir_ Inspired by True Events [1250821398].m4b
[2025-11-26 10:18:55.962] INFO: [AudioMetadataManager] Successfully tagged audio file "/audiobooks/Audiobooks/Star Trek/Fan Fiction - A Mem-Noir- Inspired by True Events/Fan Fiction_ A Mem-Noir_ Inspired by True Events [1250821398].m4b"
[2025-11-26 10:18:55.963] DEBUG: [AudioMetadataManager] Task finished and no tasks remain in queue

Thus, the file is being renamed to .tmp.m4b, processed, and the .tmp.m4b removed. It shouldn't be that hard to copy that title to /metadata/cache/items/itemhash as a backup.

Future Implementation (Screenshot)

Not applicable

Audiobookshelf Server Version

2.30

Current Implementation (Screenshot)

Not applicable.

Originally created by @ZLoth on GitHub (Nov 26, 2025). ### Type of Enhancement None ### Describe the Feature/Enhancement Tools → Quick Embed should follow the behavior of Tools → Make M4B Audiobook File and make a backup of the book into `/metadata/cache/items` ### Why would this be helpful? Having a backup... just in case. In reviewing the server log, I see the following: ``` [2025-11-26 10:18:55.483] DEBUG: [ffmpegHelpers] Moving temp file to audio file path: "/audiobooks/Audiobooks/Star Trek/Fan Fiction - A Mem-Noir- Inspired by True Events/Fan Fiction_ A Mem-Noir_ Inspired by True Events [1250821398].tmp.m4b" -> "/audiobooks/Audiobooks/Star Trek/Fan Fiction - A Mem-Noir- Inspired by True Events/Fan Fiction_ A Mem-Noir_ Inspired by True Events [1250821398].m4b" [2025-11-26 10:18:55.956] DEBUG: [copyToExisting] Successfully copied file from /audiobooks/Audiobooks/Star Trek/Fan Fiction - A Mem-Noir- Inspired by True Events/Fan Fiction_ A Mem-Noir_ Inspired by True Events [1250821398].tmp.m4b to /audiobooks/Audiobooks/Star Trek/Fan Fiction - A Mem-Noir- Inspired by True Events/Fan Fiction_ A Mem-Noir_ Inspired by True Events [1250821398].m4b [2025-11-26 10:18:55.962] INFO: [AudioMetadataManager] Successfully tagged audio file "/audiobooks/Audiobooks/Star Trek/Fan Fiction - A Mem-Noir- Inspired by True Events/Fan Fiction_ A Mem-Noir_ Inspired by True Events [1250821398].m4b" [2025-11-26 10:18:55.963] DEBUG: [AudioMetadataManager] Task finished and no tasks remain in queue ``` Thus, the file is being renamed to .tmp.m4b, processed, and the .tmp.m4b removed. It shouldn't be that hard to copy that title to `/metadata/cache/items/itemhash` as a backup. ### Future Implementation (Screenshot) Not applicable ### Audiobookshelf Server Version 2.30 ### Current Implementation (Screenshot) Not applicable.
adam added the enhancement label 2026-04-25 00:13:44 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3115