News:

There is a soft-mute function which we use with the commands like "What song is this?" There is one for system volume, one for each of: MediaMonkey, XBMC, iTunes, MediaPortal.

Main Menu

XBMC Commands

Started by jitterjames, February 24, 2011, 09:44:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Wanilton

#30
Thanks, good job, stepppedup;
Why you don´t use new version vox 0.882b...?? the logical features it´s great for solve your problems.
http://voxcommando.com/forum/index.php?action=dlattach;topic=443.0;attach=420
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

Wanilton

#31
My Commands, look attached file, there are good examples use payloads...
in Music, search for Play music by (Artist), use 2 payloads...look this post
http://voxcommando.com/forum/index.php?topic=98.msg1697#msg1697 - reply 39
for understand use of command.
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

stepppedup

#32
.884 and above compatible only...

"Help" to generate your XBMC commands.  It also minimizes XBMC,and maximizes google chrome.

"Close Help" to close chrome, and maximize XBMC.

jitterjames

Quote from: stepppedup on April 05, 2011, 06:45:08 AM
.884 and above compatible only...

"Help" to generate your XBMC commands.  It also minimizes XBMC,and maximizes google chrome.

"Close Help" to close chrome, and maximize XBMC.

Nice.  Glad to see that you upgraded to 0.884  I have a few question / comments.  First a comment, I would change the help phrase to something longer, and maybe add an alternate phrase.

"show help, show all commands, what can I say"

Single word commands are generally a bad idea and will come back to haunt you one day . :P  Same goes for your "Tab" command.  For a single key I might use a standard like "press tab", "press escape" etc.

Question: is it necessary to minimize xbmc and then maximize it later?  Is it not sufficient to just open and focus chrome? then close chrome and focus xbmc?  Seems to work for me, but maybe it depends on if you are using "true fullscreen" with xbmc?

Comments:
You don't need to focus voxcommando before calling the help command.  In fact you have a typo (missing the 'x') so that command isn't doing anything anyway, unless you have another program called "vocommando" running.  ;)

You might want to create a very similar command called "help with x b m c, help with media center" that only shows xbmc commands.

I'm not sure if it would be 100% reliable or not, but instead of closing chrome, you might want to close the tab, in case you already had other tabs open in chrome when you started.  I believe the best way to do this is with the new

inputkeys.send {control+w}
or with
sendkeys ^w

jitterjames

#34
Here's a cool new command if you are using the Showcase view in Aeon.

XBMC.ExecBuiltin     Skin.ToggleSetting(flattenshowcasemovies)

jitterjames

Wanilton, maybe M.Q. could suggest some other settings that we could adjust with voice commands (like the one above)?  I know some of them require the skin to be reset (for example toggle media cases on and off) but maybe there are others like this that are instant... :)

jitterjames

more commands using execbuiltin...

Skin.ToggleSetting(nomediaflags)

on the main menu:   Skin.ToggleSetting(lowermainmenu)

on showcase: Skin.ToggleSetting(showcasefixedlist)
but for this one you either need to leave showcase or reload the skin.

and for multiplex:   Skin.ToggleSetting(multiplexfixedlist)
and for landscape:  Skin.ToggleSetting(landscapefixedlist)

I'm not sure what this is:   Skin.ToggleSetting(flattenshowcasetvshows) or Skin.ToggleSetting(flattenshowcaseseasons) or Skin.ToggleSetting(flattenshowcasemusic)

I don't know if this requ

stepppedup

Cool - much thanks for the suggestions, and catching the typo.

I updated the help commands - using "show help" and "help me".  I also have a couple of swear words in the version that I didn't upload, with the computer replying, "Is it really necessary to use that language? A simple "Help me" will work."

Re:  Question: is it necessary to minimize xbmc and then maximize it later?  Is it not sufficient to just open and focus chrome? then close chrome and focus xbmc?  Seems to work for me, but maybe it depends on if you are using "true fullscreen" with xbmc?

Yep - I'm running full-screen with XBMC, and I found this was the most dependable method to get my help screen up and running. 

Re:   instead of closing chrome, you might want to close the tab-

Good point, but this is on a dedicated HTPC on which I do no browsing. 



Wanilton

Quote from: jitterjames on April 05, 2011, 03:57:12 PM
Wanilton, maybe M.Q. could suggest some other settings that we could adjust with voice commands (like the one above)?  I know some of them require the skin to be reset (for example toggle media cases on and off) but maybe there are others like this that are instant... :)

Ok James, I send one request for Marcos about suggest other settings, if I give return, i will inform here.
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

stepppedup

Enable Debugging and Disable Debugging - very handy!

stepppedup

This uses Eventghost's timer function to broadcast and call a scan on both music and video library at 4 am.

Then at 5 am, Eventghost's timer function calls for XML to be generated.

I'm curious to see what the equivalent timer is within Vox, but I wanted to do the Eventghost to Vox as prep for another idea I've got....


Vox's xml is attached.


Eventghost XML (thanks to Jitter James' solution over in the EG Forum):

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1486">
    <Macro Name="4 am timer">
        <Action Name="4  am">
            Timer.TimerAction(u'Scan both every day', 0, 1, 1.0, u'', False, True, 2, u'04:00:00')
        </Action>
        <Action Name="Broadcaster: Broadcast: event Both">
            BroadcastListener.Broadcast(u'event', u'Both&amp;&amp;payload1&amp;&amp;payload2', 33000)
        </Action>
    </Macro>

    <Macro Name="5 am timer">
        <Action Name="5  am">
            Timer.TimerAction(u'GenXML every day', 0, 1, 1.0, u'', False, True, 2, u'05:00:00')
        </Action>
        <Action Name="Broadcaster: Broadcast: event GenXMLALL">
            BroadcastListener.Broadcast(u'event', u'GenXMLALL&amp;&amp;payload1&amp;&amp;payload2', 33000)
        </Action>
    </Macro>
</EventGhost>



Cheers!

jitterjames

Quote from: stepppedup on April 14, 2011, 11:24:25 PM


I'm curious to see what the equivalent timer is within Vox, but I wanted to do the Eventghost to Vox as prep for another idea I've got....



Vox's event timer is super simple.  You can't set a specific time or anything, just a delay in seconds. [UPDATE 2013: this is no longer the case! You *can* set a specific time using VC.SetEventTimer. Be careful with old threads ...]

What are you passing payload1 and payload2 for?

stepppedup

Nothing currently, but there's something that I'm mulling over for another function using the eg timer - > vox event  and would need the payload.

Gotta go tweak on XBMC to see if it's possible before I go there though ....

maxwel

Quote from: Wanilton on March 27, 2011, 09:38:36 PM
James,

My intention is to inform you that there has been a change for those who are using version 11, I'm using a computer to 10.1 and another computer version 11, that to help the Marcos, get the details right in Aeonmq2 skin.

Basically the function is the same, just change the call the ActiveWindow, in version 11, work this way:

Example new command for Tv Show in Eden
ActivateWindow(Videos,TvShowTitles,return)
No more VideoLibrary

For movies in Eden
ActivateWindow(Videos,MovieTitles,return)
Others examples;
ActivateWindow(Videos,Files,return)
ActivateWindow(Videos,Root)
ActivateWindow(Videos,Addons,return)

Music not changed yet



and this way work ok in Eden Version.

Wanilton




Hi guy,

Can someone please help me, i'm looking for commands ( show my video addons and show my music addons )! i m using frodo.

Thanks guys

jitterjames

<?xml version="1.0" encoding="utf-16"?>
<command id="153" name="test audio video addons" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>XJson.Raw</cmdType>
    <cmdString>GUI.ActivateWindow&amp;&amp;"window": "video", "parameters": [ "addons://sources/video" ]</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>XJson.Raw</cmdType>
    <cmdString>GUI.ActivateWindow&amp;&amp;"window": "music", "parameters": [ "addons://sources/audio" ]</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
</command>