Cope with a complete lack of tracks when calculating a length (it's zero, duh!)
Merge pull request #90 from Rosuav/handle_no_tracks

Cope with a complete lack of tracks when calculating a length (it's zero...