2012-03-20, 13:04
(2012-03-20, 10:57)dirtymurt Wrote: I managed, just about to get the images scraped using google, however, because of the naming conventions it was impossible to scrape any issue info. but I'm not overly worried about that as a lot of info has spoilers anyway.That's not possible. Images scrapers into Advanced Launcher are all based on items name not on files. As soon as the comic is well identified their is not problem to found the corresponding cover. The challenge is here.
that said, is there anyway, Angelscry, that you could open any comic file and pull out the first image (normally the cover), obviously this could only work with cbz file and not cbr or pdf.
I think this would be a great, automated way to get the issue thumbs
how about that for a challenge sir?
(2012-03-20, 12:36)HenryFord Wrote: Okay - thanks for the infor (and sorry for the wrong info regarding compatibility).Basically you could generate anything as ID. This one is always created when you create a new launcher or add a new item. Then, it still the same until the launcher or the item is deleted. So if you create your proper launchers.xml file, Advanced Launcher will be able to use it. But the ID number must be enough long, complicated and unique to not have 2 items with the same ID. This is how I generate the item ID :
So - generally I could just generate those ids myself with a random 32-digit hex? Would AL be capable of handling it?
Code:
t1 = time.time()
t2 = t1 + random.getrandbits(32)
base = md5.new( str(t1 +t2) )
sid = base.hexdigest()
I get the actual time (so, time of creation of the launcher), add to it a random 32 bits number, and then generate from this a md5 number.