Welcome, Guest
General discussion about ComicRack

TOPIC: Scanners information Smartlist

Scanners information Smartlist 2 weeks 1 day ago #49007

  • beardyandy
  • beardyandy's Avatar
  • Offline
  • Senior Boarder
  • Posts: 47
  • Thank you received: 5
  • Karma: 0
With Xeloss' excellent script for scanners I'm looking at that field a bit more carefully now and trying to sort the immense about of rubbish I've sucked into it over time - comicrack.cyolito.com/forum/7-general/40...tie-project?start=10

So I've started creating a smartlist on github.com/beardedfool/Comicrack/blob/master/scanners

Should be self explanatory but the point is to leave the questionable ones and create DM rules to tidy them to 'known' scanners where they've mispelt it or similar.

I'm also yet to decide a format for with multiple scanners e.g. G85-Fawkes-Empire vs G85+Spyder-Empire if anyone has a suggetsion - I see both

It's nowhere near exhaustive yet but just to say you're most welcome to use it as I add to it, and I'll happily take pushes into it if someone wants to add to it.

Does anyone know how to get a list of scanners out of CR into text- I'm using sql but don't know it well enough.
EDIT: Got the data through the export to Automation> export to csv
edited Other scripts.py to include f.write (book.ScanInformation + ";")

Cheers

EDIT: Decided on a format, ahving spoken to Xeloss I'm going to redo this ones to be - work in progress
Scanner:Scangroup-Scanner1+Scanner2
e.g. Scanner:Empire-G85+Fawkes
Last Edit: 2 weeks 1 day ago by beardyandy.
The administrator has disabled public write access.
The following user(s) said Thank You: Xelloss

Scanners information Smartlist 2 weeks 6 hours ago #49035

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 574
  • Thank you received: 139
  • Karma: 29
This is really a mess you are diving into, believe me, I tried, but it would be an awesome project that could help to standarize this once and for all...

I will support this list as much as I can with what I have :)

Also, I would be glad to integrate this list to my script, to make scanner detection and impact better
Last Edit: 2 weeks 6 hours ago by Xelloss.
The administrator has disabled public write access.

Scanners information Smartlist 2 weeks 5 hours ago #49036

  • beardyandy
  • beardyandy's Avatar
  • Offline
  • Senior Boarder
  • Posts: 47
  • Thank you received: 5
  • Karma: 0
Thanks, Let me see where I get to with it. My suspicion is that we don't all care too much about it and I'll be ok with 80%correct (as it's going to always be a battle against bad information) and your page_hashes give me the unique identifier I've always been looking for, but a good learning experience.

About integrating the cache file (?) what do I do with it? Replace my current cache to detect entries (and then create a new one after that's done)?
The administrator has disabled public write access.

Scanners information Smartlist 2 weeks 5 hours ago #49038

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 574
  • Thank you received: 139
  • Karma: 29
Replace your file with mine. The file will not include your data till you delete it and recreate it again.
The administrator has disabled public write access.

Scanners information Smartlist 2 weeks 5 hours ago #49039

  • beardyandy
  • beardyandy's Avatar
  • Offline
  • Senior Boarder
  • Posts: 47
  • Thank you received: 5
  • Karma: 0
I was going to try to export my library as csv to script the matching, by using otherscripts.py
but I don't know if I can write custom fields?
f.write (book.page_hashes + ";")
doesn't seem to work

EDIT: Didnt' see you post. I'll try that. Thanks
Last Edit: 2 weeks 5 hours ago by beardyandy.
The administrator has disabled public write access.

Scanners information Smartlist 2 weeks 5 hours ago #49040

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 574
  • Thank you received: 139
  • Karma: 29
Don't understand what you are trying to do o.o

But if you want to read a custom field, it is not an attribute, you have to use the getcustovalue method explained in the CR API tutorial
Last Edit: 2 weeks 4 hours ago by Xelloss.
The administrator has disabled public write access.

Scanners information Smartlist 2 weeks 4 hours ago #49042

  • beardyandy
  • beardyandy's Avatar
  • Offline
  • Senior Boarder
  • Posts: 47
  • Thank you received: 5
  • Karma: 0
I'm going to try replacing it at first to see what it does, so that bit is fine.

What I also want to do is get some export (txt, csv or something) of my library to see if my other comics that I've already scanned match with your data.

But I may be better learning some SQL queries as it's all in there.
The administrator has disabled public write access.
Time to create page: 0.161 seconds

Who's Online

We have 205 guests and 3 members online