Welcome Guest

Pages: 1 2
Simple rename file/folder question
2MR2PostSeptember 15, 2016, 13:36
Avatar photo
Administrator
Posts: 2086
Registered:
August 23, 2012, 19:27
Normal topicRe: Simple rename file/folder question

I've fleshed this out to eventually become a sample action. The action will move all tracks but if you're following your own conventions it should not affect anything already in place.

It can be downloaded at:

https://2manyrobots.com/actions/DeadmanMove-2.zip

The action is called: DeadmanMove-2

YOU MUST EDIT THE ACTION TO SET THE PROPER DESTINATION PATH!!!!!

Things to note:

- the action will operate in all execution modes with any number of albums loaded
- It does not validate that for any given album, the Album Artist (or Artist), Album, Year metadata is consistent. However if not consistent...your tracks will move to locations reflecting the inconsistent data.
- leading/trailing spaces in any of the examined fields is ignored as is alphabetic case.
- an empty Disc field, or a Disc field with a value <= 0 is treated as 1. This is only saved if the Disc subfolders are necessary
- some minor changes such as trimming the fields or modifying the Disc numbers will be saved
- an empty or invalid Year is treated as 0000

The tracks will be moved to:

/basePath/AAA/aaa (year)/tt. Title

or

/basePath/AAA/aaa (year)/Disc dd/tt. Title

AAA is Album Artist, or sign empty, Artist or if empty "Unknown Album Artist"
aaa is Album or if empty "Unknown Album"
dd is a two digit Disc number
tt is a two digit track number

The non audio files are always moved to the "aaa (year)" folder. Duplicate filenames are handled.

I've done some, but not exhaustive testing. Please test it out and verify that it is doing what you wanted.

Pages: 1 2
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.013 seconds.