Skip to content

Commit

Permalink
Minor changes to plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Brett Mayson committed Jun 21, 2013
1 parent eaa3535 commit f6455fa
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 5 deletions.
4 changes: 3 additions & 1 deletion CONFIG
@@ -1,3 +1,5 @@
HOTKEY="switch"
LASTID=7
UPDATEID=3
UPDATEID=5


Binary file removed Doc/Plugins/Example Plugins/ChatBotPlugin.sp
Binary file not shown.
2 changes: 1 addition & 1 deletion MODE
@@ -1 +1 @@
main
browser
7 changes: 5 additions & 2 deletions Microphone/osd_server.py
Expand Up @@ -41,8 +41,11 @@ def transText(text):
pynotify.init("Speech Recognition")

n = pynotify.Notification(transText("Palaver Speech Ready"),"")
# If we start up the server in a script, it should first show
# not ready.

# This line allows palaver to work even if the computer is suspending
# screensavers. Such as when a fullscreen video is playing.
n.set_urgency(pynotify.URGENCY_CRITICAL)

n.show()

updateCount = 50
Expand Down
4 changes: 4 additions & 0 deletions Recognition/modes/main.dic
@@ -1,3 +1,7 @@
#PLUGIN: browser
<<l,L>aunch,<o,O>pen,<s,S>tart> <b,B>rowser
browser start
#END
#PLUGIN: UnityDash
dash (LINE search)
dash $search$
Expand Down
3 changes: 3 additions & 0 deletions plugins
Expand Up @@ -347,6 +347,9 @@ elif args.i != '':
print2 ("Error Moving File")
for exe in cmdfile:
os.system("chmod +x "+root+"Recognition/bin/"+exe)
for c in configs:
if c.endswith(".conf") == False:
os.system("chmod +x "+home+"/.palaver.d/config/"+name+"/"+c)
con = sql.connect(pluginDataBaseLocation)
with open('InstallResult','w') as d:
d.write(name+" Installed")
Expand Down
2 changes: 1 addition & 1 deletion update
@@ -1,6 +1,6 @@
#!/usr/bin/env python

import urllib2,os
import urllib2,os,pynotify

with open("CONFIG",'r') as data:
for l in data.read().split("\n"):
Expand Down

0 comments on commit f6455fa

Please sign in to comment.