Interesting... I went out to the MP3Tag forum to see about rounding the TBPM to the nearest integer and believe it or not this is the most recent topic! http://forums.mp3tag.de/index.php?showtopic=17760 In that thread there's a link to a older thread that has action code from "Moonbase" that seems to work flawlessly to do this rounding. If anyone is interested here's the link to that; http://forums.mp3tag.de/index.php?showtopic=8295 I originally was going to just use the function to trim the last 3 characters of TBPM (the .nn part), but thought I'd look to see if someone had "invented" a $round function since it's not a native MP3Tag action code function and found that there is! This is a way better approach, if you did the trim method twice you destroy the field. You can run the round function as much as you want and if the TBPM has already been "rounded" it stays the same. Be aware that if TBPM is null it will be set to "0", you could always add a last function test to reset to null if TBPM is "0".
2 Duets - 1 for upstairs and 1 for downstairs Rock Solid with LMS 7.7.3 and WHS 2011 ------------------------------------------------------------------------ w3wilkes's Profile: http://forums.slimdevices.com/member.php?userid=22973 View this thread: http://forums.slimdevices.com/showthread.php?t=99852 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
