Welcome, Guest
Python Scripts for ComicRack

TOPIC: Standardize Library files

Re:Standardize Library files 9 years 1 month ago #2394

  • mr.clix
  • mr.clix's Avatar
  • Offline
  • Junior Boarder
  • Bang! Bang!
  • Posts: 33
  • Karma: 1
Awesome! Allow me to kiss your feet sir!
The administrator has disabled public write access.

Re:Standardize Library files 9 years 1 month ago #2442

  • snitch7
  • snitch7's Avatar
  • Offline
  • Senior Boarder
  • Posts: 61
  • Karma: 0
I'm no programmer, but I have figured out how to mod this script so it makes folders in the format Publisher/Genre, but it also adds another folder in the name of the FILE!. How can I stop that from happening so I just have Publisher/Genre ??
Last Edit: 9 years 3 weeks ago by snitch7.
The administrator has disabled public write access.

Re:Standardize Library files 9 years 3 weeks ago #2495

  • snitch7
  • snitch7's Avatar
  • Offline
  • Senior Boarder
  • Posts: 61
  • Karma: 0
anyone ???
The administrator has disabled public write access.

Re:Standardize Library files 9 years 3 weeks ago #2496

  • Quaraxkad
  • Quaraxkad's Avatar
  • Offline
  • Senior Boarder
  • Posts: 61
  • Karma: 2
If you want help with your own code you'll have to post what you modified.
The administrator has disabled public write access.

Re:Standardize Library files 9 years 3 weeks ago #2498

  • snitch7
  • snitch7's Avatar
  • Offline
  • Senior Boarder
  • Posts: 61
  • Karma: 0
Well I'd be happy if someone was able to mod the original so that it does not create a new folder based on the file name and therefore just had publisher/imprint folders only.
The administrator has disabled public write access.

Re:Standardize Library files 9 years 3 weeks ago #2501

  • Quaraxkad
  • Quaraxkad's Avatar
  • Offline
  • Senior Boarder
  • Posts: 61
  • Karma: 2
It doesn't create a folder based on the filename. That's why you need to post your modifications so we can see what happened.
The administrator has disabled public write access.

Re:Standardize Library files 9 years 3 weeks ago #2503

  • snitch7
  • snitch7's Avatar
  • Offline
  • Senior Boarder
  • Posts: 61
  • Karma: 0
I have tried the original script with the only mod being the NOTAFOLDER requirement as per the directions, eg "k:\\Comics\\"

If I have a file test.cbr this script will create a folder called 'test' embedded in the 'imprint' folder.
The administrator has disabled public write access.

Re:Standardize Library files 9 years 3 weeks ago #2504

  • Quaraxkad
  • Quaraxkad's Avatar
  • Offline
  • Senior Boarder
  • Posts: 61
  • Karma: 2
Add -dso -ssc to the end of your ComicRack shortcut, run ComicRack, and then run the script on one or two files. The console window should show some info on the renaming+moving process, copy and paste it here.
The administrator has disabled public write access.

Re:Standardize Library files 9 years 3 weeks ago #2505

  • snitch7
  • snitch7's Avatar
  • Offline
  • Senior Boarder
  • Posts: 61
  • Karma: 0
Calling 'StandardizeLibrary'...

k:\Paper Models\zz ABC Magazine\Action\!Hobbies (ABC) Kon Tiki\!Hobbies (ABC) Kon Tiki .pdf

10:20:58: Creating directory (k:\Paper Models\zz ABC Magazine\Action\!Hobbies (ABC) Kon Tiki\).

10:20:59: Done, moved to: k:\Paper Models\zz ABC Magazine\Action\!Hobbies (ABC) Kon Tiki\!Hobbies (ABC) Kon Tiki .pdf

K:\!Hobbies\ not empty!
The administrator has disabled public write access.

Re:Standardize Library files 9 years 3 weeks ago #2506

  • Quaraxkad
  • Quaraxkad's Avatar
  • Offline
  • Senior Boarder
  • Posts: 61
  • Karma: 2
That's your modified version, isn't it? Can you do the same thing with the original script? I went through the code and don't see any obvious reasons it should be making a seperate folder for each file.
The administrator has disabled public write access.
Time to create page: 0.190 seconds

Who's Online

We have 332 guests and 2 members online