News:

HOT TIP! Exploring the commands packaged in VC's standard configurations is a great way to learn how to build your own. You can also clone a command as a starting point: just right-click and select "Clone" (or type Alt-C).

Main Menu

Radio Plugin,payload für "meine Sender"

Started by WilliamT.Riker, April 02, 2015, 06:50:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WilliamT.Riker

Hallo zusammen,

habe jetzt wieder etwas Zeit gefunden mich mit VC zu beschäftigen.
Ich habe mir das Radio Addon installiert und ein paar Sender in "meine Sender" geschoben.
Ich möchte ich mit der Phrase "gehe zu Radio,direkt dort hin wechseln.Ich habe es schon versucht mit "my stations".
Das funktioniert aber nicht.


Wäre sehr dankbar für Hilfe
Riker

nime5ter

#1
Der "Activate Window" Befehl ist nur für den Standard Fenstern: http://kodi.wiki/view/Window_IDs

Man muss einen speziellen Befehl für das Radio-Addon erstellen.

The "activate window" command is only for the standard Kodi windows: http://kodi.wiki/view/Window_IDs

You would need to create a special command for the Radio addon.

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.2-->
<command id="501" name="Meine Sender" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>XJson.Raw</cmdType>
    <params>
      <param>GUI.ActivateWindow</param>
      <param>"window": "music", "parameters":[ "plugin://plugin.audio.radio_de/stations/my/"]</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Meine Sender</phrase>
</command>
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

Danke nime5ter,

ich weiß nicht was ich mit deinem Code jetzt machen soll.


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

#4
Quote from: WilliamT.Riker on April 03, 2015, 01:18:34 PM
Danke nime5ter,

ich weiß nicht was ich mit deinem Code jetzt machen soll.

If you still don't know what to do with an XML code on the forum after using VoxCommando for such a long time, then unfortunately I do not think it is possible for anyone to help you.