Simplify the OSD handling for Play/Pause/Stop events.

The OSD was showing "Stop" when restarting the playback of a file after it ended.

This commit fixes ticket #2863.