VoxCommando Forum

Help and Support (Using VoxCommando) => Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis => Topic started by: Sandurz on November 04, 2014, 12:57:12 AM

Title: Play Next Episode of {show}
Post by: Sandurz on November 04, 2014, 12:57:12 AM
Got a working implementation of Play Next Episode Of {show name}

Put the attached .xsp in your smarts folder and use this command:

<command id="150" name="Next Episode of {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>XJson.SmartPL</cmdType>
                <params>
                    <param>smarts\nextepisode.xsp</param>
                    <param>{1}</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>TTS.Speak</cmdType>
                <params>
                    <param>Playing next episode of {1}</param>
                </params>
                <cmdRepeat>0</cmdRepeat>
            </action>
            <action>
                <cmdType>VC.Pause</cmdType>
                <params>
                    <param>500</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>XJson.Raw</cmdType>
                <params>
                    <param>Player.Open</param>
                    <param>"item": {"file":"special://profile/playlists/mixed/voxsmart.xsp"}</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <phrase>play</phrase>
            <phrase>next episode of</phrase>
            <payloadFromXML phraseOnly="True" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">XbmcPayloads\xbmcTvShowTitles.xml</payloadFromXML>
        </command>


And boom! The next unwatched episode of the named show will start playing.

Title: Re: Play Next Episode of {show}
Post by: DexDeadly on March 29, 2016, 02:01:07 AM
Hello I have setup this in my system.  However it doesn't work.  My Kodi instance doesn't seem to do anything.  I'm running 15.1 ISENGARD.  Should this work with it or do I need to make any tweaks  Also I'm wondering. My voxcommando is not on the same machine as the Kodi installation.  It's on a pi.  Any input greatly appreciated.
Title: Re: Play Next Episode of {show}
Post by: PegLegTV on March 29, 2016, 06:22:21 PM
do you have the Voxcommando Tools addon installed in kodi?

are you using path substitution with your playlist?
Title: Re: Play Next Episode of {show}
Post by: DexDeadly on March 29, 2016, 11:49:00 PM
I forgot to report back I did get this to work.  I did figure out that I did need to get the vox tools installed.  However after it worked at 2:30AM I ended up crashing and forgot to mention that I did get this to work.  It works beautifully.  Thank YOU!