Any way to NOT pad when using sized field names?

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

tbessie
Posts: 405
Joined: Wed Jan 18, 2006 3:50 am

Any way to NOT pad when using sized field names?

Post by tbessie »

If I am AutoOrganize'ing my collection, and I want to limit a field to N characters, but I don't want to pad the field with spaces or 0s, is that possible?

That is, for example, let's say I have 2 titles:
MyShortTitle
MyVeryLongTitleThatGoesOnForALongWhile
And I want "<Title:15>" to yield files called (exactly, minus the quotes) "MyShortTitle" and "MyVeryLongTitle".

Can this be done?

- Tim
tbessie
Posts: 405
Joined: Wed Jan 18, 2006 3:50 am

Anyone?

Post by tbessie »

Is there a way to do this? And is it planned for the next release, if not?
Not too tough to add a truncation tag to your syntax.

- Tim
jiri
Posts: 5426
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Post by jiri »

It certainly makes sense, added to our to-do list for the next version.

Jiri
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

jiri wrote:It certainly makes sense, added to our to-do list for the next version.

Jiri
Thanks for the update!

I also posted about this issue @ http://www.mediamonkey.com/forum/viewto ... y+truncate
tbessie
Posts: 405
Joined: Wed Jan 18, 2006 3:50 am

Just checking -- is this in 2.5.3?

Post by tbessie »

I was wondering if this was part of what was done in 2.5.3. Not quite sure, from reading the release notes.

- Tim
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

MediaMonkey 2.5.3 seems to trim all trailing spaces, so there are never spaces at the end of a field anymore.
That way, your padding problem seems to be fixed.

Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

It still seems to add spaces to both the end and beginning of files for me.

I do wish it was fixed tho, so annoying, I just want (only) long fields *truncated*... NOT Padded...
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

Ooooops, my fault. I checked Auto-tag instead of Auto-organise :-/
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
Post Reply