Extract last X characters of album name for ripping audioboo

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

sickingm
Posts: 7
Joined: Fri Feb 22, 2008 12:26 am

Extract last X characters of album name for ripping audioboo

Post by sickingm »

When naming the titles of ripped CD tracks is it possible to extract the *last* several characters of a album title, similar to how <album:15> will, for instance, extract the *first* 15? Also I need to extract all but the first XX characters.

Lengthy explanation on why it would help to have this follows:

I frequently rip audiobook CDs into my library for later listening on my MP3 player. What's unique about these is that they are seldom found in the freedb or other online data bases, and the individual tracks don't really have names as such.

To make it easy to tell where I am on my player I like to use a specific naming convention for ht disks and tracks.

I create a directory called <artist>-<book title>
with subdirectories called
<book title> - Disk 1
<book title> - Disk 2, etc.

and I like to name the individual tracks
dd-tt <book title>
where dd is the disk number and tt is the track number.

I do this by manually defining the Album title as
TTT - Disk XX
Where TTT is the title of the book and DD is the disk number. To get this all to work I need the first N-10 characters of hte album title to define the parent directory and I need to place the disk number before the track number for the track name. What would help me would be specifiers for substrings of the album name. Something like:

<album:-10> to specify the last 10 characters, and <album:1,-10> to specify all but the last ten.

I'm guessing I could do this in scripts myself. I know vba, but it's not obvious from my cursory look at the object model where I get access to the album string and how I introduce it into the tack name prototype.
Matt