From c21ad04a9c9bea7621d13b114e64d76ffd25cb38 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Tue, 20 Sep 2016 11:02:47 -0500 Subject: [PATCH] Fix for calibre series w/injectseries always being applied when doing BG metadata. --- calibre-plugin/jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calibre-plugin/jobs.py b/calibre-plugin/jobs.py index ec50efa4..3be4057b 100644 --- a/calibre-plugin/jobs.py +++ b/calibre-plugin/jobs.py @@ -161,7 +161,7 @@ def do_download_for_worker(book,options,merge,notification=lambda x,y:x): adapter.set_pagecache(options['pagecache']) story = adapter.getStoryMetadataOnly() - if 'calibre_series' in book: + if not story.getMetadata("series") and 'calibre_series' in book: adapter.setSeries(book['calibre_series'][0],book['calibre_series'][1]) # set PI version instead of default.