cam1170: calibre stores the metadata it downloads in a OPF file that contains XML. See example here: http://0x0.st/ojV5.opf This data can be inserted in a PDF in place with the ebook-meta utility bundled with calibre. This is a solution to the problem of having to create a copy of the PDF to embed the metadata.
2022-07-26 20748, 2022
cam1170
Yeah seems it's a command-line tool which is usually the opposite of easy, glad there's a solution
2022-07-26 20722, 2022
rdrg109
cam1170: Yes, it also poses a new problem: If you change a field of your PDF outside calibre, the OPF file is not updated and therefore, the next time you run ebook-meta on that OPF, the value you had in your PDF is overwritten.
2022-07-26 20720, 2022
cam1170
Sounds like a experiment, but try deleting the OPF etc, that might force it to rescan
2022-07-26 20711, 2022
cam1170
Unless calibre has a backup of all of your OPFs somewhere. I haven't tried it
2022-07-26 20708, 2022
rdrg109
cam1170: What if the OPF has some relevant data that I downloaded within calibre but didn't have enough time to save it in my PDF so it is just in the OPF? :(
2022-07-26 20719, 2022
rdrg109
This is the solution I propose: Store a custom field in your PDF for the last time you compared its metadata with the ones provided in the OPF file. Now, write a script that compares that time with the modification time of the OPF file. When the OPF is newer than the last time, add the metadata that only exists in the OPF file and for that data that exists in both in the PDF and the OPF,
2022-07-26 20720, 2022
rdrg109
prompt the user which value is preferred: the one from the PDF or the one from OPF? The one that is preferred is updated in both the PDF and the OPF.
2022-07-26 20739, 2022
cam1170
If I was doing that, and we're talking about books that normally stay in the calibre-formatted library, I wouldn't use any editors that change the PDF other than calibre, so the OPF would always be up-to-date. For my comics I embed the comicvine info in them with comictagger then use the Embed Comic Metadata plugin to get the info into calbre.
2022-07-26 20731, 2022
crism
Check the MOTD: “See #bookbrainz for BookBrainz”… not trying to be a buzzkill but I think you may get better answers over there.
2022-07-26 20733, 2022
rdrg109
crism: no problem, I think we can continue the discussion over there
2022-07-26 20747, 2022
rdrg109
sorry for the off-topic
2022-07-26 20753, 2022
crism
np!
2022-07-26 20720, 2022
cam1170 has quit
2022-07-26 20726, 2022
cam1170 joined the channel
2022-07-26 20754, 2022
Vacuity has quit
2022-07-26 20714, 2022
Vacuity joined the channel
2022-07-26 20741, 2022
Erin has quit
2022-07-26 20704, 2022
Erin joined the channel
2022-07-26 20738, 2022
vzctr has quit
2022-07-26 20718, 2022
trolley has quit
2022-07-26 20755, 2022
Erin has quit
2022-07-26 20706, 2022
ErBear joined the channel
2022-07-26 20726, 2022
ErBear is now known as Erin
2022-07-26 20735, 2022
skelly37 joined the channel
2022-07-26 20740, 2022
KevlarNoir has quit
2022-07-26 20712, 2022
KevlarNoir joined the channel
2022-07-26 20730, 2022
fireglow has quit
2022-07-26 20731, 2022
fireglow joined the channel
2022-07-26 20718, 2022
KevlarNoir has quit
2022-07-26 20709, 2022
KevlarNoir joined the channel
2022-07-26 20750, 2022
crism has quit
2022-07-26 20748, 2022
crism joined the channel
2022-07-26 20724, 2022
G0d joined the channel
2022-07-26 20721, 2022
KevlarNoir has quit
2022-07-26 20704, 2022
ttpcodes has quit
2022-07-26 20733, 2022
ttpcodes joined the channel
2022-07-26 20748, 2022
zer0bitz joined the channel
2022-07-26 20725, 2022
KevlarNoir joined the channel
2022-07-26 20703, 2022
ttpcodes has quit
2022-07-26 20719, 2022
ttpcodes_ joined the channel
2022-07-26 20723, 2022
ttpcodes_ has quit
2022-07-26 20720, 2022
ttpcodes joined the channel
2022-07-26 20707, 2022
zane joined the channel
2022-07-26 20739, 2022
fhe joined the channel
2022-07-26 20705, 2022
KevlarNoir has quit
2022-07-26 20757, 2022
skelly37 has quit
2022-07-26 20754, 2022
skelly37 joined the channel
2022-07-26 20757, 2022
crism has quit
2022-07-26 20724, 2022
crism joined the channel
2022-07-26 20741, 2022
skelly37 has quit
2022-07-26 20736, 2022
ttpcodes_ joined the channel
2022-07-26 20725, 2022
ttpcodes has quit
2022-07-26 20738, 2022
crism has quit
2022-07-26 20744, 2022
crism joined the channel
2022-07-26 20726, 2022
elomatreb[m]
Zane: there is no way to revert edits, you’ll have to edit the release manually