Hullo, the XSPF playlist format requires track lengths to be in microseconds. I tried foobar2000 0.9 and foo_utils for creating an XSPF playlist, but I ran into problems.
$mul(%_length_seconds_fp%,1000)
The results of the string above is no different from the results of $mul(%_length_seconds%,1000).
For example, with a song with 431004 samples:
%_length_seconds%$crlf()
$mul(%_length_seconds%,1000)$crlf()
%_length_seconds_fp%$crlf()
$mul(%_length_seconds_fp%,1000)$crlf()
gives:
9
9000
9.773333
9000
This doesn't matter much, because the XSPF spec explicitly states that you shouldn't assume lengths are accurate, but having an easy way to get track length in microseconds would be a nice addition, IMHO.
I would be very grateful if you consider adding this. Thank you.