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.


Topics - jitterjames

Pages: 1 [2] 3 4 ... 15
17
Tips and Tricks / MOVED: usb-uirt
« on: January 05, 2016, 08:44:01 AM »

18
Thanks to everyone that has helped so far with translation of the UI.  It's obviously helping to make VC accessible to more people.  ;D


19
Our beloved Amulet Remote is being discontinued.  :'( They are selling off the rest of their stock, and then you won't be able to buy them any more.  The good news is that they are practically giving them away!  :o

Here is what Eddy from Amulet Devices wrote to me today:

Quote
Hi James,
 
Hope you're keeping well.
 
We're doing a stock clearance at Amulet to get rid of our last few voice remote controls, and I thought your users might be interested. We're selling the remaining units off at $34 each (about £22, or €30), including VAT and free delivery.
 
Yes, after a good run since our initial launch back in 2010, it's finally time to call it a day. While we still have a regular trickle of sales, they're not enough to sustain the company on an ongoing basis.
 
So, the current stock clearance will run until 18 October, and then ... no more Amulets!
 
The offer is available directly through our website at http://www.amuletdevices.com/ and we have a brief blog piece at http://www.amuletdevices.com/blog/index.php/amulet-stock-clearance.html
 
Thanks for your help and support over the years, and hopefully our next product will soon be available. I will of course continue to support Amulet as best I can into the future.
 
Kind regards,
 
Eddy Carroll
Amulet Devices

21
I'm actually not sure if there is already some xml on the forum for this somewhere, but here it is in a nice neat, easy to use package.

If you don't have a TTS voice in your language you can use this to speak in many different languages.

This group provides two commands.  The first is an event driven command to make calling the TTS easy.  The second is a sample command that uses the first.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.5.0-->
<commandGroup open="True" name="Google TTS Streaming" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="286" name="Google.TTS" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="triggered by an event expecting 2 payloads&#xD;&#xA;{1} text to speech&#xD;&#xA;{2} language code">
    <action>
      <cmdType>Sound.PlayStream</cmdType>
      <params>
        <param>http://translate.google.com/translate_tts?tl={2}&amp;q={1}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Google.TTS</event>
  </command>
  <command id="283" name="++ Speak to me google" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>VC.TriggerEvent</cmdType>
      <params>
        <param>Google.TTS</param>
        <param>greetings earth being</param>
        <param>en</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Pause</cmdType>
      <params>
        <param>2500</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.TriggerEvent</cmdType>
      <params>
        <param>Google.TTS</param>
        <param>bonjour mon ami</param>
        <param>fr</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Pause</cmdType>
      <params>
        <param>3000</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.TriggerEvent</cmdType>
      <params>
        <param>Google.TTS</param>
        <param>guten tag mein herr</param>
        <param>de</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Pause</cmdType>
      <params>
        <param>3000</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.TriggerEvent</cmdType>
      <params>
        <param>Google.TTS</param>
        <param>Buongiorno! Come stai?</param>
        <param>it</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>Speak to me google</phrase>
  </command>
</commandGroup>

23
Sonos / Introducing the Sonos Plugin
« on: June 06, 2015, 05:13:58 PM »
The first alpha of the Sonos plugin is included in VoxCommando version 2.1.4.8
http://voxcommando.com/mediawiki/index.php?title=ChangeLog#Version_2.1.4.8

This release also includes a sample default configuration with many commands in it for controlling your Sonos players and groups.

Both the plugin and the configuration are still in the very early stages.  AKA "alpha".  Some things are working perfectly in my test so far but there is probably a long way to go still before we can call it a finished product.

A few very important notes about the plugin:

To use TTS with Sonos:

1 - You must choose a voice and a valid Sonos share in the plugin settings in order to use TTS with Sonos.  A valid share is a network path that both VoxCommando and Sonos can freely access.  VoxCommando must have write access to the share in order to be able to save a wav file containing the TTS audio.

2 - You cannot use the same TTS voice in the Sonos plugin as you are using in the standards TTS plugin for VC.  I am still trying to figure out the best solution for this problem.  We will figure something out eventually, but for now we will have to live with this limitation.
* see below

3 - Sonos can sometimes be a bit slow to switch between playing one thing and playing another thing.  For this reason you may not want to overdo it with the TTS.  Especially if you are listening to radio streams.  Switching to and playing the TTS will probably be pretty quick but switching back to the original stream can take a while.

4 - In some cases your original content may not start playing after a TTS plays, or you may switch back but not resume on the same song.  For example if you are listening to Google Play Music on a smart playlist (e.g. I'm feeling lucky mix or Artist Radio), when you return to the playlist it will start playing a different song.  I don't know of any solution for this.

Getting started:

1 - I suggest you start with a fresh install of VoxCommando 2.1.4.8 in a blank folder and select the English / Sonos configuration to start with.
2 - Open the plugin settings for Sonos and make sure you have selected a player, and set the TTS settings as mentioned above.
3 - Do a GenXML.  This is done asynchronously because it may take a long time.  When the GenXML is complete it will generate an event in VoxCommando.  After that you can do a quick restart to rebuild the commands that use the payloads.

There are voice commands for playing artists, albums, genres, favourites, radio stations etc. but not to play individual songs.  This will probably not change, however you can create commands to play an individual song in a macro.  More on this later.

If you already have a Sonos, give it a whirl now!
http://voxcommando.com/home/downloads/

Please note that I will be away from "the office" for the next week.  I will be monitoring the forum from time to time but not doing any major work.

26
In this Super command, we can ask for "Play show Game of Thrones, season 2, episode 4".

It will immediately play the requested episode.

If we don't have that episode, it still browses to the correct season.

If we don't have that season either, it will still browse to the TV show we asked for.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.2-->
<command id="325" name="Play show {1} season {2} episode {3}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>XJson.Raw</cmdType>
    <params>
      <param>VideoLibrary.GetEpisodes</param>
      <param>"tvshowid":{1}, "season":{2}, "properties":["episode","title"]</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RegExTool.Open</cmdType>
    <params>
      <param>True</param>
    </params>
    <cmdRepeat>0</cmdRepeat>
  </action>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)Contains(B)</ifType>
    <ifParams>{LastResult}&amp;&amp;"total": 0</ifParams>
    <then>
      <action>
        <cmdType>TTS.Speak</cmdType>
        <params>
          <param>Sorry, I can't seem to find Season {2} - of {PF.1}</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>XJson.Raw</cmdType>
        <params>
          <param>Gui.ActivateWindow</param>
          <param>"window":"video","parameters":["videodb://2/2/{1}/"]</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>VC.StopMacro</cmdType>
        <params />
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <action>
    <cmdType>Results.RegExSingle</cmdType>
    <params>
      <param>"episode":\s{3},.*?"episodeid":\s*(\d*?),.*?"title":\s*"(.*?)"</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)&lt;(B)</ifType>
    <ifParams>{#M}&amp;&amp;1</ifParams>
    <then>
      <action>
        <cmdType>TTS.Speak</cmdType>
        <params>
          <param>Sorry, I found Season {2} but not episode {3} - of {PF.1}</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>XJson.Raw</cmdType>
        <params>
          <param>Gui.ActivateWindow</param>
          <param>"window":"video","parameters":["videodb://2/2/{1}/{2}/"]</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else>
      <action>
        <cmdType>OSD.ShowText</cmdType>
        <params>
          <param>Now playing {Pf.1} : {Match.1.2}</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>TTS.Speak</cmdType>
        <params>
          <param>Now playing {Pf.1} : {Match.1.2}</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>XJson.Raw</cmdType>
        <params>
          <param>Player.Open</param>
          <param>"item":{"episodeid":{match.1.1}}</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </else>
  </if>
  <phrase>Play show</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">XbmcPayloads\xbmcTvShowTitles.xml</payloadFromXML>
  <phrase>season</phrase>
  <payloadRange>1,10</payloadRange>
  <phrase>episode</phrase>
  <payloadRange>1,26</payloadRange>
</command>

27
Other Plugins / MOVED: how to get vox to ad numbers to lines?
« on: February 07, 2015, 10:27:30 AM »
The question did not have anything to do with plugins.

This topic has been moved to Help with VoxCommando.

http://voxcommando.com/forum/index.php?topic=2026.0

28
Media Browser (Emby) / Official release of the MB3 plugin
« on: February 03, 2015, 04:27:58 PM »
Version 2.1.3.8 with a new Media Browser plugin is here!

https://plus.google.com/111676462313545255894/posts/1Sz4j99HuBb

If you are already using VoxCommando with another configuration, I recommend you start with a clean install in a new folder and install the default MB3 configuration.  After that you can consider combining old commands with new ones.  There is already a video tutorial covering this topic.

29
XML Exchange / Standard Configs Missing Commands - KODI
« on: February 03, 2015, 09:02:33 AM »
If the default configuration is missing some essential commands that would be useful for the majority of users please post them here.

Ideally, if you can post the xml for the command it will make it easier to add to the default configs.

If a command is discussed or posted elsewhere on the forum, it is sufficient to post a link to it along with a brief description of the command.

Please don't consider this a feature request board
This board is here to help us keep track of working commands that would be useful to include with the VoxCommando installer's default Kodi configuration.

30
THIS BOARD IS NO LONGER UPDATED.
We are not deleting it in case there is some useful information in some of the posts.

The latest version can always be found on the download page.
http://voxcommando.com/home/downloads/

Changes are outlined here:
http://voxcommando.com/mediawiki/index.php?title=ChangeLog

Pages: 1 [2] 3 4 ... 15