Welcome, Guest
Python Scripts for ComicRack

TOPIC: Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release

Re: Priat(Path Reader and InterActive Tagger) V 0.0.6. Bugfix release 5 years 3 months ago #24670

  • rmagere
  • rmagere's Avatar
  • Offline
  • Gold Boarder
  • Posts: 221
  • Thank you received: 24
  • Karma: 7
Not sure if the following bug has already been mentioned:
  • List of comics to be renamed present in the priat window
  • Select a selection of them
  • Press spacebar to (de)select them
  • Error message appears asking whether to restart, try to resume, cancel
  • Press try to resume and everything works as expected
Following the steps above I can repeat the issue every single time on my machine.
The administrator has disabled public write access.

Re: Priat(Path Reader and InterActive Tagger) V 0.0.6. Bugfix release 5 years 3 months ago #24672

  • tcm1998
  • tcm1998's Avatar
  • Offline
  • Expert Boarder
  • Posts: 94
  • Thank you received: 16
  • Karma: 6
rmagere wrote:
Not sure if the following bug has already been mentioned:
  • List of comics to be renamed present in the priat window
  • Select a selection of them
  • Press spacebar to (de)select them
  • Error message appears asking whether to restart, try to resume, cancel
  • Press try to resume and everything works as expected
Following the steps above I can repeat the issue every single time on my machine.

Thanks for reporting this bug. It only happens when the total number of comics selected for Priat is less than the number of comics you can display per page (depending on the size of the listview). Since I did most of my testing on the full comic list, I never noticed this bug.

It's fixed in 0.0.9, which is available in the first post.
Just madly collecting (dutch) comics
The administrator has disabled public write access.
The following user(s) said Thank You: rmagere

Re: Priat(Path Reader and InterActive Tagger) V 0.0.6. Bugfix release 5 years 3 months ago #24677

  • rmagere
  • rmagere's Avatar
  • Offline
  • Gold Boarder
  • Posts: 221
  • Thank you received: 24
  • Karma: 7
As always WOW for the amazingly quick response and resolution :)
The administrator has disabled public write access.

Re: Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 5 years 3 months ago #25092

  • higunner
  • higunner's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Gentlemen, i'm having a hard time trying to figure this out, maybe you can help me.

Thans to torrent i downloaded a complete alternate arc and i can't figure how can i use the script for this

C:\Users\Higunner\Downloads\Varios\Manga\Brightest Day #1(Green lantern Corps 47).cbz


Path: C:\Users\Higunner\Downloads\Varios\Manga <
useless
Alt. Serie: Brightest Day
Alt. Number: 1
Series: Green lantern Corps
Number: 47


I don't really know how to do it, so if you could help me it'd be great
The administrator has disabled public write access.

Re: Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 5 years 3 months ago #25104

  • Kins3
  • Kins3's Avatar
  • Offline
  • Senior Boarder
  • Posts: 43
  • Thank you received: 4
  • Karma: 1
The following will handle that, with some extra safety checks.
Manga\\(?<AlternateSeries>.*(?=\b\s*#))\s*#(?<AlternateNumber>\d+)\s*\((?<Series>.*(?=\s+\d+\)))\s+(?<Number>\d+)\).*\.cbz
The administrator has disabled public write access.

Re: Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 4 years 11 months ago #27114

  • misakitchi
  • misakitchi's Avatar
  • Offline
  • Senior Boarder
  • Posts: 43
  • Karma: -1
Hello! Thanks for your script!

I need your help

I have files like this:

D:\BD\[BD FR] Jeremiah - T31 - Le panier de crabes (author)[scanner].rar
Type: BD FR
Serie: Jeremiah
Number: 31
Title: Le panier de crabes
Author: author
Scanner: scanner
Extension: rar

E:\Manga\[Manga FR] Tales of Eternia - Tome 02 [TNS].rar
Type: Manga FR
Serie: Tales of Eternia
Number: 02
Group: TNS
Extension: rar

F:\Comics\[Comics FR] FreakAngels - T06 (Ellis-Duffield)(fixed).zip
Type: Comics FR
Serie: FreakAngels
Number: 06
Author: Ellis-Duffield
Release: fixed
Extension: zip

But i don't know lots of regular expression...
can you give me one or more expressions?

Thx!!! :)
The administrator has disabled public write access.

Re: Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 4 years 11 months ago #27142

  • misakitchi
  • misakitchi's Avatar
  • Offline
  • Senior Boarder
  • Posts: 43
  • Karma: -1
Hi!

I find my regular expression for files like this:

D:\BD\[BD FR] Ewen - T01 - Alis.rar
or
D:\BD\[BD FR] Le Grand Siècle - T01-02 (Simon-Andriveau).zip

.*\\\[(?<ScanInformation>.*(?=]))]\s(?<Series>.+?)\s-\sT(?<Number>\d+)(-(?<AlternateNumber>\d+))?

It only take serie name and number

After this i use plugin "Bedetheque Scraper 2":

comicrack.cyolito.com/user-forum/13-scri...heque-scraper-2-v221

to take more infos!


Your plugin is very good but i have one suggestion:
put icone in toolbar and when we open the plugin, iwant to load last regular expression...

Thx for all! ^_^


PS: new expression!

.*\\\[(?<ScanInformation>.*(?=]))]\s(?<Series>.+?)\s-\s(?<Format>T|HS|INT|One Shot|PUB)((?<Number>\d+)?)(-(?<AlternateNumber>\d+))?

Something very important:
Instead of put "?" in square, can you leave blank?
thx
Last Edit: 4 years 11 months ago by misakitchi.
The administrator has disabled public write access.

Re: Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 4 years 11 months ago #27600

  • hanfgnu2k1
  • hanfgnu2k1's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hello,

I'm organizing a large amount of Doujinshi and the filenames are in the loose format:
(C82) (同人誌) [カワクウズウズ(かわく)] CYGNE (オリジナル).zip
(C82) [カタミチキップ (御影石材)] 信じて送り出したフタナリマリーさんが異人さんの変態調教にドハマリして(以下略) (じょしらく).zip
(同人誌) [地下鉄食堂] さくらのくに、せかいのおわり (コードギアス).zip
(C82)(同人誌)[オロリヤ鉛筆堂 (無有利安)] オロリヤ鉛筆堂サマースペシャル.zip
(COMIC1☆5) [壁の彩度 (saitom)] MA+HO+U (魔法少女まどかマギカ).zip
(同人誌) [アジサイデンデン] CADENZA-STILL IN THE NIGHT- (DARKER THAN BLACK).zip
(C76) [VENOM (Rusty Soul、或十せねか)] Left Style (けいおん!) [DL版].zip

Having a real hard time to come up with a working regex for those because as you can see not all elements always exist and some whitespaces are optional.

What I basically want is (e.g. for the first manga above):
* Text in brackets in front is mapped to Tags » C82, 同人誌
* Text in square brackets is mapped to Publisher » カワクウズウズ
* If there is text in brackets inside the square brackets it is mapped to Writer » かわく
* The following text is mapped to Title » CYGNE
* The text in the brackets at the end is mapped to Series » オリジナル

My brain feels like it's about to explode trying to figure out a regex for this... maybe someone might help me with that, please?
The administrator has disabled public write access.

Re: Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 4 years 11 months ago #27616

  • misakitchi
  • misakitchi's Avatar
  • Offline
  • Senior Boarder
  • Posts: 43
  • Karma: -1
I want to say: "Good Luck!"

I can't help you but i have lots of manga like this, if you find a solution tell me plz :)

Do you know a manga scraper?
The administrator has disabled public write access.

Re: Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 4 years 11 months ago #27628

  • Kins3
  • Kins3's Avatar
  • Offline
  • Senior Boarder
  • Posts: 43
  • Thank you received: 4
  • Karma: 1
@hanfgnu2k1:
Test Priat\\(\((?<Tags>.*?(?=\)))\))\s*(\((?<Tags2>.*?(?=\)))\))?\s*(\[(?<Publisher>[^\]\(]+?)(\s*\((?<Writer>[^\)]+)\))?\])?\s*(?<Title>[^\(\[\.]+?)(\s*\((?<Series>[^\)]+)\))?((?<=\)).*?)?\.(zip|cbz)

Notes:
Trailing spaces for Publisher and Title are removed.
Change "Test Priat" to whatever the base level directory is.

Limitations:
It cannot extract multiple Series values. As currently written, it will only use the first series if there are multiples. Can change that to use the last series, if that's preferred.

It cannot extract multiple Tags values. It currently uses Tags and Tags2. I'm not sure that Tags is the correct value, since it doesn't light up in blue. In fact, I can't even get tags to show up in the ComicInfo.xml file if I add them manually, so I'm not sure how those would work at all.
Last Edit: 4 years 11 months ago by Kins3.
The administrator has disabled public write access.
Time to create page: 0.312 seconds

Who's Online

We have 201 guests and 3 members online