I'm almost there !!!
Thank you Fox!!
The calculation comes out a bit wrong for me, that's all. It looks like it's working for Fox63, so it's probably me that's doing something wrong. I'm trying to figure it out now, but I'm not as fast as you...
a screenshot showing where you are wanting to change the format will help people respond
Based on Steven's comment, I will clarify with two screenshots.
From itunes, see column TIME.
That is how I want it in MusicBee too, because it looks better if broken down into hours, for longer durations.
I.e. the duration displayed in Hours (hh:mm) if the duration is more than 59.59 minutes.
Here is what MusicBee looks like, after I implemented the code from Fox63.
As you can see, both Time and Album duration are displayed in minutes. It's not optimal for longer files.
(The Album Duration figure seems to do a clever calculation that includes everything else labelled with the same Album Name. Very nice and I don't think iTunes even does that. )As you can see, it's almost there. Fox's explanation really helped me, I was feeling really overwhelmed when I looked at this late at night...
There is just something minor left now, with the calculation. Could be at my end, because it looks like it's working for Fox63.
I discovered that both Time and Album Duration are String fields. I thought they'd be numerical or some Time format.Once it's working correctly, I'll do dynamic custom fields based on this calculation for both Album Duration and Time. It's very nice and one up on iTunes!
For the code provided above. I simply did a replace for the Italian words, with "Time". Now it looks like this.
$If($Div($Split(<Time>,:,1),60)<1," 00 : "$Pad($Split(<Time>,:,1),2)" : "$Pad($Split(<Time>,:,2),2)," "$Pad($RoundDown($Div($Split(<Time>,:,1),60),0),2)" : "$Pad($Mod($Split(<Time>,:,1),60),2)" : "$Split(<Time>,:,2))
Hope I'm being clearer and sorry if my thread wasn't optimal at start!
Actually, MusicBee looks snazzier than iTunes! just got to tweak it a bit... The learning curve is higher, that's all. It's not for n00bs and dummies!! tihi...