2010-03-22, 04:45
Off and on I've been fooling with improving an XBMC script. On of the things it does depends on knowing when a new song has started playing. Now, Python currently is notified of this through xbmc.Player's onPlayBackStarted function. The problem is that, when that function is called, Python may still have no way to determine what file is now being played.
I have a more in depth description of the problem in a ticket, as well a proposed solution, with code. If you'd like a diff from a newer revision, let me know - I created that in the middle of merge hell.
http://trac.xbmc.org/ticket/8930
I have a more in depth description of the problem in a ticket, as well a proposed solution, with code. If you'd like a diff from a newer revision, let me know - I created that in the middle of merge hell.
http://trac.xbmc.org/ticket/8930