Rework the playlist and duration system.

The server should now reject invalid video IDs.