Welcome, Guest
Python Scripts for ComicRack

TOPIC: Folder name as Serie title

Folder name as Serie title 7 years 8 months ago #5115

  • bibu
  • bibu's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hi Everyone,

First I really want to thanks the guys who made this soft, it's really amazing!
I used to use BDZexplorer for several years and get lucky today to find this soft.

Now a quick question, I had a look on the forum but did not find the answer so sorry if this was already asked.

I have all my comics on my disk located with the following structure
folder name=series name
file name= title name

I was wondering if there is any script that would exist to fill the information in the correct field automatically?

thanks
Bibu
The administrator has disabled public write access.

Re:Folder name as Serie title 7 years 8 months ago #5117

  • Stonepaw
  • Stonepaw's Avatar
  • Offline
  • Moderator
  • Posts: 920
  • Thank you received: 267
  • Karma: 173
Welcome to the forums!

The script you need is Import tags from filename with regular expressions by Yellowbox. It will definitly do what you want. It might take a little trial and error to get your regular expression to work right, but it's really powerful.
The administrator has disabled public write access.

Re:Folder name as Serie title 7 years 8 months ago #5119

  • bibu
  • bibu's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hi Stonepaw, many thanks for your quick reply, I will test it right away. Really glad to see that there is a real community alive here ;-)
The administrator has disabled public write access.

Re:Folder name as Serie title 7 years 8 months ago #5121

  • bibu
  • bibu's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
well I had a look on the script and it will take ages for me before understanding how it work...

If anyone knows how to:
1-get folder name and write it in Serie tag
2-get file name and fill the title tag

It will be much appreciated :woohoo:
The administrator has disabled public write access.

Re:Folder name as Serie title 7 years 8 months ago #5123

  • Stonepaw
  • Stonepaw's Avatar
  • Offline
  • Moderator
  • Posts: 920
  • Thank you received: 267
  • Karma: 173
Using this regular expression with the script I linked to previously should do what you want.
.+\\(?<Series>.*)\\(?<Title>.*)

It will put the folder name in the Series field and the file name in the Title field.

Hope that helps :laugh:
The administrator has disabled public write access.

Re:Folder name as Serie title 7 years 8 months ago #5131

  • bibu
  • bibu's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
you are amazing man! thanks again!
The administrator has disabled public write access.

Re:Folder name as Serie title 7 years 8 months ago #5132

  • bibu
  • bibu's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
and yes it works like a charm even if it stop at the end with an "exception has been thrown by the target of an invocation" error message but this come from the script so I will dig in the post.

Have a great day
The administrator has disabled public write access.
Time to create page: 0.168 seconds

Who's Online

We have 246 guests and 4 members online