Here is a guide for using the live TV function in XBMC Frodo.
<a href="
">See this video for installing VoxCommando with XBMC Frodo.[/url]
Step 1:- Making a TV Payloads.xml file: If you have run the Xsql plug-in correctly then you already have an xbmcTvChannel.xml file in ?XbmcPayloads? folder. Go to Step 2.
If not then from VC window select
Plugins then select
XsqlExport XML to Folder:
.\\XbmcPayloads (or where ever you choose to save this file, adjust the command to point to it.)
In the OutPut (XML payload files) section add this:
Type:
TVQuery:
select idChannel, sChannelName from channels where bIsRadio=0Filename:
xbmcTvChannelsSub:
tickClick
Save and GenerateStep 2: Making the commands ? (copy this command to your command tree)
<command id="711" name="Live TV Channel" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>XJson.Raw</cmdType>
<cmdString>Player.Open&&"item" : {"channelid" : {1}}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>XJson.Raw</cmdType>
<cmdString>GUI.ShowNotification&&"title" : "{LastSpoken}" , "message" : ""</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase optional="true">Switch to, Play</phrase>
<phrase>Channel</phrase>
<payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone">XbmcPayloads\xbmcTvChannels.xml</payloadFromXML>
</command>
and you're done!
Should look like this:
Here's some optional extras for getting the program guide up: -
This one is for the PVR window Program Guide:
<command id="1511" name="PVR Screen" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>XJson.ExecBuiltin</cmdType>
<cmdString>ActivateWindowAndFocus(mypvr, 31,0, 10,0)</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>Program Guide</phrase>
</command>
In the PVR window:
And this one shows a Program Guide on-screen while watching tv:
<command id="1465" name="EPG On Screen" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>XJson.Raw</cmdType>
<cmdString>GUI.ActivateWindow&&"window" : "pvrosdchannels"</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>Program Guide On Screen</phrase>
</command>
On Screen:
Command Group File attached if you wish to install as group.
Update: 03/03/2015
Here's a couple updates to better suit the new kodi api.
for TvGuide:
Change -
to ->
for TvGuide on Screen:-
Change -
to ->
Can also add a new Command to go to the Live TV channel list: