Mask / Duration

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

wquatan
Posts: 32
Joined: Sun Nov 06, 2011 7:53 am

Mask / Duration

Post by wquatan »

I'm new to Mediamonkey, and I'm trying to replace the dedicated Tag-tool (MP3TAG) by Mediamonkey's features.
In MP3TAG I used to add to the filenames a "[5'45-320]" standing for "[duration-bitrate]"

In the meanwhile I found in Mediamonkey the "Mask Reference" and also the <Bitrate>. However I can't find anything to retrieve the duration/length.

In MP3TAG I could retrieve that in seconds and have the requested result above with a calculation : '$div(%_length_seconds%,60)''$num($mod(%_length_seconds%,60),2)'

I would like to know how I can get access via the Mask to the duration/length and eventually to other tags not specified in the Mask Reference

Thx
Lowlander
Posts: 58888
Joined: Sat Sep 06, 2003 5:53 pm

Re: Mask / Duration

Post by Lowlander »

wquatan
Posts: 32
Joined: Sun Nov 06, 2011 7:53 am

Re: Mask / Duration

Post by wquatan »

Thanks for replying.

That's the document I found and referred to as "Mask Reference"

However it says "The table below describes most of the commonly used characters and fields in a mask. "
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Mask / Duration

Post by nohitter151 »

Length is purposely left out of the mask possibilities because the character : is not allowed by windows filesystems for file paths.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
wquatan
Posts: 32
Joined: Sun Nov 06, 2011 7:53 am

Re: Mask / Duration

Post by wquatan »

That's really a pitty, I will need to continue using two programs ....

Why not return the value as seconds (in the assumption there are calculation possibilities when used) , or substituting the ":" by a single quote to avoid the Windows-filename-problem (see example in first post) ?
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Mask / Duration

Post by nohitter151 »

MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
Onweerwolf
Posts: 712
Joined: Tue Dec 12, 2006 5:32 pm
Location: The Netherlands

Re: Mask / Duration

Post by Onweerwolf »

It's definitely possible to do this. Just use the mask <length> and it will add the song length to your filename replacing ":" with "-". You could probably use the replace function to change the "-" to a " ' " if you want.
Image
Onweerwolf
Posts: 712
Joined: Tue Dec 12, 2006 5:32 pm
Location: The Netherlands

Re: Mask / Duration

Post by Onweerwolf »

Note: this was tested with MM4, I have no idea if it is possible under MM3.
Image
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Mask / Duration

Post by nohitter151 »

Onweerwolf wrote:Note: this was tested with MM4, I have no idea if it is possible under MM3.
Thank you for pointing that out, I must have missed when that was added. But it definitely works in 1459.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
wquatan
Posts: 32
Joined: Sun Nov 06, 2011 7:53 am

Re: Mask / Duration

Post by wquatan »

Onweerwolf wrote:It's definitely possible to do this. Just use the mask <length> and it will add the song length to your filename replacing ":" with "-". You could probably use the replace function to change the "-" to a " ' " if you want.
Please tell me how, as (in the past and now) I tried <length> and <Length> (the same way as I do for <Bitrate> which works) but instead of adding the song length, the mask itself is added.

I'm using Mediamonkey 3.2.5.1306

Thanks
wquatan
Posts: 32
Joined: Sun Nov 06, 2011 7:53 am

Re: Mask / Duration

Post by wquatan »

nohitter151 wrote:
Onweerwolf wrote:Note: this was tested with MM4, I have no idea if it is possible under MM3.
Thank you for pointing that out, I must have missed when that was added. But it definitely works in 1459.
Ok, these replies came while re-testing and replying.
i'll have a look where I can find MM4
Onweerwolf
Posts: 712
Joined: Tue Dec 12, 2006 5:32 pm
Location: The Netherlands

Re: Mask / Duration

Post by Onweerwolf »

It doesn't matter if you capitalize it or not. So it's possible this doesn't work in MM3, only in MM4.
Image
Onweerwolf
Posts: 712
Joined: Tue Dec 12, 2006 5:32 pm
Location: The Netherlands

Re: Mask / Duration

Post by Onweerwolf »

Just checked it under MM 3.2.4.1304 and it does indeed not work in that build so I believe your only option is to upgrade to MM4 if you want to use this feature.
Image
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Mask / Duration

Post by nohitter151 »

wquatan wrote: i'll have a look where I can find MM4
It is the current release as of yesterday, you can get it from the download page.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
wquatan
Posts: 32
Joined: Sun Nov 06, 2011 7:53 am

Re: Mask / Duration

Post by wquatan »

Lucky me, MM4 came just-in-time :-)

Just tested the <Length> and it's working as I was looking for.

Great, many thx to all for the support.
I'll now certainly go for Gold
Post Reply