Author Topic: Speak/say selecteed movie name  (Read 40618 times)

0 Members and 1 Guest are viewing this topic.

lja

  • Sr. Member
  • ****
  • Posts: 145
  • Karma: 5
    • View Profile
Re: Speak/say selecteed movie name
« Reply #120 on: August 01, 2014, 10:56:51 PM »
OK.  We are finally all set.  Make sure you get the latest version of Cinema Experience (...30 I think)

then try the double feature command!

Can this be used with the current version of cinema experience? I have tried it but get the error "unknown base action:XBMC"

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Speak/say selecteed movie name
« Reply #121 on: August 01, 2014, 11:23:55 PM »
Since I posted that at the beginning of 2011 I think it's a safe bet that it was for Eden.  So, no, it won't work with Frodo or later versions of XBMC.

lja

  • Sr. Member
  • ****
  • Posts: 145
  • Karma: 5
    • View Profile
Re: Speak/say selecteed movie name
« Reply #122 on: August 01, 2014, 11:26:38 PM »
Since I posted that at the beginning of 2011 I think it's a safe bet that it was for Eden.  So, no, it won't work with Frodo or later versions of XBMC.

Thanks.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Speak/say selecteed movie name
« Reply #123 on: August 01, 2014, 11:29:24 PM »
Here's an updated version:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.0.0.5-->
<command id="430" name="double feature {1} and {2}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>TTS.Speak</cmdType>
    <params>
      <param>Enjoy watching: {PF.1}, followed by {PF.2}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>XJson.Raw</cmdType>
    <params>
      <param>Addons.ExecuteAddon</param>
      <param> "wait": false, "addonid": "script.cinema.experience", "params": [ "movieid={1};{2}" ]</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>double feature</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">XbmcPayloads\xbmcMovieIDs.xml</payloadFromXML>
  <phrase>and</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">XbmcPayloads\xbmcMovieIDs.xml</payloadFromXML>
</command>

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

lja

  • Sr. Member
  • ****
  • Posts: 145
  • Karma: 5
    • View Profile
Re: Speak/say selecteed movie name
« Reply #125 on: August 02, 2014, 01:19:11 AM »
Thanks @jitterjames

I had been able to get the "take me out to watch xml to work and had started trying to understand that to see how I could adapt it. I notice that the revised version uses a similar approach. Thanks very much for your help.