2011-11-05, 11:21
jimk72 Wrote:Not sure if this is a bug but when I start a movie in xbmc the onplay gives player Id 1 and when I play music in xbmc it gives id of 0. Which works fine but if I am listening to music and call player.open and send movieid it returns an onplay with playerid 0 when actually it should be 1. Calling a getitem with player 0 returns error but getitem playerid 1 returns the movie info?
Clicking movie in xbmc when playing music switches playerid back to 1. My guess is calling player.open isn't switching the playerid properly.
After further testing I've also received a playerid of -1 from an onplay notification.
This commit should fix the problem for both media started through Player.Open and media started through recentlyadded: https://github.com/xbmc/xbmc/commit/5748...380a2e0807
But the media is still not added to the correct playlist but notifications now contain the correct playerid.