Welcome, Guest
News and Announcements

TOPIC: Organize Library Files & Folders 2.2.1

Organize Library Files & Folders 2.2.1 7 years 8 months ago #6060

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232




New Features
Added support for Python scripts
Added package configuration file for a cleaner looking setup

Changes
Script directory location is now relatively coded

Author's Comments:
This update version of the script addresses the bug created by the new ComicRack script installer function which was a cause of the previous version hard coding the script directory location. The script directory location is now relatively coded. I also included support Python scripts incase Python library paths in preferences aren't already set (this is to assist those users who aren't familiar with setting up/accessing Python libraries). In addition I included a package configuration file for a cleaner looking setup.

Donate and support ComicRack!
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
Last Edit: 7 years 8 months ago by 600WPMPO.
The administrator has disabled public write access.

Organize Library Files & Folders v2.2.1 7 years 8 months ago #6209

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
Organize Library Files & Folders is an add-on for ComicRack that lets users organize/standardize their eComic library naming and structure in windows explorer. It is a recommended ComicRack script.

The user must first manually set the root directory where they want their eComics to reside on the computer. Then, after selcting the desired comics in the library, the script is run. The script then creates a new subfolder of the Publisher within the root folder, then an Imprint subfolder if it exists, and finally a Series subfolder. The Series subfolder also gets the beginning year it was published at the end.

The syntax looks like this:
[root directoy] \ [Publisher] \ [Imprint if exist] \ [Series] ([YearBegan] Series) \

Then there is the file naming structure. The syntax for this is:
[Series] Vol. [Volume] # [Number with leading zeros] (of [Count if exist] ) ( [Month in text format] , [Year] )

Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
Last Edit: 7 years 8 months ago by 600WPMPO.
The administrator has disabled public write access.

Re: Organize Library Files & Folders 2.2.1 4 years 9 months ago #29376

  • texorcist
  • texorcist's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
I really like this script. Very handy for my OCD. However, I have noticed that when I have multiple versions of the book, it will only take one and the rest remain behind. As such, I wanted to have a place to put duplicates. Here's a patch that does that.
The administrator has disabled public write access.

Re: Organize Library Files & Folders 2.2.1 4 years 9 months ago #29378

  • texorcist
  • texorcist's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Whatevahs.

--- origOrganizeLibraryFilesFolders22.py 2013-01-28 14:55:36.000000000 -0600
+++ newOrganizeLibraryFilesFolders22.py 2013-01-29 12:20:16.000000000 -0600
@@ -546,6 +546,25 @@
#
except:
print time.strftime("%I:%M:%S") + " Couldn't move "+fullnew
+ # Move to Duplicates directory
+ print time.strftime("%I:%M:%S") + " Constructing fullduplicates path"
+ print time.strftime("%I:%M:%S") + " dir="+dir
+ print time.strftime("%I:%M:%S") + " book.FileName="+book.FileName
+ print time.strftime("%I:%M:%S") + " fi.Extension="+fi.Extension
+
+ duplicatesdir=dir+"Duplicates\\"
+ print time.strftime("%I:%M:%S") + " duplicatesdir="+duplicatesdir
+ try:
+ nt.mkdir(duplicatesdir)
+ print time.strftime("%I:%M:%S") + ": Creating directory (" + duplicatesdir + ")."
+ except:
+ print time.strftime("%I:%M:%S") + ": Directory (" + duplicatesdir + ") exists, not creating it."
+
+ fullduplicates=duplicatesdir+book.FileName+fi.Extension
+ print time.strftime("%I:%M:%S") + " fullduplicates="+fullduplicates
+ print time.strftime("%I:%M:%S") + " book.FilePath="+book.FilePath
+
+ FileInfo(book.FilePath).MoveTo(fullduplicates)
else:
print book.FilePath+" already standardized"
#
The administrator has disabled public write access.

Re: Organize Library Files & Folders 2.2.1 4 years 9 months ago #29382

  • Madmatx
  • Madmatx's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 457
  • Thank you received: 63
  • Karma: 19
texorcist wrote:
I really like this script. Very handy for my OCD. However, I have noticed that when I have multiple versions of the book, it will only take one and the rest remain behind. As such, I wanted to have a place to put duplicates. Here's a patch that does that.

Try using a different browser, This forum doesn't seem to like attachments with firefox.
The administrator has disabled public write access.

Re: Organize Library Files & Folders 2.2.1 4 years 1 month ago #37032

  • Ulvirfaust
  • Ulvirfaust's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: -1
Unfortunately, I just used this script. Now all of my comics seem to be corrupt! They can't be read by ComicRack or any other reader. It moved them all to a single directory and organized them fine (if it had only COPIED them, I'd be able to go back to the originals), but they're all just big red X's in ComicRack now and I tried another reader that said the file was unreadable. If anyone knows what happened or what to do, I would REALLY appreciate any help... :(
Last Edit: 4 years 1 month ago by Ulvirfaust.
The administrator has disabled public write access.

Re: Organize Library Files & Folders 2.2.1 4 years 1 month ago #37035

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 557
  • Karma: 232
Ulvirfaust wrote:
Unfortunately, I just used this script. Now all of my comics seem to be corrupt! They can't be read by ComicRack or any other reader. It moved them all to a single directory and organized them fine (if it had only COPIED them, I'd be able to go back to the originals), but they're all just big red X's in ComicRack now and I tried another reader that said the file was unreadable. If anyone knows what happened or what to do, I would REALLY appreciate any help... :(
3 suggestions:

1. Try the Undo button from the ComicRack browser toolbar. You never know...

2. If all comics are really corrupt, try rearchiving. Try malor89's perl scripts (see the sticky in the scripts thread).

3. This is an obsolete script, but people still fall for it. Now the recommended script is the Library Organizer. Read the ComicRack manual & the organizer manual to know more.
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
Last Edit: 4 years 1 month ago by 600WPMPO.
The administrator has disabled public write access.

Re: Organize Library Files & Folders 2.2.1 4 years 1 month ago #37046

  • Ulvirfaust
  • Ulvirfaust's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: -1
Thanks. Fortunately, I managed to get the files back. Apparently, it was a driver conflict with my external drive (which is where I moved all the comics to). I still have a few corrupt files, however. Don't know why just a couple books are still unable to be read.
Last Edit: 4 years 1 month ago by Ulvirfaust.
The administrator has disabled public write access.

Re: Organize Library Files & Folders 2.2.1 4 years 1 month ago #37047

  • Ulvirfaust
  • Ulvirfaust's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: -1
Hi, well I looked at the perl scripts but all I saw was one of his scripts for testing archives. Think you could give me a link or two for the rearchiving scripts? Thanks.
The administrator has disabled public write access.
Time to create page: 0.221 seconds

Who's Online

We have 288 guests and 5 members online