iTunes, XBMC & Com
#1
Hi,

I'm trying to make a script to have XBMC stop iTunes when XBMC begins playback on windows. I've gotten as far as modifying the Play process by tweaking this script:
http://forum.xbmc.org/showthread.php?tid=67546

However, I can't figure out how to have XBMC talk with iTunes to stop playback. So here are my questions:

1) Is there a way to implement COM XBMC python scripts?
2) If not, is there some sort of workaround I can use to send commands to iTunes (preferably that don't trigger a command prompt)?
Reply
#2
Edit: I think I figured out how to do this. Just install another version of Python on the OS and then call up a python script from the Myplayer object. This seems to affect iTunes properly.

However, this brings about another issue. Running the script through onPlayBackStarted() seems to call the script after playback begins. Is there any way to call the script before before the video begins playing back?

It needs to go:
1) Press play button
2) iTunes pauses
3) XBMC begins playback
Reply

Logout Mark Read Team Forum Stats Members Help
iTunes, XBMC & Com0