Welcome, Guest
Python Scripts for ComicRack

TOPIC: [Script] Find Missing Comics using CV Offline (Updated: 20-Sep-2017, NEW FORMAT)

[Script] Find Missing Comics using CV Offline (Updated: 20-Sep-2017, NEW FORMAT) 9 months 2 days ago #46810

  • Xelloss
  • Xelloss's Avatar
  • Online
  • Platinum Boarder
  • Posts: 354
  • Thank you received: 94
  • Karma: 20
2I am releasing this beta of my new script so that you can test it if you want :)

The idea of this script was born because the AWESOME Find Missing Comics using Comicvine App hasn't worked for a while now, and so I decided to make my own version of this app, but offline and as a script :P

APP I AM TALKING ABOUT: comicrack.cyolito.com/forum/13-scripts/1...ec-2014?limitstart=0

To use this script just install the crplugin and copy the csv file (unzip it first, not the zip file) into your script folder (usually C:\Program Files\ComicRack\Scripts) then select the comics you want to find missing issues (the script will only look for comics of the same volume of the selected ones and only will checked the comics you select, so be sure to select the whole volumes), right click, and in Automation click on "Find Missing Issues Offline", then open the MCL file in the link with the comicvine data and in a few seconds a txt should open with the results.







Of course being offline the script will only look for comics up to the last time I updated the MCL file (I will try to do it monthly), but on the other hand it will be a lot faster than the online app.

Remember this script will only work with comics scraped with the comicvine scrapper (it uses the custom fields of this script), so it will not see comics not scraped by it!

Please take in consideration it is still beta, so a lot of bugs could be still present!

Script (2.7):

File Attachment:

File Name: FindMissin...crplugin
File Size:5 KB


MCL FILE (updated: 09-20-2017) - New format, please download it to avoid bugs! :

mega.nz/#!RYsFzJjY!M2cxuyUZopDxlVj0KoxtawJCZ0auuEgiQ9Slx7YnfBE

edit: If someone knows how to make a script look for a file in the installed script folder and not in the comicrack script folder, please tell me so I can make the installation a lot easier :) (I tried to pack the csv file in the crplugin file, and it works, but the script search for the file in the CR scripts folder and not in the script own folder)

Version changes:

0.1 First version (database date: 15/1/2017)
0.2 Fixed order of numbers in each volume, improved speed a bit (database date: 15/1/2017)
0.3 Change libraries dependencies to Windows Default instead of IronPython (better system compatibility), add option to search for input data file instead of using default
0.4 Change input data file extension to "mcl", added database date info in input file, added input file format verificarion (database date: 15/1/2017)
0.5 Separate data file input from script version (now each one have different versions)
0.6 Fixed problem with unicode characters (unicode always my nightmare XD) - Still some problems with unicode characters in results but no crashes anymore because of that
0.7 Fixed visual problem with large string numbers and series with no year
0.8 Now the results are sorted by year (the year is the one from the first comic in your library of that series)
0.9 Great improve in speed of analysis (what took 10 minutes before it takes 5 seconds now), also much "cleaner" code (less exceptions)
1.0 Added comicvine volume_id in the results
1.1 Fixed bug with comics with non volumes crashes
1.2 Result is now saved in Documents folder (fixing some permission problems in same systems)
2.0 Added feature to load comic checklists!
2.1 Added Summary in the end of the Report
2.2 Fixed a problem with Unscrapped comics in checklist that caused a crash in some cases
2.3 Added autocomplete custom values for comics that don't have them (but have the issue info in notes)
2.4 Fixed how unscrapped comics affected results
2.5 Fixed problems with '"', ',', ';' in comic numbers string

NEW IN VERSION IN 2.1!

This new version is quite different that the previous one.

Now you can load two types of files:

*.mcl (Missing Comic List): As before, this files are used to find holes in your library. They contain the whole CV list of comics till some date, and it will only search for missing comics in volumes you already have at least a comic. Also remember you can use this type of analysis with only a group of comics, and it will show only comics missing in that group (for example only a volume to see if it is complete)

*.mcc (Missing Comic Checklist): This is the new feature. It is used to find comics missing from a checklist. It will tell you from a checklist of comics (for example all New 52 comics) which comics you are missing (even if you don't have any comic of a volume). The idea is for people to post their own checklist for others to share (I am finishing the script that makes this checklist easily from Comicrack, but I will share a few as demos). This type of analysis will also show the series you selected NOT in the checklist, so you can see if there are errors in the checklist :)

DEMO MCC CHECKLIST (new 52 comics INCOMPLETE DEMO)

File Attachment:

File Name: new52-2.zip
File Size:15 KB
Attachments:
Last Edit: 2 weeks 2 days ago by Xelloss.
The administrator has disabled public write access.
The following user(s) said Thank You: rmagere, dockens, romsnesrom, ChrisR

[Script] Find Missing Comics using Comicvine Offline (BETA!) 9 months 2 days ago #46817

  • Xelloss
  • Xelloss's Avatar
  • Online
  • Platinum Boarder
  • Posts: 354
  • Thank you received: 94
  • Karma: 20
Update: 0.2 Beta -> Fixed number order in output and improved the speed a bit

Now it takes about 3 seconds instead of 5 seconds to process my 15k comics collection... (most of the time it took me to complete this script was to improve a performance of about 5 minutes to a now 3 seconds run XD)
Last Edit: 9 months 2 days ago by Xelloss.
The administrator has disabled public write access.
The following user(s) said Thank You: perezmu

[Script] Find Missing Comics using Comicvine Offline (BETA!) 9 months 2 days ago #46819

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1112
  • Thank you received: 64
  • Karma: 51
Looking great!
The administrator has disabled public write access.

[Script] Find Missing Comics using Comicvine Offline (BETA!) 9 months 1 day ago #46825

  • Xelloss
  • Xelloss's Avatar
  • Online
  • Platinum Boarder
  • Posts: 354
  • Thank you received: 94
  • Karma: 20
If someone tests it, I would be grateful to receive some feedback... so I can fix all the bugs you find... :)
The administrator has disabled public write access.

[Script] Find Missing Comics using Comicvine Offline (BETA!) 9 months 21 hours ago #46826

  • rmagere
  • rmagere's Avatar
  • Offline
  • Gold Boarder
  • Posts: 219
  • Thank you received: 23
  • Karma: 6
Currently away from my comics but plan to test in a few weeks time :)
The administrator has disabled public write access.

[Script] Find Missing Comics using Comicvine Offline (BETA!) 8 months 4 weeks ago #46827

  • mal
  • mal's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 2
  • Karma: -1
Took a few times to install,and now it's giving the error Scopestorage object has no attribute Findmissingissue_cv
The administrator has disabled public write access.
The following user(s) said Thank You: Xelloss

[Script] Find Missing Comics using Comicvine Offline (BETA!) 8 months 4 weeks ago #46828

  • Xelloss
  • Xelloss's Avatar
  • Online
  • Platinum Boarder
  • Posts: 354
  • Thank you received: 94
  • Karma: 20
That means that comicrack isn't seeing the script, that usually happens when there is another error and comicrack just block the script... Mmmh...

Did you put the csv file in the script folder? (The comicrack script folder, not the script own folder...)

Does comicrack show another error message the first time you run the script (since the time you last ran the program)?

I am really trying to make the installation easier, but I cannot just find the way for the script to load the data file from the same folder it is installed...
Last Edit: 8 months 4 weeks ago by Xelloss.
The administrator has disabled public write access.

[Script] Find Missing Comics using Comicvine Offline (BETA!) 8 months 4 weeks ago #46829

  • ChrisR
  • ChrisR's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 6
  • Karma: 0
First error is "No module named os"

Next errors are the same as mal "ScopeStorage object has no attribute FindMissingIssues_CV"

csv file is in C:\Program Files\ComicRack\Scripts
The administrator has disabled public write access.
The following user(s) said Thank You: Xelloss

[Script] Find Missing Comics using Comicvine Offline (BETA!) 8 months 4 weeks ago #46830

  • Xelloss
  • Xelloss's Avatar
  • Online
  • Platinum Boarder
  • Posts: 354
  • Thank you received: 94
  • Karma: 20
My mistake! I forgot I used Iron Python Libraries instead of comicrack ones... and comicrack doesn't have os library (which I use to open the txt file).

I will upload a new version with the added libraries when I have access to my PC to do it :)

(or I can make a version where the txt is not automatically opened instead too)

If someone knows a way to open a txt file in screen with the standard comicrack libraries, please make me know U_U
Last Edit: 8 months 4 weeks ago by Xelloss.
The administrator has disabled public write access.

[Script] Find Missing Comics using Comicvine Offline (BETA!) 8 months 4 weeks ago #46831

  • Xelloss
  • Xelloss's Avatar
  • Online
  • Platinum Boarder
  • Posts: 354
  • Thank you received: 94
  • Karma: 20
No time to update it Yesterday or Today... Tonight I will try to do it :(
The administrator has disabled public write access.
The following user(s) said Thank You: Dr. Seuss of Porn
Time to create page: 0.224 seconds

Who's Online

We have 197 guests and 5 members online