Author Topic: Play Next Episode of {show}  (Read 2727 times)

0 Members and 1 Guest are viewing this topic.

Sandurz

  • Jr. Member
  • **
  • Posts: 3
  • Karma: 3
    • View Profile
Play Next Episode of {show}
« 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:

Code: [Select]
<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.


DexDeadly

  • Jr. Member
  • **
  • Posts: 27
  • Karma: 3
    • View Profile
Re: Play Next Episode of {show}
« Reply #1 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.

PegLegTV

  • $upporter
  • Sr. Member
  • *****
  • Posts: 497
  • Karma: 43
    • View Profile
Re: Play Next Episode of {show}
« Reply #2 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?

DexDeadly

  • Jr. Member
  • **
  • Posts: 27
  • Karma: 3
    • View Profile
Re: Play Next Episode of {show}
« Reply #3 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!