Welcome, Guest
Try to get help from other ComicRack users
  • Page:
  • 1
  • 2

TOPIC: How to pull the ComicVine CVDB # from the Notes Field

How to pull the ComicVine CVDB # from the Notes Field 3 years 3 months ago #40198

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 766
  • Thank you received: 253
  • Karma: 55
actually it was easier than I imagined.

<<Tags.Not:>> => <<Review.SetValue:{Notes}>> <<Notes.RemoveLeading:Scraped metadata from ComicVine [>> <<Notes.RegexReplace:\].*||>> <<Notes.Add:, >> <<Notes.Add:{Tags}>> <<Tags.SetValue:{Notes}>> <<Notes.SetValue:{Review}>> <<Review.SetValue:>>

and

<<Tags.Is:>> => <<Review.SetValue:{Notes}>> <<Notes.RemoveLeading:Scraped metadata from ComicVine [>> <<Notes.RegexReplace:].*||>> <<Tags.SetValue:{Notes}>> <<Notes.SetValue:{Review}>> <<Review.SetValue:>>
Last Edit: 3 years 3 months ago by jkthemac.
The administrator has disabled public write access.

How to pull the ComicVine CVDB # from the Notes Field 3 years 3 months ago #40217

Thanks jkthemac, that worked perfectly.
The administrator has disabled public write access.

How to pull the ComicVine CVDB # from the Notes Field 9 months 2 weeks ago #46884

  • bradmon
  • bradmon's Avatar
  • Offline
  • Junior Boarder
  • Posts: 22
  • Karma: 0
Is there a way to make this work so that it takes the info from Tags, and copies or adds it to the notes section?

I have tried running what you have in the zip file, and it just seems to get stuck and not go anywhere.

Thanks
Last Edit: 9 months 2 weeks ago by bradmon.
The administrator has disabled public write access.

How to pull the ComicVine CVDB # from the Notes Field 9 months 2 weeks ago #46898

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 766
  • Thank you received: 253
  • Karma: 55
As far as I am aware there is still a bug with adding list values to fields in Data Manager. Certainly if I try to do it the script hangs.
Last Edit: 9 months 2 weeks ago by jkthemac.
The administrator has disabled public write access.

How to pull the ComicVine CVDB # from the Notes Field 6 months 6 days ago #47508

  • Surfal666
  • Surfal666's Avatar
  • Offline
  • Senior Boarder
  • Posts: 64
  • Thank you received: 4
  • Karma: 2
With DM 2.X:
    <group name="CVDB Cleanup">
      <filtersanddefaults rulesetmode="AND" />
      <ruleset name="mv-cvdb-notes-to-tag" rulesetmode="AND">
        <rule field="Notes" modifier="StartsWith" value="Scraped metadata from ComicVine [" />
        <rule field="Tags" modifier="NotContains" value="CVDB" />
        <action field="Notes" modifier="RegExVarAppend" value="(?&lt;Tags&gt;CVDB[0-9]+)" />
        <action field="Notes" modifier="SetValue" value="" />
      </ruleset>
      <ruleset name="rm-cvdbskip-from-notes" rulesetmode="AND">
        <rule field="Notes" modifier="Contains" value="CVDBSKIP" />
        <action field="Notes" modifier="SetValue" value="" />
      </ruleset>
    </group>

worked for me against 40k books. Lifesaver when I had my db go bad.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.336 seconds

Who's Online

We have 367 guests and 5 members online