Wednesday February 08 , 2012
Text Size
   
Welcome, Guest
Username Password: Remember me

Series Info Panel
(1 viewing) (1) Guest
Python Scripts for ComicRack

TOPIC: Series Info Panel

Series Info Panel 1 year, 5 months ago #9595

  • pescuma
  • OFFLINE
  • Expert Boarder
  • Posts: 94
  • Karma: 19
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

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


Download at: SeriesInfoPanel-0.12.crplugin

Changelog:
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: 1 year ago by pescuma.
The following user(s) said Thank You: freMea

Re:Series Info Panel 1 year, 5 months ago #9596

  • Stonepaw
  • OFFLINE
  • Moderator
  • Posts: 657
  • Karma: 113
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: 1 year, 5 months ago by Stonepaw.

Re:Series Info Panel 1 year, 5 months ago #9603

  • perezmu
  • OFFLINE
  • Platinum Boarder
  • Posts: 788
  • Karma: 36
Thanks! You got ahead of me!

Re:Series Info Panel 1 year, 5 months ago #9604

  • pescuma
  • OFFLINE
  • Expert Boarder
  • Posts: 94
  • Karma: 19
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: 1 year, 5 months ago by pescuma.

Re:Series Info Panel 1 year, 5 months ago #9605

  • pescuma
  • OFFLINE
  • Expert Boarder
  • Posts: 94
  • Karma: 19
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

Re:Series Info Panel 1 year, 5 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

Re:Series Info Panel 1 year, 5 months ago #9613

  • 600WPMPO
  • NOW ONLINE
  • Moderator
  • Posts: 2279
  • Karma: 114
+1 karma for our latest developer pescuma !!

Re:Series Info Panel 1 year, 5 months ago #9614

  • pescuma
  • OFFLINE
  • Expert Boarder
  • Posts: 94
  • Karma: 19
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.

Re:Series Info Panel 1 year, 5 months ago #9617

  • 600WPMPO
  • NOW ONLINE
  • Moderator
  • Posts: 2279
  • Karma: 114
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:

Re:Series Info Panel 1 year, 5 months ago #9619

  • pescuma
  • OFFLINE
  • Expert Boarder
  • Posts: 94
  • Karma: 19
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?
Time to create page: 0.67 seconds

Who's Online

We have 208 guests and 1 member online
  • 600WPMPO

PIM

You are not logged in.