xbmc/xbmc — pull request #5729 by Montellese (2014-11-15 11:09:08+00:00)
Title: fix queuing of songs starting playback if something is already playing

Thanks to @da-anda (see http://trac.xbmc.org/ticket/15545) I came across an odd logic when queuing a song for playback. When there is already active playback but it is not music the active playback will be stopped and the song being queued is automatically played. IMO this doesn't make sense as I might want to put together a music playlist while watching a video or music video. The other way around (i.e. queuing a video while listening to music) does not interrupt playback so we should certainly be consistent.

Furthermore this fixes the same issue when playing a song over UPnP on another device because in that case g_application.m_pPlayer->IsPlayingAudio() is always false because there's no audio playing inside Kodi.