This command will decode a music track to determin it's exact length and will then update the database and send a MUSIC_METADATA_CHANGED event if it changed.
Example:-mythutil --calctracklen --songid='1234'
98c3f59 MythUtil: add a --calctracklen option
mythtv/programs/mythutil/commandlineparser.cpp | 5 +
mythtv/programs/mythutil/musicmetautils.cpp | 125 ++++++++++++++++++++++++
2 files changed, 130 insertions(+)
Upstream: github.com