I've noticed a minor bug here.

The second parameter on .format() belongs to __playlist.add() not to the format scring itself.