Author Topic: XBMC + Live TV + VoxCommando  (Read 27694 times)

0 Members and 2 Guests are viewing this topic.

Mace

  • $upporter
  • Contributor
  • *****
  • Posts: 77
  • Karma: 1
    • View Profile
XBMC + Live TV + VoxCommando
« on: May 21, 2013, 06:24:47 AM »
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 Xsql
Export 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: TV
Query: select idChannel, sChannelName from channels where bIsRadio=0
Filename: xbmcTvChannels
Sub: tick

Click Save and Generate

Step 2: Making the commands ? (copy this command to your command tree)

Code: [Select]
<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&amp;&amp;"item" : {"channelid" : {1}}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>XJson.Raw</cmdType>
    <cmdString>GUI.ShowNotification&amp;&amp;"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:

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

Code: [Select]
<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&amp;&amp;"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:
               
« Last Edit: March 02, 2015, 11:24:12 PM by Mace »

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: XBMC + Live TV + VoxCommando
« Reply #1 on: May 21, 2013, 06:50:56 AM »
Wow, great job  ::bow :clap
***********  get excited and make things  **********

Mace

  • $upporter
  • Contributor
  • *****
  • Posts: 77
  • Karma: 1
    • View Profile
Re: XBMC + Live TV + VoxCommando
« Reply #2 on: May 21, 2013, 06:58:03 AM »
Do what i can to help.

maxwel

  • Jr. Member
  • **
  • Posts: 39
  • Karma: 1
    • View Profile
Re: XBMC + Live TV + VoxCommando
« Reply #3 on: October 13, 2013, 08:02:14 AM »
Can someone help me please i can't find any xbmctvchannel.xml ? thank you

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: XBMC + Live TV + VoxCommando
« Reply #4 on: October 13, 2013, 08:46:14 AM »
Hi maxwel,

See Mace's step 1.
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 Xsql
Export 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: TV
Query: select idChannel, sChannelName from channels where bIsRadio=0
Filename: xbmcTvChannels
Sub: tick

Click Save and Generate
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)

maxwel

  • Jr. Member
  • **
  • Posts: 39
  • Karma: 1
    • View Profile
Re: XBMC + Live TV + VoxCommando
« Reply #5 on: October 13, 2013, 10:16:08 AM »
Thank for your quick response nime5ter. I really appreciate your time.

I have done  that step 1 but i can´t find any xbmcTvChannel.xml file in ‘XbmcPayloads´ What am I doing wrong? Xsql plug is activer

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: XBMC + Live TV + VoxCommando
« Reply #6 on: October 13, 2013, 10:46:37 AM »
Follow ALL the directions provided by Mace, and then reposted by Nime5ter.

If all you did was activate the plugin then that was not enough.  All the steps are there you just need to follow them.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: XBMC + Live TV + VoxCommando
« Reply #7 on: October 13, 2013, 10:53:13 AM »
I hope this is a bit easier to follow.  It is basically the same instructions as given above, but hopefully clearer and more precise for you.

1) go to options and enable the xSql plugin
2) restart VC
3) go to plugin settings for xSql plugin
4) verify that the path labeled "Export XML to Folder" is correctly set to the default value of: .\XbmcPayloads
5) verify that the table contains a row which reads
Code: [Select]
TV    select idChannel, sChannelName from channels where bIsRadio=0      xbmcTvChannels6) select Sub if you want to be able to save only part of the episode name, otherwise leave it unchecked.
7) click "Save and Generate" button.

Once all this is done, you can always perform an update form the main VC window by clicking:
GenXML   >>   XBMC Frodo  >>   xSQL
« Last Edit: October 13, 2013, 11:15:25 AM by jitterjames »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: XBMC + Live TV + VoxCommando
« Reply #8 on: October 13, 2013, 11:08:02 AM »
please note there was an error in my code block above.  I corrected it.

If you don't have this line already you need to create one.

maxwel

  • Jr. Member
  • **
  • Posts: 39
  • Karma: 1
    • View Profile
Re: XBMC + Live TV + VoxCommando
« Reply #9 on: October 13, 2013, 03:03:13 PM »
Thanks you James for reply .. I'm using the old version of vox that was the problem I think so I am going to update now.

philby85

  • $upporter
  • Jr. Member
  • *****
  • Posts: 19
  • Karma: 0
    • View Profile
Re: XBMC + Live TV + VoxCommando
« Reply #10 on: January 05, 2014, 02:37:54 AM »
Hi Everyone,

Newbie here please be gentle lol. I followed the instructions set everything up and imported the xml. The phrase, "program guide on screen" works for me my while watching live tv. The "program guide" phrase which I am using from the xvmc home screen does not show the the guide. In the top right hand corner displays the text program guide with a circle next to it with and an i in it. The TTS announces program guide. This disappears after a few seconds. My pvr backend is Nextpvr which is all working fine. I am using vc 1.1.8.3. Thanks for a wonderful program and great contributors.

cheers

Phil

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: XBMC + Live TV + VoxCommando
« Reply #11 on: January 05, 2014, 03:45:39 AM »
Hi philby85 and welcome to VC forum.
Did you VC setup with XBMC Eden or Frodo commands? Did you installed the VoxTools-addon in XBMC? Work all other commands for xbmc?
If not, please take a look here http://voxcommando.com/forum/index.php?topic=1073.0

Let us know if this has your problem solved.
« Last Edit: January 05, 2014, 04:52:58 AM by Kalle »
***********  get excited and make things  **********

philby85

  • $upporter
  • Jr. Member
  • *****
  • Posts: 19
  • Karma: 0
    • View Profile
Re: XBMC + Live TV + VoxCommando
« Reply #12 on: January 05, 2014, 07:42:04 AM »
Hi Kalle,

Thanks for your reply, I have enjoyed your videos. I have setup for frodo. the vox add-on for xbmc is installed. All other commands work so far.

kind regards

Phil

philby85

  • $upporter
  • Jr. Member
  • *****
  • Posts: 19
  • Karma: 0
    • View Profile
Re: XBMC + Live TV + VoxCommando
« Reply #13 on: January 05, 2014, 08:01:31 AM »
Hi Kalle,

I checked my xbmc and although the repo for fox was there the add-on wasn't showing anywhere. So I refreshed the repository and installed and now all working. Thanks for the tip very much appreciate your time.

regards

Phil

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: XBMC + Live TV + VoxCommando
« Reply #14 on: January 05, 2014, 09:08:18 AM »
No problem, thanks for your report  ;)
***********  get excited and make things  **********