Correct bracketing of mutexes for playlists.

This fixes the deadlock of #58, but I still can't see the video...