Mplay session status

Example
This code periodically check if the session has ended:

Alarm event: if(!mplay_session_status) message_show("You have been disconected.");