MP1-4258 REmoved redundant call to g_Player.Onstopped()
Fork : Try to fix System.ArgumentOutOfRangeException.
Changed form.Invoke to BeginInvoke to avoid a freeze if now Playing is invoked from a different thread than the main ui thread
MP1- 4258: When a song played has a different sample rate as the previous one, freeing the WASAPI device caused a hang, because we were still executing the Endproc of the previous song. The Playback end proc is now a thread and the hang is gone
Merge remote-tracking branch 'remotes/upstream/MP1-4258-BUG-BASS_should_raise_g_player_events' into 1.5.0Fork

Conflicts:
	mediaportal/WindowPlugins/GUIMusic/GUIMusicPlayingNow.cs
Fork : IPTV Buffer testing.