View Single Post
Old 02-01-2010, 12:22 PM   #1323
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
I just posted a possible "bug" in the tracker, and it occurs to me that this recipe thread might be a good place to get more info on whether others see it as a bug, and/or whether my proposed solution might have problems. Here is my bug track post:

Quote:
I have many books that have good author, title and series in the filenames, but poor metadata internally. When I'm adding them, I often need to turn on the Add/Save option "Get metadata only from filename." However, if I leave that option on, it takes me literally when recipes run, ignoring the good metadata a recipe provides. It appears to use a temporary filename for the recipe-based epub in the form:

appdata\local\temp\calibre_0.6.37_idcode_recipe_ou t.epub

I realize I can turn the option off off, but if I inadvertently leave it on overnight, or a recipe runs while I'm in the midst of adding books, I have to go back and fix those books or rerun the recipes. It's happened to me numerous times.

I don't know if you call this a bug or a feature, but I'm not sure why anyone would want this option to apply to recipe-based books. I only want it to apply to manually added books.

If you agree, here is a bit of code that prevents the option from applying to ebooks having a name that includes both 'calibre' and 'recipe.' AFAICT, all recipe based ebooks have those words in their temporary name, although I haven't checked this on all recipes or any other OS beyond Windows.

You might prefer some other test, even if you agree this change makes sense.
Does anyone else see this as a bug, or is there some reason why you would want the "Get metadata only from file name" option to apply to news recipes?
Starson17 is offline