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 - paulbeauvais

Pages: [1]
1
I am honestly not sure if this is an OSD issues, a Regex issue, or a Me issue.

I started to write a plugin to trigger events on sunrise and sunset (as an experiment), but then it hit me that all the tools to do this were already there. 

I could use the special google calendar for sunrise and sunset to get the time and then use regular expression to pull out the information.  In testing I tried to through the results of the regex into an osd.showtext using {match.1}.  The OSD box shows up on the screen, but it is solid black with no text in it. (OSD.showtext is working with other results like {lastresult}.

I used the regext tool and I do get the results I think I am going to get (namely the time).

Logfile and history both show 1 result coming back.

any thoughts?

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.0.7-->
<command id="823" name="newcommandname" enabled="true" alwaysOn="False" confirm="True" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>GgCal.GetDay</cmdType>
    <params>
      <param>4</param>
      <param>sunrise and sunset for Philadelphia</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Results.RegEx</cmdType>
    <params>
      <param>\d{1,2}:\d{2}am</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.ShowText</cmdType>
    <params>
      <param>{Match.1}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
</command>

2
VoxCommando Basics and Core Features / startup options
« on: February 07, 2016, 08:58:40 PM »
I have been looking for way to trigger events when VoxCommand starts.  I can do this from an external source but timing that is a bit challenging. 

I would use this to do things like read variable defaults from a file, or reestablishing timers if Voxcommando needed to restart (I was thinking about restarting it every night at 4 am).

Is there a way to run voxcommando startup events via VoxCommando?

Thanks,

Paul

3
Other Plugins / Sonos.Play.share
« on: February 06, 2016, 02:35:06 AM »
I was hoping someone could give me a bit of help.

I am trying to use the Sonos.Play.Share command and I cannot get it to work.

The file I am trying to play is in the share specified in the sonos plugin.  Sonos TTS works so I know the share is set up correctly.

I have sent both just the file name and the full UNC path, still nothing.

Any suggestions?

Here is the data from the log:

2/6/2016 1:50:42 AM   540   Action ERROR: OpenSource.UPnP.UPnPInvokeException:  Internal Server Error
   at OpenSource.UPnP.UPnPService.InvokeSync(String MethodName, UPnPArgument[] InVarArr)
   at Jishi.Intel.SonosUPnP.SonosPlayer.Enqueue(SonosTrack track, Boolean asNext)
   at vcPlugin.SonosController.playType(String playType, String playValue, Boolean clearQ)

Pages: [1]