Giocoso Version 3.01 Released

I uncovered a silly bug in Giocoso Version 3 on Boxing Day: I had switched off random-play mode and instead instructed the program to play a playlist constructed from anything containing the word 'Christmas' in its ALBUM tag. The music itself all played fine, and everyone was pleased with the festive mood thus created 🙂 Unfortunately, I noticed that by the time the eighth piece was being played, Giocoso was reporting its duration to be over 10 hours! Going back over the play history for that day (now fixed), I saw that Percy Grainger's Sussex Mummers' Christmas Carol was recorded as having played for over 11 hours -when it's actually a piece that lasts about 5 minutes, tops!

What I immediately spotted was that the recorded durations for each piece was in fact the cumulative duration for all pieces played up to that point, from the playlist. If the playlist had said to play pieces that were (say) 5, 20, 13, 12 and 15 minutes long, the first piece would have been recorded as lasting for 5 minutes; the next as lasting for 25 minutes; the third as being 38 minutes in length; the fourth as being 50 minutes long; and the last would be recorded as having played for 1 hour 5 minutes. And so on. Throw a couple of Christmas Oratorios into the mix and a piece that should have been recorded as lasting 15 minutes would instead have been recorded as lasting for 10+ hours!

I don't play from playlists very often, which is why this particular bug lay unnoticed until now!

Version 3.01 has therefore been released which fixes this particular problem. The duration is now first zeroed and then determined by analysis of the durations of all FLACs in a selected folder. This prevents the durations from being added up in a cumulative fashion. To upgrade to the latest version, just take the Administration menu Option 4. Exit and restart Giocoso once the update process is complete to make sure the changes are picked up (and ignore any error messages you see in the terminal as you quit the program: their appearance after an upgrade is entirely expected).

Leave a Reply

Your email address will not be published. Required fields are marked *