private void HandleSongEnded()
{
PlayState oldState = _state;
if (!Util.Utils.IsAudio(_filePath) || g_Player._currentMediaForBassEngine == g_Player.MediaType.Video)
{
GUIGraphicsContext.IsFullScreenVideo = false;
}
GUIGraphicsContext.IsPlaying = false;
_filePath = "";
_state = PlayState.Ended;
if (oldState != _state && PlaybackStateChanged != null)
{
PlaybackStateChanged(this, oldState, _state);
}
}