cbanack / comic-vine-scraper

An add-on script for ComicRack that lets you copy details from Comic Vine into your comic books.
258 stars 48 forks source link

Silent Mode? #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
THis is very heavy-duty, but are you considering a "silent mode" at all?  In 
other words, a mode where we could call the script and execute it without 
windows (using the default configuration)?  I'd like to be able to bury the 
scrape in another script and call it within a loop without having to go 
through the GUI stuff every iteration.

By no means a strong request, mainly just curious if you're even thinking of 
it.  No biggie if you're not

Original issue reported on code.google.com by bmen...@gmail.com on 5 Mar 2010 at 5:57

GoogleCodeExporter commented 9 years ago
Well, I do have some plans to change how the script handles errors ("stop on 
error
vs. skip on error"), but nothing like a "batch mode", which is what I think 
you're
looking for (a batch mode wouldn't really make much sense from the point of 
view of a
comic rack pluging, where people expect to see something happen on the screen 
when
they run it...)   

Is this for your idea about making a script that identifies the parts of 
comicvine
that need updating?  If that's the case, you're probably better off to try to 
take
the CVS script, and remove all the graphical parts of it (not too hard) and 
just keep
the parts that query from comicvine.   If you are running with the assumption 
that
all comics that you're working with have already been tagged by CVS, then none 
of the
graphical elements are needed...you can just define the configuration options 
that
you want in the code, and no further graphical interaction is strictly required 
when
the CVDB tag is already there...

Original comment by cban...@gmail.com on 5 Mar 2010 at 6:11

GoogleCodeExporter commented 9 years ago
No, this is for a new super-script I'm writing that calls all the various 
scripts I run 
on my books into one.  I agree it doesn't make much sense from a plugin 
perspective and 
figured this was a long-shot, just checking to see if you're thinking about it.

For the "find missing metadata" script, I would indeed be trimming all the GUI 
stuff 
out as I am making the assumption that there's a CVDB tag already.

Original comment by bmen...@gmail.com on 5 Mar 2010 at 6:17

GoogleCodeExporter commented 9 years ago
Interesting...how are you planning to "call" one script from inside another?  I 
don't
know how well the ComicRack api supports that...?

Original comment by cban...@gmail.com on 5 Mar 2010 at 6:38

GoogleCodeExporter commented 9 years ago
Yeah, that's exactly what I'm finding out now.  Looks like this won't work :p

Original comment by bmen...@gmail.com on 5 Mar 2010 at 6:40