Kodi Community Forum
SiriServer XBMC plugin - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: SiriServer XBMC plugin (/showthread.php?tid=121907)

Pages: 1 2


SiriServer XBMC plugin - gugahoi - 2012-02-04

Hey fellas,
just wanted to report that I have started working on a SiriServer XBMC plugin so people can control XBMC with Siri.

This server uses Google's Voice API instead of Apple's and therefore is much easier to install for non-iPhone 4S users as there is no need to trick Apple's servers and what not.

The plugin has been added to the main repository and has been updated every couple of days with extra features-> https://github.com/Eichhoernchen/SiriServer

I need to say this is still extremely alpha and I am not very experienced with python but it seems to be working alright.

Currently supported commands are:

Code:
xbmc play/pause -> plays/pauses current video
xbmc stop -> stops current video
xbmc play [movie name] -> starts playing the movie if a match was found, if multiple matches found than it returns them through Siri
xbmc info -> returns the XBMC URL being used
xbmc shutdown/shut down/turn off -> Shuts down computer through XBMC's internal functions
xbmc start/boot/boot up -> send a magic packet to wake up the computer.

Suggestion are more than welcome and if more people want to jump on board and help with the coding I would be thrilled!

A lot of credit should go to tripkip as he has made the plugin even more functional adding movie covers on the replies and adding extra commands


- coffeecup - 2012-02-09

Have you found a way to work around the 10 second limit of google speech api? Would be so great to use google instead of apples siri.


- Dam0 - 2012-02-09

awsome work mate, cant wait to try it out


- Begall - 2012-02-09

I wonder if 'xbmc' is the right thing to put at the front? In my experience my iPhone has a difficult time getting that right unless I'm very deliberate with the 'X-B-M-C'.


- gugahoi - 2012-02-10

coffeecup Wrote:Have you found a way to work around the 10 second limit of google speech api? Would be so great to use google instead of apples siri.

Not yet but it will be fairly hard to have an xbmc command that takes longer than 10 seconds....

Begall Wrote:I wonder if 'xbmc' is the right thing to put at the front? In my experience my iPhone has a difficult time getting that right unless I'm very deliberate with the 'X-B-M-C'.

Really? It's been perfectly fine for me, the one word that has troubled me is "play" but i made the plugin identify "play|played|place|plate" all translate into "play" to fix that. What suggestion would you have to initiate the command?


- Begall - 2012-02-10

I reckon 'media' might be a good replacement/alternative, as I can't think of anything off the top of my head that it might be easily mistaken for and it also makes sense in the context.

SiriServer seems very interesting though, the lack of development of SiriProxy has been disappointing.


- tripkip - 2012-02-12

Thanks for the credits.. ;-)


- gugahoi - 2012-02-13

tripkip Wrote:Thanks for the credits.. ;-)

My bad, i first posted this before my first pull request was merged into Eichhoernchen's , you have now been added to the main post....


- gugahoi - 2012-02-13

--my bad --


More info !! - sam72844 - 2012-02-13

hi, can you please shed more light on how to configure your plugin to work with XBMC on Apple TV 2, i have SiriServer working on ubuntu and an iPad 2 with Spire installed.

Thanks

[Update]
i had help on siriserver irc, all i needed was to enter the ip address and user/pass of my xbmc in siriserver/plugins/xbmc.py


- mason - 2012-02-14

great addon to play with! working fine, at least technicaly but might be my english (no native speaker Wink) thanks for this one...


- Begall - 2012-02-15

I'm not sure it's you. I just tried 'Pause' half a dozen times and it didn't manage it a single time. The last thing it thought I said was 'Horse Saloon'.

And I'm as native english as they come :/


- mason - 2012-02-15

google definatly needs to improve their speech api, they should go and buy nuance Wink It's the same as on android, it might work but it's not very reliable.


- tripkip - 2012-02-16

Demo video:
http://www.youtube.com/watch?v=qH3dq5Xfuyo


- Begall - 2012-02-17

Trip, if I want to make a small addition (adding some voice feedback to successfully stopping video), am I ok to pull request it to the main repo? I should have forked your repo, but I didn't! Sad