Author Topic: Sprungbefehl für LiveTV  (Read 6745 times)

0 Members and 1 Guest are viewing this topic.

WilliamT.Riker

  • Sr. Member
  • ****
  • Posts: 104
  • Karma: 0
    • View Profile
Sprungbefehl für LiveTV
« on: September 06, 2014, 04:17:54 PM »
ich mach mal ein neuen Topic für das Thema auf.

also ich habe mir jetzt die  "XBMC Live Television.xml" aus dem Link von Jitterjames runtergeladen und habe sie in den Ordner XBMCPayloads kopiert.
Ich habe auch schon einen neuen Befehl erstellt.

Wie geht es jetzt weiter?

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Sprungbefehl für LiveTV
« Reply #1 on: September 06, 2014, 05:39:40 PM »
Die Datei "XBMC Live-Television.xml" ist ein Befehlsgruppe, nicht Payloads. Du sollst einfach kopieren, die direkt in deinem Befehlsstruktur. So was:

http://voxcommando.com/mediawiki/index.php?title=XML_on_the_forum#Importing_XML_files

Aber nicht werklich "kopieren", wie das Video zeigt, muss man die Datei in die Befehlsstruktur ziehen ("Drag & Drop").
« Last Edit: September 06, 2014, 06:04:15 PM by nime5ter »
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)

WilliamT.Riker

  • Sr. Member
  • ****
  • Posts: 104
  • Karma: 0
    • View Profile
Re: Sprungbefehl für LiveTV
« Reply #2 on: September 06, 2014, 05:45:49 PM »
okay Danke

WilliamT.Riker

  • Sr. Member
  • ****
  • Posts: 104
  • Karma: 0
    • View Profile
Re: Sprungbefehl für LiveTV
« Reply #3 on: September 07, 2014, 09:14:19 AM »
Genau das war es, ich kann jetzt die einzelnen Sender bzw. Kanäle direkt aufrufen.
Gibt es irgendwo eine Datenbank mit einzelnen XML´s
Kurze Frage noch. Wenn ich LiveTV aufrufe öffnet sich immer diese Leiste auf der linken Seite. Kann man das irgendwie unterbinden?
Ist ja doch nervig wenn man dann immer beim öffnen nochmal nach rechts sagen muss damit man die Senderliste sehen kann.

Danke
« Last Edit: September 07, 2014, 09:37:58 AM by jitterjames »

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Sprungbefehl für LiveTV
« Reply #4 on: September 07, 2014, 12:30:54 PM »
Die Datei "xbmcTvChannels.xml", in den Ordner "XbmcPayloads", ist eine Liste von Kanälen, die durch das xSQL Plugin erzeugt wird. Es verwendet die Daten in deiner XBMC Datenbank, unter: c:\Users\*benutzername*\AppData\Roaming\XBMC\userdata\Database\TV22.db

Wir haben kein Live-TV-, und wir haben auch nicht deinem PVR oder TV-Service. Was du nicht sagst, welchen Befehl (e) Du verwendest. All dies macht es schwierig zu helfen.

Die Befehlsgruppe welche im Forum gepostet wurde hat drei Befehle :

1. "Live channel" - Der Anwender kann nach einem bestimmten Kanal fragen (es wird die Datei payloadXML "xbmcTvChannels.xml" verwendet)

2. "EPG" - Dieser Befehl sollte das EPG auf dem Bildschirm anzeigen.

3. "EPG On Screen" - Dieser Befehl sollte eine Kanalliste einblenden, während der Benutzer gerade eine TV-Programm sieht.

Wenn du LiveTV ohne Auswahl eines bestimmten Kanals starten möchtest, versuche:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.0.0.8-->
<command id="1525" name="Launch Live TV" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>XJson.ExecBuiltin</cmdType>
    <params>
      <param>ActivateWindowAndFocus(mypvr, 32,0, 11,0)</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>XJson.Raw</cmdType>
    <params>
      <param>GUI.ShowNotification</param>
      <param>"title" : "{LastSpoken}" , "message" : ""</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TTS.Speak</cmdType>
    <params>
      <param>{LastSpoken}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Launch Live TV</phrase>
</command>

Ich weiß nicht, ob das funktionieren wird oder ob es das ist, was du suchst. Ich fand die Syntax im XBMC Forum
« Last Edit: September 07, 2014, 04:06:42 PM by Kalle »
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)

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Sprungbefehl für LiveTV
« Reply #5 on: September 07, 2014, 04:02:00 PM »
Thanks Kalle. ;)
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)

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: Sprungbefehl für LiveTV
« Reply #6 on: September 07, 2014, 04:03:49 PM »
Quote
Kurze Frage noch. Wenn ich LiveTV aufrufe öffnet sich immer diese Leiste auf der linken Seite. Kann man das irgendwie unterbinden?
Ist ja doch nervig wenn man dann immer beim öffnen nochmal nach rechts sagen muss damit man die Senderliste sehen kann.
Du kannst in dein Befehl eine Keyboard-Emulation einfügen (Sendkeys oder DxInput) um nach dem Kanalaufruf die Leiste zu schließen. Normalerweise kann man die Ansichten der Leiste direkt in XBMC bearbeiten, bin mir aber in diesem Fall nicht sicher.
***********  get excited and make things  **********

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: Sprungbefehl für LiveTV
« Reply #7 on: September 07, 2014, 04:04:59 PM »
Thanks Kalle. ;)
It was 99,5% correct written, only a bit cosmetic  ;)
***********  get excited and make things  **********

WilliamT.Riker

  • Sr. Member
  • ****
  • Posts: 104
  • Karma: 0
    • View Profile
Re: Sprungbefehl für LiveTV
« Reply #8 on: September 08, 2014, 09:21:46 AM »
Danke an alle,
jetzt funktioniert alles soweit wie ich das wollte.
Bleibt nur das Problem mit der Untermenü Leiste. In XBMC selber kann man das nicht abstellen also bleibt nur die Möglichkeit das irgendwie mit einem Rechtsbefehl zu schließen.
Das mit der Keyboard-Emulation funktioniert nicht. Ich mach mal ein Video um zu zeigen was ich gemacht habe.


« Last Edit: September 08, 2014, 10:08:51 AM by jitterjames »

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Sprungbefehl für LiveTV
« Reply #9 on: September 08, 2014, 12:01:57 PM »
Danke für das Video. Das ist hilfreich.

Please use Google Translate to read my message. If you don't understand something, hopefully a native German speaker can help to interpet. It takes a lot of time for me to write a message in German.

---
1.  Did you try using the command xml that I provided in my last post? In your video, you do not demonstrate using that command.

2. Instead of using the standard "Gehe zu {1}" command, try using a *separate* command, just for TV. (You can delete "TV" from your XBMCActivateWindowDE-EN.xml payload file so that VoxCommando does not try to execute the wrong command.)

Instead of using Sendkeys, it is probably better to use xJson navigation methods. Below, I have added the xJson action Input.Right to the command I already suggested.

Try:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.0.0.8-->
<command id="1525" name="Gehe zu TV" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>XJson.ExecBuiltin</cmdType>
    <params>
      <param>ActivateWindowAndFocus(mypvr, 32,0, 11,0)</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>XJson.Raw</cmdType>
    <params>
      <param>Input.Right</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Gehe zu TV</phrase>
</command>

As always, you can select the xml above, copy it, and paste it into your command tree.

I found the Input.Right json method by consulting the XBMC wiki (thanks to James's guidance): http://wiki.xbmc.org/?title=JSON-RPC_API/v6#Input
« Last Edit: September 08, 2014, 12:44:12 PM by nime5ter »
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)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sprungbefehl für LiveTV
« Reply #10 on: September 08, 2014, 12:05:42 PM »
@Riker.  Please use proper spelling, grammar and punctuation so that Google translate can help us to understand you better.  Please always put a space after a period.

Notice that Google cannot translate.this?

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: Sprungbefehl für LiveTV
« Reply #11 on: September 08, 2014, 12:21:30 PM »
OK, nime5ter hat es gelöst  :hugs

Ich habe es getestet und es funktioniert!

PS: Dirk, Ich habe mir dein Video angesehen und möchte Dir noch sagen: Das prefix "Computer" wird nur benötigt wenn VC im standby-modus (gelb) ist.
« Last Edit: September 08, 2014, 12:33:50 PM by Kalle »
***********  get excited and make things  **********

WilliamT.Riker

  • Sr. Member
  • ****
  • Posts: 104
  • Karma: 0
    • View Profile
Re: Sprungbefehl für LiveTV
« Reply #12 on: September 08, 2014, 02:27:13 PM »
@Riker.  Please use proper spelling, grammar and punctuation so that Google translate can help us to understand you better.  Please always put a space after a period.

Notice that Google cannot translate.this?

Okay i ' m sorry,
I will give my best to write better German

WilliamT.Riker

  • Sr. Member
  • ****
  • Posts: 104
  • Karma: 0
    • View Profile
Re: Sprungbefehl für LiveTV
« Reply #13 on: September 08, 2014, 02:51:00 PM »
Danke für das Video. Das ist hilfreich.

Please use Google Translate to read my message. If you don't understand something, hopefully a native German speaker can help to interpet. It takes a lot of time for me to write a message in German.

---
1.  Did you try using the command xml that I provided in my last post? In your video, you do not demonstrate using that command.

2. Instead of using the standard "Gehe zu {1}" command, try using a *separate* command, just for TV. (You can delete "TV" from your XBMCActivateWindowDE-EN.xml payload file so that VoxCommando does not try to execute the wrong command.)

Instead of using Sendkeys, it is probably better to use xJson navigation methods. Below, I have added the xJson action Input.Right to the command I already suggested.

Try:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.0.0.8-->
<command id="1525" name="Gehe zu TV" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>XJson.ExecBuiltin</cmdType>
    <params>
      <param>ActivateWindowAndFocus(mypvr, 32,0, 11,0)</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>XJson.Raw</cmdType>
    <params>
      <param>Input.Right</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Gehe zu TV</phrase>
</command>

As always, you can select the xml above, copy it, and paste it into your command tree.

I found the Input.Right json method by consulting the XBMC wiki (thanks to James's guidance): http://wiki.xbmc.org/?title=JSON-RPC_API/v6#Input

Please I need practical example in the form of video or pictures.
Sorry I'm not a programmer


stop,
I just found your video
http://voxcommando.com/mediawiki/index.php?title=XML_on_the_forum
« Last Edit: September 08, 2014, 03:05:09 PM by WilliamT.Riker »

WilliamT.Riker

  • Sr. Member
  • ****
  • Posts: 104
  • Karma: 0
    • View Profile
Re: Sprungbefehl für LiveTV
« Reply #14 on: September 08, 2014, 02:52:04 PM »
OK, nime5ter hat es gelöst  :hugs

Ich habe es getestet und es funktioniert!

PS: Dirk, Ich habe mir dein Video angesehen und möchte Dir noch sagen: Das prefix "Computer" wird nur benötigt wenn VC im standby-modus (gelb) ist.


Danke

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sprungbefehl für LiveTV
« Reply #15 on: September 08, 2014, 02:54:47 PM »
Please I need practical example in the form of video or pictures.
Sorry I'm not a programmer


 ::club ::club ::club

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: Sprungbefehl für LiveTV
« Reply #16 on: September 08, 2014, 03:01:10 PM »
Quote
Please I need practical example in the form of video or pictures.
Sorry I'm not a programmer

 ??? Der Command code ist doch ein Beispiel und macht genau das was Du wolltest. Copy and paste den code in deine VC XBMC command group.  ::yikes
***********  get excited and make things  **********

WilliamT.Riker

  • Sr. Member
  • ****
  • Posts: 104
  • Karma: 0
    • View Profile
Re: Sprungbefehl für LiveTV
« Reply #17 on: September 08, 2014, 03:05:27 PM »
Please I need practical example in the form of video or pictures.
Sorry I'm not a programmer


stop,
I just found your video
http://voxcommando.com/mediawiki/index.php?title=XML_on_the_forum
[/b]

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sprungbefehl für LiveTV
« Reply #18 on: September 08, 2014, 03:13:45 PM »
@Riker: Please feel free to continue writing in German.  No one asked you to write in English.  Just be careful to write correctly in German.  If you write in English, then we won't be able to rely on Kalle to figure out what you really mean!

WilliamT.Riker

  • Sr. Member
  • ****
  • Posts: 104
  • Karma: 0
    • View Profile
Re: Sprungbefehl für LiveTV
« Reply #19 on: September 08, 2014, 09:50:35 PM »
@Riker: Please feel free to continue writing in German.  No one asked you to write in English.  Just be careful to write correctly in German.  If you write in English, then we won't be able to rely on Kalle to figure out what you really mean!
okay