Mask / Duration
Moderator: Gurus
Mask / Duration
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
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
Re: Mask / Duration
I don't think that's possible: http://www.mediamonkey.com/sw/webhelp/f ... ormats.htm
Download MediaMonkey ♪ License ♪ Knowledge Base ♪ MediaMonkey for Windows 2024 Help ♪ MediaMonkey for Android Help
Lowlander (MediaMonkey user since 2003)
Lowlander (MediaMonkey user since 2003)
Re: Mask / Duration
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. "
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
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.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Re: Mask / Duration
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) ?
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
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.
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
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.
-
Onweerwolf
- Posts: 712
- Joined: Tue Dec 12, 2006 5:32 pm
- Location: The Netherlands
-
nohitter151
- Posts: 23640
- Joined: Wed Aug 09, 2006 10:20 am
- Location: NJ, USA
- Contact:
Re: Mask / Duration
Thank you for pointing that out, I must have missed when that was added. But it definitely works in 1459.Onweerwolf wrote:Note: this was tested with MM4, I have no idea if it is possible under MM3.
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.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Re: Mask / Duration
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.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.
I'm using Mediamonkey 3.2.5.1306
Thanks
Re: Mask / Duration
Ok, these replies came while re-testing and replying.nohitter151 wrote:Thank you for pointing that out, I must have missed when that was added. But it definitely works in 1459.Onweerwolf wrote:Note: this was tested with MM4, I have no idea if it is possible under MM3.
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
It doesn't matter if you capitalize it or not. So it's possible this doesn't work in MM3, only in MM4.
-
Onweerwolf
- Posts: 712
- Joined: Tue Dec 12, 2006 5:32 pm
- Location: The Netherlands
Re: Mask / Duration
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.
-
nohitter151
- Posts: 23640
- Joined: Wed Aug 09, 2006 10:20 am
- Location: NJ, USA
- Contact:
Re: Mask / Duration
It is the current release as of yesterday, you can get it from the download page.wquatan wrote: i'll have a look where I can find MM4
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.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Re: Mask / Duration
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
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
