Mask / Duration

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Mask / Duration

Re: Mask / Duration

by wquatan » Wed Nov 16, 2011 11:36 am

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

Re: Mask / Duration

by nohitter151 » Wed Nov 16, 2011 11:26 am

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.

Re: Mask / Duration

by Onweerwolf » Wed Nov 16, 2011 11:16 am

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.

Re: Mask / Duration

by Onweerwolf » Wed Nov 16, 2011 11:12 am

It doesn't matter if you capitalize it or not. So it's possible this doesn't work in MM3, only in MM4.

Re: Mask / Duration

by wquatan » Wed Nov 16, 2011 11:11 am

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

Re: Mask / Duration

by wquatan » Wed Nov 16, 2011 11:09 am

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

Re: Mask / Duration

by nohitter151 » Wed Nov 16, 2011 11:04 am

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.

Re: Mask / Duration

by Onweerwolf » Wed Nov 16, 2011 10:53 am

Note: this was tested with MM4, I have no idea if it is possible under MM3.

Re: Mask / Duration

by Onweerwolf » Wed Nov 16, 2011 10:44 am

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.

Re: Mask / Duration

by nohitter151 » Wed Nov 16, 2011 10:35 am

Re: Mask / Duration

by wquatan » Sun Nov 06, 2011 10:38 am

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) ?

Re: Mask / Duration

by nohitter151 » Sun Nov 06, 2011 10:30 am

Length is purposely left out of the mask possibilities because the character : is not allowed by windows filesystems for file paths.

Re: Mask / Duration

by wquatan » Sun Nov 06, 2011 9:36 am

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. "

Re: Mask / Duration

by Lowlander » Sun Nov 06, 2011 9:08 am

Mask / Duration

by wquatan » Sun Nov 06, 2011 8:10 am

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

Top