Welcome, Guest
Python Scripts for ComicRack

TOPIC: Series Info Panel

Series Info Panel 7 years 2 months ago #9595

  • pescuma
  • pescuma's Avatar
  • Offline
  • Expert Boarder
  • Posts: 115
  • Thank you received: 16
  • Karma: 21
A script to display information about selected comics. My real idea is to display this also when you open a stack of a comics series, but ComicRack does not allow it (at least yet).

Keep in mind that this is my first script and also I'm not used to python. Also, this is a very initial version, just to show the ideas.

Features:
- Shows the series
- Shows the volumes inside a series
- For each volume, show the issues, missing issues, duplicated issues and the cover for the first issue found

If someone is a good designer and would like to help, I'd need some html to make this beautiful. An icon would be good too B)

To edit the html templates and change how the panel looks, go to %appdata%\cYo\ComicRack\Scripts\Series Info Panel\ and edit this files:
- series.html: shown when more than one issue is selected
- issue.html: shown when only one issue is selected. You can use any field available in ComicRack in the book.* fields
- nothing.html: shown when no comic is selected


Latest Version (v1.13):

File Attachment:

File Name: SeriesInfo...crplugin
File Size:140 KB


Old version Download at: SeriesInfoPanel-0.12.crplugin


Changelog:
1.13
New Icon
-3 new skins:
--Small Vertical
--Small Vertical (pages)
--Small Wide (Pages)
-Support for Catalog Fields
-Support for Scan information, Series Group, Story Arc, Main Character fields and others.

0.12
* Fix for exception
+ Allow to hide cover from settings
+ Add images and file format handling for fileless comics
* Show url if not from comic vine
* Fix for paths with spaces

0.11
- Fix for open comic to read
- Spread different formats in different volumes
- Show issue count for volume

0.10
- Better handling of first issue in issues to read
- Allow to open next book to read
- Uses thumbnail (this makes the script faster for showing pages)
- Fix for info
- Fix for error in some comics
- Fix for invalid fields in skin/config

0.9
- Added translation
- Added option to hide empty fields
- Added option with number of first pages
- Added next issue to read
- Other small fixes

0.8
- Skins
- Configure fields in options
- Added Small Wide skin (to see if info area is at bottom)

0.7
- Moved notes to bottom
- Allow to show pages on issue template
- Removed 'book.' from Issue template
- It is now possible to use $Notes$ instead of {{ Notes }}

0.6
- Added page for no comic selected
- Using html created by perezmu for issues, series and no comic selected
- Added icon by Knight Rider

0.5
- Added more field
- Renamed templates to .html to make them more visible
- Always refresh template
- Split in more files

0.4
- Fix for not showing

0.3
- Added handling of 1.000.000
- Added issue page
- Moved all files to root folder

0.2
+ Added readed percentage
+ Added templates
+ Added protection for endless processing

0.1
- Initial version
Last Edit: 4 years 10 months ago by 600WPMPO. Reason: Updated to v1.13 & changelog
The administrator has disabled public write access.
The following user(s) said Thank You: freMea

Re:Series Info Panel 7 years 2 months ago #9596

  • Stonepaw
  • Stonepaw's Avatar
  • Offline
  • Moderator
  • Posts: 921
  • Thank you received: 268
  • Karma: 173
Very nice +1. I'll add it to the index.

re: opening stacks:

Could you not use ComicRack.App.GetLibraryBooks()and then filter out the series needed?
Last Edit: 7 years 2 months ago by Stonepaw.
The administrator has disabled public write access.

Re:Series Info Panel 7 years 2 months ago #9603

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1114
  • Thank you received: 64
  • Karma: 51
Thanks! You got ahead of me!
The administrator has disabled public write access.

Re:Series Info Panel 7 years 2 months ago #9604

  • pescuma
  • pescuma's Avatar
  • Offline
  • Expert Boarder
  • Posts: 115
  • Thank you received: 16
  • Karma: 21
Stonepaw wrote:
Could you not use ComicRack.App.GetLibraryBooks()and then filter out the series needed?

But how could I know that a stack is opened, and the filter used in the stack?
Last Edit: 7 years 2 months ago by pescuma.
The administrator has disabled public write access.

Re:Series Info Panel 7 years 2 months ago #9605

  • pescuma
  • pescuma's Avatar
  • Offline
  • Expert Boarder
  • Posts: 115
  • Thank you received: 16
  • Karma: 21
perezmu wrote:
Thanks! You got ahead of me!

If you want to help, the sources are at code.google.com/p/pescuma-comicrack/sour...runk/SeriesInfoPanel
The administrator has disabled public write access.

Re:Series Info Panel 7 years 2 months ago #9608

Wow, this is cool. A couple of suggestions:
-When multiple missing issues are found, they are whitespace delimited. You should probably append a "#" on the beginning for clarity
-Also, you should ignore any #1000000 issues. Right now it looks like this for some of the DC series:

The Adventures of Superman
Issues: 0 to Annual 09
Missing issues: 650-999999
The administrator has disabled public write access.

Re:Series Info Panel 7 years 2 months ago #9613

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
+1 karma for our latest developer pescuma !!
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.

Re:Series Info Panel 7 years 2 months ago #9614

  • pescuma
  • pescuma's Avatar
  • Offline
  • Expert Boarder
  • Posts: 115
  • Thank you received: 16
  • Karma: 21
New version: 0.2
+ Added readed percentage
+ Added templates
+ Added protection for endless processing

Now there is a series.tmpl file inside the plugin folder where the html can be customized. It is very raw and error reporting is not very good, but it seems to work.
The administrator has disabled public write access.

Re:Series Info Panel 7 years 2 months ago #9617

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
pescuma wrote:
New version: 0.2
+ Added readed percentage
+ Added templates
+ Added protection for endless processing

Now there is a series.tmpl file inside the plugin folder where the html can be customized. It is very raw and error reporting is not very good, but it seems to work.

While the first version worked right for me, this 0.2 is giving an error:

Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
The administrator has disabled public write access.

Re:Series Info Panel 7 years 2 months ago #9619

  • pescuma
  • pescuma's Avatar
  • Offline
  • Expert Boarder
  • Posts: 115
  • Thank you received: 16
  • Karma: 21
600WPMPO wrote:
While the first version worked right for me, this 0.2 is giving an error:

Could you please tell me which files are in the plugin folder?
The administrator has disabled public write access.
Time to create page: 0.220 seconds

Who's Online

We have 263 guests and 8 members online