Yes, that's exactly how it's done in Lars's as well as in random-photo script. You can leave 'offset 0' away though, since it's the default behaviour and it wouldn't really matter anyway from which place we took the random song.