Hi all,
I created a plugin to start a videochat from Plex and answer a videochat from Plex (or EyeTV). This plugin is still beta, but I wanted to get some more input about the problems and also successes of this plugin.
The external programs for this plugin are iChat, Skype and RemoteBuddy (and if you have EyeTV, you're lucky, here it works as well)
This plugin will list your online contacts and when clicked on, will start a videochat with this contact. (some error checking as in e.g.: "network problem" has not been tackled)
The installation is not as easy as downloading an app from the appstore.
1. you'll have to make sure you installed GCC (insert original os x disk:optional installs:xcode tools and install "xcodetools.mpkg")
2. install appscript for version 2.5 (I installed it in terminal with "sudo easy_install-2.5 appscript" and to make sure everything works fine, I also installed it using "sudo easy_install appscript")
3. restart your computer (just to make sure)
4. install videochat.plexapp
Now, launch Plex and go to "Applications". There a new plugin should pop up with a combined iChat and Skype logo.
The plugin will launch iChat and if installed also Skype. After checking if both are online, a list will be created of your online buddies. (be patient when iChat and Skype weren't running). Presently there is no automatic update of the list.
When you select one of your buddies, Plex will tell either iChat or Skype to start a videochat. Plex minimizes and puts the videochat to full screen. When the chat has ended, Plex will automatically open again. The plugin assumes that Plex is running in full screen mode.
For iChat and Plex to act nicely, you need to link FullScreenChat and CloseChatWindow to iChat (for incoming calls: link IncomingChatRequest applescripts to iChat and you need to add some scripts to RemoteBuddy)
For Skype and Plex to act nicely, RemoteBuddy is not needed. (If you want to accept incoming calls, you need to add some scripts to RemoteBuddy.)
Check it out on [youtube](http://www.youtube.com/watch?v=nWdZBo3BIKc)
Just a clarification, in case you don't have RemoteBuddy, you will be able to make calls from within Plex, but you will not be able to answer incoming calls when in Plex or EyeTV. Also you'll need to ask the remote party to end the conversation, so that Plex will maximize again.
Install applescripts: extract all files somewhere, open iChat, preferences, alerts, events,
1. A/V chat started: run an applescript, select FullScreenChat
2. A/V chat ended: run an applescript, select CloseChatWindow
3. Video Invitation: run an applescript, select IncomingVideoChatRequestiChat (only if you use RemoteBuddy)
Install RemoteBuddy scripts:
Under Preferences, Mapping, Behaviours, Plex add new applescript (copy&paste):
1. Button Left: LeftArrowAccept
2. Button Right: RightArrowDecline
3. Button Menu: MenuHangup
Under Preferences, Mapping, Behaviours, EyeTV add new applescript (copy&paste):
1. Button Left: LeftArrowAccept
2. Button Right: RightArrowDecline
3. Button Menu: MenuHangup
Under Preferences, Mapping, Behaviours, Skype add new applescript (copy&paste):
1. Button Menu: SkypeHangup
(if Skype isn't available, create new behavior in behaviour construction kit.)
Under Preferences, Mapping, Behaviours, iChat add new applescript (copy&paste):
1. Button Menu: iChatHangup
(if iChat isn't available, create new behavior in behaviour construction kit.)
If English is not your OS language:
you have to change 2 lines in RemoteBuddy's Plex scripts LeftArrowAccept, RightArrowDecline and RemoteBuddy's EyeTV scripts LeftArrowAccept, RightArrowDecline.
The first line in all of those scripts should be changed to the name of the "Quick Answer Window" (found by running NameOfQuickAnswerWindow when there is an incoming Skype call)
The second line should be changed to the text on the green button (answer) or the red button (decline) during an incoming call. Type this text exactly, so including any capital characters.
If you have a problem with this plugin, please reply to this thread directly (no PM)
have fun
oortmanp
edited march 10. 2010: updated plugin, added short information of what the plugin does, added applescripts and explanation
edited june 26. 2010: updated plugin and added new information of what the plugin does, added applescripts
edited june 30. 2010: made leopard compatible and removed some glitches in scripts. latest version is 0.0.3b