Welcome, Guest
Python Scripts for ComicRack

TOPIC: Data Manager 2.xx Series for ComicRack

Data Manager 2.xx Series for ComicRack 1 month 3 weeks ago #48083

  • CADScott
  • CADScott's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
I am still having problems with tags with spaces being split into two separate tags. :(

This has been an ongoing issue for quite a while, I can't imagine I am the only one to have run into this issue, but if I try to use a tag such as The Punisher, it splits it into two tags The and Punisher.

I am using the latest version from git, and it has been a bug for ages, I posted it months ago and got no reply.
I even tried to work around it by using an underscore in the tag (The_Punisher), and then trying to run another rule to replace the underscore with a space, but I can't seem to get that to work.

Please could you help with this one, it is pretty frustrating.


The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 month 3 weeks ago #48095

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 760
  • Thank you received: 248
  • Karma: 55
Kurt wrote:
Is there any way to set up a ruleset to check a series for a colon ( : ) and only apply the text that is before the colon to the series group? Once I get passed my DC and Marvel books, the way I organize my books, 99% of the remainder of books the series group is what is in front of a colon. It would be much easier to have one catch all rule.

Sure. Try this:

File Attachment:

File Name: colon.zip
File Size:0 KB

#@ VERSION 
#Created by CR Data Manager GUI 
#Do Not Edit Manually unless you know what you are doing
#@ AUTHOR JKtheMac
# -------------------------------
#@ GROUP colon
# -------------------------------
#@ NAME Pre Colon to Series Group @ COMMENT 
<ruleset name="Pre Colon to Series Group" rulesetmode="AND">  <rule field="Series" modifier="RegEx" value=":" />  <action field="SeriesGroup" modifier="SetValue" value="{Series}" />  <action field="SeriesGroup" modifier="RegexReplace" value="^(.*):.*$||$1" /></ruleset>
#@ END_GROUP colon
# -------------------------------
#@ END_RULES
# -------------------------------
Last Edit: 1 month 3 weeks ago by jkthemac.
The administrator has disabled public write access.
The following user(s) said Thank You: Kurt

Data Manager 2.xx Series for ComicRack 1 month 3 weeks ago #48105

  • Kurt
  • Kurt's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 3
  • Karma: 2
jkthemac wrote:
Sure. Try this:

Worked like a charm, thanks! I figured it had to be something with RegEx, but that just confuses me :unsure:
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 month 1 week ago #48147

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 760
  • Thank you received: 248
  • Karma: 55
Kurt wrote:
Worked like a charm, thanks! I figured it had to be something with RegEx, but that just confuses me :unsure:


Indeed it can be. See my tutorial on using Regex in smartlists for a hopefully clearer introduction to some of the basics.

Glad the tip helped.
Last Edit: 1 month 1 week ago by jkthemac.
The administrator has disabled public write access.
Time to create page: 0.248 seconds

Who's Online

We have 209 guests and 5 members online