Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Brian

Pages: [1] 2
1
Bug Reports / "Don't be a dork" makes Vox hang
« on: October 13, 2021, 05:34:44 PM »
 :biglaugh

Don't be a "anything" usually hangs Vox for me.

https://voxcommando.com/forum/index.php?topic=2966.msg25158

The user from the thread above changed Vox from off to standby and it solved the issue. I just changed it from off to standby and it no longer hangs!

2.3.11, using Google Speech

2
Here's an example from the payload

Quote
    <payload>
        <value />
        <phrase>Mission Unstoppable</phrase>
        <subsetmatching>true</subsetmatching>
    </payload>
    <payload>
        <value />
        <phrase>Hope in the Wild</phrase>
        <subsetmatching>true</subsetmatching>
    </payload>
    <payload>
        <value />

I'm thinking it might be better to ask if something is on and it would search the epg and post the results. Right now I have Xjson.raw > GUI.ActivateWindow > "window": "tvsearch" ,"parameters": [ "epg12db://? ]
 
Would you happen to know what the parameters should be to perform a search query?

Thanks again!

3
I set up a custom payload:

\Epg12.db
select idEpg, sTitle from epgtags

Titles are now in the payload. I'm stuck on asking VC if a certain show is on or if it will be on. For example: Are the Blackhawks on? When are the Blackhawks on? Is it possible for VC to tell me something like "The Blackhawks will start at 6pm"?

Thanks!

4
Other Plugins / GTTS MP3 quality
« on: December 27, 2020, 01:16:37 PM »
I've noticed that the bit rate is only 32 kbps. Is there a way to up the bitrate to perhaps 128?

5
Do you mean using Google home as a speaker for TTS?

Yes,

Bluetooth speaker - didn't even think of that. Thanks!

6
I was just wondering if this was possible. Thanks 😊

7
Thanks! I found this works well:

START C:\Users\Brian\Desktop\Vox2020\VoxCommando.exe
TIMEOUT 6
START C:\Users\Brian\Desktop\Vox2020\VoxCommando.exe -33000 "TCP.GS.Launch"

8
Hi,

I'd like to have both Vox and Google speech launch upon computer start. I see an option to start with Windows.

Is there a command line argument to launch vox and Google speech when Windows starts?

Thanks!

9
Wow, this is awesome! Thanks for this. I tested out the beta and works well.

This works great on my old webcam (open air) mic. I also do not use a prefix. I use my normal volume levels and it works probably 95% of the time.

I'm at work now and no access to Vox but Vox does freeze after a while. Not sure what the issue is and will post logs later. Both the tcp and vox freeze (perhaps after idle. I'll wake up and it's frozen) and have to end the task. I also use Kodi 18 RC3 and gets most of the commands but I can't get the tv guide to load. Without the tcp going, Vox will open the tv guide but with tcp and GS going it will not open even though Google heard it correctly. Also, "browse Tv shows" won't register but "browse televsion" will.

Thanks!

10
Try using XBMC.RunScript instead of RunAddon, I'm not at my PC right now but I'll check when I get back to my PC

That did the trick. Thanks so much!

11
Yes, all commands are working normally. Here's an example:

Code: [Select]
12/8/2017 9:40:47 AM 966 Action INFO:
12/8/2017 9:40:47 AM 966 [plugin] KODI onAnnouncement strAtomicRead: {"jsonrpc":"2.0","method":"Application.OnVolumeChanged","params":{"data":{"muted":false,"volume":66},"sender":"xbmc"}}
12/8/2017 9:40:47 AM 967 guessed text:Set ?? (Set Windows default audio output device)
12/8/2017 9:40:47 AM 968 guessed text:stop ?? (Vox Commands)
12/8/2017 9:40:47 AM 968 Something was recognized
12/8/2017 9:40:47 AM 968 Rulename: root # Semantics: 1
12/8/2017 9:40:47 AM 968 Group: Kodi Simple actions Speech: stop
12/8/2017 9:40:47 AM 968 semanticID: 338
12/8/2017 9:40:47 AM 968 kvp: command | 338
12/8/2017 9:40:47 AM 969 idle timer set for 5 seconds.
12/8/2017 9:40:47 AM 969 addHistoryItem [info] Timeout set for: 5(s)

12/8/2017 9:40:47 AM 971 semanticID: 338
12/8/2017 9:40:47 AM 971 kvp: command | 338
12/8/2017 9:40:47 AM 971 alternate:stop
12/8/2017 9:40:48 AM 6 doCommand:Stop playback
12/8/2017 9:40:48 AM 6 [plugin] Sending json request:
12/8/2017 9:40:48 AM 6 [plugin] {"jsonrpc": "2.0", "method": "GUI.ShowNotification", "params":{"title":"stop (90.3)","message":"(1 Stop playback) "},"id": "0"}
12/8/2017 9:40:48 AM 6 Action claims to be threadsafe.
12/8/2017 9:40:48 AM 6 action repeat set to: 1
12/8/2017 9:40:48 AM 6 Action:  XJson.Btn.KB
12/8/2017 9:40:48 AM 6 Param1:x
12/8/2017 9:40:48 AM 6 addHistoryItem [action] XJson.Btn.KB:x

12/8/2017 9:40:48 AM 7 Action from plugin: C:\Users\brian\Desktop\Vox\Plugins\XJson\XJson.dll
12/8/2017 9:40:48 AM 8 [plugin] {
  "id": "0",
  "jsonrpc": "2.0",
  "result": "OK"

12
Hi,

Yes. In fact I decided to delete the gen file and start over using the keymap editor. I chose addons, then the vox tool and mapped the green button. After saving I hit the green button just for testing and got a message from the vox tool:

No parameters
VoxTools addon is called from VC. Don't run it from Kodi.

I'm guessing it's seeing Vox now. Here is the default gen file out. I didn't change anything:

<?xml version="1.0"?>

-<keymap>


-<global>


-<keyboard>

<key id="1110230">runaddon(script.voxtools)</key>

</keyboard>

</global>

</keymap>

I'm guessing something here needs to be change for Vox to send the event.

Thanks!


13
Thanks for everyone's input. I'm familiar Kodi and keymaps so I followed the steps by Peg. I have followed your directions and a gen.xml was added to the keymaps folder. Here is my edit to the gen.xml file:

Code: [Select]
<?xml version="1.0"?>
-<keymap>
-<global>
-<keyboard>
<key id="1110230">runaddon(script.voxtools,type=vcevent,data=VC.On)</key>
</keyboard>
</global>
</keymap>

No events are happening in Vox, however. I must be doing something wrong lol.

Thanks!

14
I've set up ducking to turn on Vox by saying a prefix and it works well in quiet environments. I use Kodi and will soft mute while listening for my command. I'd like to do that by pressing the green media center button on my remote. I've read here that using eventghost can accomplish this but no other details. Is there a way to do this? I'm not familiar with eventghost.

Also, I got an Echo dot a few weeks ago and Vox blows it out of the water.

15
Hi,

Thanks for replying. I ended up changing the port from 11000 to 10999 and it worked. I was using 11000 on Gotham and VC before the upgrade to Helix. Seems like the port was still in use I guess.

Pages: [1] 2