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.9. Bugfix release 5 years 11 months ago #27686

  • hanfgnu2k1
  • hanfgnu2k1's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Thanks a lot!

This regex misses some of the files for no obvious reason, but it comes down to a managable amount to tag them manually :)

I also got rid of the Tags, this seems to be a library only thing and isn't persistent when moving files between computers/libraries.
The administrator has disabled public write access.

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

  • catweazle
  • catweazle's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Hi There / Hallo Zusammen,

just a short question, ...

- (how) is it possible to 'catch' a language info in the name of a file. I've tried different possible tag-names, but nothing seems to work.

e.g. Manara, Milo\Borgia 02 - Macht und Inzest (Manara, Jodorowski) [Kult] (2006) (deutsch).cbr

would theoretically be caught by

.*\\(?<writer>.*)\\(?<Series>.*) (?<Number>.*) - (?<title>.*) [(](?<Language>.*)[)].c

but it seems, that 'language', 'isolanguage', 'locale' - even 'Gschwaetz' - aren't be able to catch '(deutsch)' correctly.

Thanx in advance!
The administrator has disabled public write access.

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

  • perezmu
  • perezmu's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1135
  • Thank you received: 64
  • Karma: 51
Wouldn't it be great if support for custom fields was added to the script :blush: :blush: :blush: ?
The administrator has disabled public write access.

Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 3 years 1 month ago #43825

  • freMea
  • freMea's Avatar
  • Offline
  • Junior Boarder
  • Posts: 38
  • Thank you received: 5
  • Karma: 1
Hi,

Here (too large to be posted in attachment :blink: ) a repack of this plugin with an icon. So now it can be run from a button in browser toolbar like other scrapers and so on. It is the only change made to original to make it more user friendly.
The administrator has disabled public write access.
The following user(s) said Thank You: Tom2112

Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 2 years 6 months ago #45614

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 599
  • Thank you received: 152
  • Karma: 31
I didn't know anything about regular expressions... but with the examples of the topic and some patience, 2 hours later XD, I translate this:

Base Folder: S:\Comics
Folder: {<publisher>}\{ <seriesgroup>}\{<imprint>}\{<series>}{ (<startyear>{ <format>})}
File: {<series>}{ V<volume>}{ #<number2>}{ (of <count2>)}{ [<year>.{<month#2>}]} - { <title>}

(in Library Organizer)

into this:

S:\\Comics\\(?<Publisher>.*)\\(?<SeriesGroup>.*)\\(?<Imprint>.*)\\(?<Series>.*) \((?<Volume>.*) (?<Format>.*)\)\\(?<Series>.*) V(?<Volume>.*) #(?<Number>.*) \(of (?<Count>.*)\) \[(?<Year>.*)\.(?<Month>.*)\] - (?<Title>.*).cbt

(in this Script)

Now I have another fantastic tool for quickly orginizing :)

Thanks!

After reading about REGEX and debugging a bit it evolves into this:

S:\\Comics\\(?<Publisher>.*)\\(?<SeriesGroup>.*)\\(?<Imprint>.*)\\(?<Series>.*) \((?<Volume>....) (?<Format>.*)\)\\(?<Series>.*) V(?<Volume>.*) #0*(?<Number>.+) \(of 0*(?<Count>.+)\) \[(?<Year>....)\.0*(?<Month>.*)\] - *(?<Title>.*).cbt
Last Edit: 2 years 6 months ago by Xelloss.
The administrator has disabled public write access.

Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 1 year 9 months ago #46949

  • Tom2112
  • Tom2112's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
What a great plugin! Thanks a ton!
The administrator has disabled public write access.

Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 1 year 8 months ago #47259

  • pone
  • pone's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 1
  • Karma: 0
Great Script, fixed a lot of my crashed medialibrary with it today.

One questions though:

When I get empty values of fields the scripts writes a question mark into these fields. Is it possible to change that behaviour in a way that these fields stay empty?
The administrator has disabled public write access.

Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 10 months 3 weeks ago #48920

  • amix
  • amix's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
Hooray and yay! This is a total lifesaver! Thanks so much, man!

Now I just have to find out, how to tag stuff like:
Comics\Death Note\0001 - Death Note 000 Pilot.cbz
Comics\Death Note\0002 - Death Note 001 Boredom.cbz
Comics\Death Note\0003 - Death Note 001.1 Boredom (Official color scans).cbz
Comics\Death Note\0004 - Death Note 002 L.cbz

[...]

Comics\Death Note\0107 - Death Note 106 Intent To Kill.cbz
Comics\Death Note\0108 - Death Note 107 Curtain.cbz
Comics\Death Note\0109 - Death Note 108 Finis.cbz
Comics\Death Note\0110 - Death Note 109 Oneshot.cbz
Comics\Death Note\0111 - Death Note 110 How To Read.cbz
Comics\Death Note\0112 - Death Note 110.5 Omake.cbz

You see? There is two different numbering of the series. One physical and one methodical. Not sure what to do about this. How do you guys deal with such?

For those interested, the regex I used is:
(?<Number>[0-9]*) - (?<Series>Death Note) ([0-9]*) (?<Title>[a-zA-Z]).cbz

I see, I got the <Volume> tag wrong, ComicRack uses that as a year.
Last Edit: 10 months 3 weeks ago by amix. Reason: edited regex
The administrator has disabled public write access.

Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 10 months 3 weeks ago #48921

  • amix
  • amix's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
Is there a way to create a template for the desired output?

Let's say I have
Comics\Star Wars\The Essential Guides\Ann Margaret Lewis, R. K. Post Star wars the essential guide to alien species.pdf

and I want the Series to be something like
Star Wars - The Essential Guides
and the Title then would be
The Essential Guide to Alien Species

This would require me adding a '-' between 'Star Wars' and 'The Essential Guide' in the Series and have me be able to apply title casing.
The administrator has disabled public write access.

Priat(Path Reader and InterActive Tagger) V 0.0.9. Bugfix release 10 months 2 weeks ago #48937

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 599
  • Thank you received: 152
  • Karma: 31
You made me remember I have to update the REGEX expression to my new file naming convention... It is REGEX fighting season all over again XD
The administrator has disabled public write access.
Time to create page: 0.222 seconds

Who's Online

We have 197 guests and 2 members online