Author Topic: Xbmc Python Script for VoxCommando  (Read 9066 times)

0 Members and 1 Guest are viewing this topic.

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Xbmc Python Script for VoxCommando
« on: August 31, 2012, 06:00:33 PM »
Hi everyone

Below is a pic of the xbmc python script to control the features of VoxCommando.




Possible uses are as follows :
1. Launch applications from xbmc easily.
2. get the tts engine to speak.
3. Send Growl or other notifications.
4. Home Automation.
5. Enable and disable the microphone.
6.  etc.

I will release the script as soon as i have finished with it.

Questions, comments and your thoughts are always welcome. ::hmm
« Last Edit: April 10, 2013, 02:51:59 PM by xtermin8r »
Neural Net Based Artificial Intelligence.

claymic

  • $upporter
  • Sr. Member
  • *****
  • Posts: 152
  • Karma: 0
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #1 on: August 31, 2012, 07:38:53 PM »
Congratulations
I will like to test this. Thanks for all your effort.
Clayton

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #2 on: August 31, 2012, 07:48:52 PM »
Hi clayton
Quote
Congratulations
I will like to test this. Thanks for all your effort.
Clayton
Thank You.
Long time no see, i hope you are well, i will send you the script by email first, if it works ok then i will upload it into a post.
« Last Edit: August 31, 2012, 07:55:24 PM by xtermin8r »
Neural Net Based Artificial Intelligence.

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #3 on: August 31, 2012, 07:56:54 PM »
@Clayton

Hi
i don't think i have your email address, PM me, thank you.
Neural Net Based Artificial Intelligence.

claymic

  • $upporter
  • Sr. Member
  • *****
  • Posts: 152
  • Karma: 0
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #4 on: August 31, 2012, 10:17:32 PM »
I just send a email for you and put my script on drop.
Let me know wath you think about it too.
Thanks mij.

claymic

  • $upporter
  • Sr. Member
  • *****
  • Posts: 152
  • Karma: 0
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #5 on: September 04, 2012, 07:15:16 AM »
Mij
I try your script yestarday, but i have some problems.
I am using xbmc Frodo, version Alpha 3.
I cant access the configurations settings and cant send any commands.
When i click in a button (like VC ON) the dialog open, i choose yes but nothing happnes.
I search in the log to see if there is a error to put here, but there is no message  about this issue.
Thanks man

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #6 on: September 04, 2012, 06:07:52 PM »
Hi Clayton

Quote
I am using xbmc Frodo, version Alpha 3.
I cant access the configurations settings and cant send any commands.

There are some  configuration settings look at settings.xml

Quote
When i click in a button (like VC ON) the dialog open, i choose yes but nothing happnes.
I search in the log to see if there is a error to put here, but there is no message  about this issue.

try this :

1. edit default.py.
2. Search for     sock.sendto(command, ('<broadcast>', 33000))
3. Change to     sock.sendto(command, ('xxxxxxxxxxxx', 33000))

xxxxxxxxxxx = your ip address for pc where VoxCommando is installed.
e.g     sock.sendto(command, ('192.168.1.92', 33000))

4. Save default.py.
5. Run default.py.

Good luck.
« Last Edit: September 04, 2012, 08:05:50 PM by xtermin8r »
Neural Net Based Artificial Intelligence.

claymic

  • $upporter
  • Sr. Member
  • *****
  • Posts: 152
  • Karma: 0
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #7 on: September 04, 2012, 08:34:08 PM »
Thanks Mij, i will try your suggestions.
Clayton

vulcanjedi

  • $upporter
  • Sr. Member
  • *****
  • Posts: 213
  • Karma: 8
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #8 on: September 05, 2012, 03:39:35 AM »
I like the idea of beyond able to remotely completely turn off/on the mic possibly if needed, particularly since I'm running a remote VC. This does work on a remote VC right? From subsequent comments sounds like using UDP?
Hard to tell just from the screen shot, but Im sure i could think of more eventually:)
« Last Edit: September 05, 2012, 03:45:13 AM by vulcanjedi »

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #9 on: September 05, 2012, 06:53:57 PM »
I like the idea of beyond able to remotely completely turn off/on the mic possibly if needed, particularly since I'm running a remote VC. This does work on a remote VC right? From subsequent comments sounds like using UDP?
Hard to tell just from the screen shot, but Im sure i could think of more eventually:)


Hi

i also like being able to control voxcommando and being able to launch programs remotely.
It should work on a remote vc installation.
Yes, the script is using the udp protocol.
Neural Net Based Artificial Intelligence.

vulcanjedi

  • $upporter
  • Sr. Member
  • *****
  • Posts: 213
  • Karma: 8
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #10 on: September 05, 2012, 07:30:52 PM »
This is cool cause during some things or really noisy environments I think I may want to turn the VC mic off completely and if I could map that script to my remote button that'd be rather helpful.

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #11 on: September 05, 2012, 07:34:23 PM »
Hi

Quote
and if I could map that script to my remote button that'd be rather helpful.

Defiinately possible.
Neural Net Based Artificial Intelligence.

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #12 on: September 05, 2012, 07:40:49 PM »
@vulcanjedi

If you want to try out the script PM me your email, if you like.
Neural Net Based Artificial Intelligence.

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #13 on: September 05, 2012, 07:51:23 PM »
@vulcanjedi

you have email. let me know how you get on.
cheers.
Neural Net Based Artificial Intelligence.

vulcanjedi

  • $upporter
  • Sr. Member
  • *****
  • Posts: 213
  • Karma: 8
    • View Profile
Re: Xbmc Python Script for VoxCommando
« Reply #14 on: September 07, 2012, 06:26:25 PM »
Just to affirm, we just manually drop this on XBMC & execute @ the moment and don't 'install' it perse correct?