Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tecni

Pages: [1] 2
1
XML Exchange / Re: Internet Radio
« on: October 25, 2013, 08:26:49 AM »
Works well.Thanks

Is it possible to write the url in a pls data? ::)

2
Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis / Re: XBMC radio add-on?
« on: October 25, 2013, 06:17:58 AM »
Hi ,
i forgot install "vox tool" on Raspberry.  :o

Now no Problem  ;D

3
Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis / Re: XBMC radio add-on?
« on: October 17, 2013, 04:46:45 AM »
Here the Code .Don't know why its not working on Raspberry.


Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="821" name="Radio" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>XJson.Btn.KB</cmdType>
    <cmdString>stop</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TTS.Speak</cmdType>
    <cmdString>Please wait while I search for {1} radio stations</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>XJson.Raw</cmdType>
    <cmdString>GUI.ActivateWindow&amp;&amp;"window": "music", "parameters": [ "plugin://plugin.audio.radio_de/stations/genre/{1}/" ]</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>PY.ExecString</cmdType>
    <cmdString>import random</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>PY.ExecString</cmdType>
    <cmdString>result=random.randint(1,500)</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Results.SetVar</cmdType>
    <cmdString>myrand&amp;&amp;{LastResult}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.ShowText</cmdType>
    <cmdString>random number: {Var.myrand}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>XJson.Raw</cmdType>
    <cmdString>XBMC.GetInfoLabels&amp;&amp;"labels": ["Container(id).ListItem({Var.myrand}).Label"]</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Results.RegEx</cmdType>
    <cmdString>:."(.*)"</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TTS.Speak</cmdType>
    <cmdString>Opening Stream: {Match.1}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.AddText</cmdType>
    <cmdString>Opening Stream: {Match.1}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>XJson.Raw</cmdType>
    <cmdString>XBMC.GetInfoLabels&amp;&amp;"labels": ["Container(id).ListItem({Var.myrand}).FileName"]</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Results.RegEx</cmdType>
    <cmdString>:."(.*)"</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.AddText</cmdType>
    <cmdString>item id: {Match.1}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>XJson.ExecBuiltin</cmdType>
    <cmdString>PlayMedia(plugin://plugin.audio.radio_de/station/{Match.1})</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.Pause</cmdType>
    <cmdString>4000</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>XJson.Raw</cmdType>
    <cmdString>GUI.SetFullscreen&amp;&amp;"fullscreen":"toggle"</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>wähle</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\RadioGenres.xml</payloadFromXML>
  <phrase>starte radio</phrase>
</command>

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="499" name="Schlafzimmer" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>XJson.SetConnection</cmdType>
    <cmdString>192.168.178.31&amp;&amp;80</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>verbindung Schlafzimmer</phrase>
</command>

4
XML Exchange / Re: Internet Radio
« on: October 16, 2013, 01:25:20 PM »
Thanks  :) :) i test it later.

5
Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis / Re: XBMC radio add-on?
« on: October 14, 2013, 06:38:54 AM »
The Shoutcast  works better ,dont need extra addon.On my 2 Raspberry only select random station but not open the stream(Radioaddon).i want say musicgerne and play on Devices X .(Later with Movies^^)

6
Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis / Re: XBMC radio add-on?
« on: October 12, 2013, 01:26:54 PM »
I have corrected it .Thanks



7
Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis / Re: XBMC radio add-on?
« on: October 12, 2013, 10:51:35 AM »
Schade das es nicht möglich ist die URL auszulesen.Also bleibt mir nur die Payload Methode über.
Ich benutze zurzeit das Script von Jitterhames http://voxcommando.com/forum/index.php?topic=1140.0 (bischen abgeändert)

Wie geh ich vor?
XML von jedem Genre erstellen und manuell die Streams einfügen?

Hier mal das Script

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<commandGroup open="True" name="Radio" enabled="False" prefix="" priority="0" requiredProcess="" description="">
  <command id="837" name="playRadioMatch" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="\\HTPC-PC\Users\Public\Music">
    <action>
      <cmdType>Scrape</cmdType>
      <cmdString>{Match.1}}</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>File.Write</cmdType>
      <cmdString>C:\Users\Public\Music\radio.pls&amp;&amp;{LastResult}</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Raw/</cmdType>
      <cmdString>Player.Open&amp;&amp;"item":{"file":"smb:\\HTPC-PC\Users\Public\Music\radio.pls"}</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Launch.OpenFile</cmdType>
      <cmdString>radio.pls</cmdString>
      <cmdRepeat>0</cmdRepeat>
    </action>
    <action>
      <cmdType>Results.RegEx</cmdType>
      <cmdString>File.=(.*)</cmdString>
      <cmdRepeat>0</cmdRepeat>
    </action>
    <action>
      <cmdType>Sound.PlayStream</cmdType>
      <cmdString>{Match.1}</cmdString>
      <cmdRepeat>0</cmdRepeat>
    </action>
    <action>
      <cmdType>Results.RegEx</cmdType>
      <cmdString>Title.=\(.*?\)(.*)</cmdString>
      <cmdRepeat>0</cmdRepeat>
    </action>
    <action>
      <cmdType>TTS.Speak</cmdType>
      <cmdString>{Match.1} wird abgespielt</cmdString>
      <cmdRepeat>0</cmdRepeat>
    </action>
    <action>
      <cmdType>OSD.ShowText</cmdType>
      <cmdString>{Match.1} wird abgespielt</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Standby</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>starte radio</phrase>
    <event>playRadioMatch</event>
  </command>
  <command id="798" name="shoutcast genre" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>VC.Standby</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>TTS.Stop</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>TTS.Speak</cmdType>
      <cmdString>suche Radiosender {1}</cmdString>
      <cmdRepeat>0</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <cmdString>http://www.shoutcast.com/radio/{1}</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Results.RegEx</cmdType>
      <cmdString>href="(.*?)".*?class="playbutton</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>PY.ExecString</cmdType>
      <cmdString>import random</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>PY.ExecString</cmdType>
      <cmdString>result = random.randint(1,{#M})</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>TTS.Speak</cmdType>
      <cmdString> {#M} Radiosender gefunden, spiele nummer {LastResult}</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.TriggerEvent</cmdType>
      <cmdString>playRadioMatch&amp;amp;&amp;amp;{LastResult}</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Standby</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>shoutcast, inizialisiere radiowiedergabe</phrase>
    <phrase>genre, station</phrase>
    <payloadList>Alternative,Blues,Classical,Country,Decades,Easy Listening,Electronic,Metal,Oldies,New Age,Pop,Public Radio,Rap,Reggae,Rock,</payloadList>
  </command>
  <command id="799" name="stop stream" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>TTS.Stop</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>SendKeys</cmdType>
      <cmdString>x</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Standby</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>stope radiowiedergabe</phrase>
  </command>
  <command id="833" name="stop stream schlafzimmer küche" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>TTS.Stop</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Btn.KB</cmdType>
      <cmdString>x</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Standby</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>stope radiowiedergabe  schlafzimmer,stope radiowiedergabe küche</phrase>
  </command>
  <command id="839" name="Alle räume" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Scrape</cmdType>
      <cmdString>{Match.1}}</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>File.Write</cmdType>
      <cmdString>C:\Users\Public\Music\radio.pls&amp;&amp;{LastResult}</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.SetConnection</cmdType>
      <cmdString>192.168.178.33&amp;&amp;80</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Raw/</cmdType>
      <cmdString>Player.Open&amp;&amp;"item":{"file":"smb:\\HTPC-PC\Users\Public\Music\radio.pls"}</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.SetConnection</cmdType>
      <cmdString>192.168.178.31&amp;&amp;80</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Raw/</cmdType>
      <cmdString>Player.Open&amp;&amp;"item":{"file":"smb:\\HTPC-PC\Users\Public\Music\radio.pls"}</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.SetConnection</cmdType>
      <cmdString>192.168.178.92&amp;&amp;8080&amp;&amp;xbmc&amp;&amp;mario11111</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Raw/</cmdType>
      <cmdString>Player.Open&amp;&amp;"item":{"file":"smb:\\HTPC-PC\Users\Public\Music\radio.pls"}</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Standby</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>starte radiowiedergabe in allen räume</phrase>
    <event>playRadioMatch</event>
  </command>
  <command id="851" name="Alle räume stop" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>XJson.SetConnection</cmdType>
      <cmdString>192.168.178.33&amp;&amp;80</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Btn.KB</cmdType>
      <cmdString>x</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.SetConnection</cmdType>
      <cmdString>192.168.178.31&amp;&amp;80</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Btn.KB</cmdType>
      <cmdString>x</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.SetConnection</cmdType>
      <cmdString>192.168.178.92&amp;&amp;8080&amp;&amp;xbmc&amp;&amp;mario11111</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>SendKeys</cmdType>
      <cmdString>x</cmdString>                                                   If i use XJson.Btn.KB on my HTPC XBMC FREEZES
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Standby</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>stope radiowiedergabe in allen räumen</phrase>
  </command>
</commandGroup>



8
Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis / Re: XBMC radio add-on?
« on: October 11, 2013, 11:31:55 AM »
Hi
i have a problem.On my HTPC the Command work but if i change the xbmc client (Rasbmc (XJson.SetConnection)) it dosnt open the stream.Radioaddon is aktiv.

I want to create a radio.pls , and the other Clients can open it with the normal XBMC Player.Hope you understand  what i want :biglaugh

can i scrape the the url after choose a radio station?

9
allgemein / Re: Erkennung ob TV am HDMI aktiv ist
« on: October 11, 2013, 07:04:17 AM »
Ich habe es jetzt über eine Pinganfrage (EG) gelöst.
Geht auch noch anders .EG macht automatisch ein Event    11:02:37   System.DeviceAttached [u'\\\\?\\DISPLAY#YMH3172#4&1e7f6449&0&UID257#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}']
und                                                                               10:46:00   System.DeviceRemoved [u'\\\\?\\DISPLAY#GSM0001#4&1e7f6449&0&UID257#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}']
AV muss das HDMI Signal im Aus Zustand durchschleifen.

Das mit der Harmony werd ich nächsten Monat mal ausprobieren. ;D

Hier meine TV befehle
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1610">
    <Folder Name="TV" Expanded="True">
        <Macro Name="TV an">
            <Event Name="Main.TVwirdgestartet" />
            <Action>
                Tira.TransmitIR('\x00\x00\x00\x00\x08\x00\x00\x00_\x04\x00\x002\x02\x00\x00A\x00\x00\x00\xd0\x00\x00\x00\x98\x13\x00\x00\x1a\x01\x00\x00\xf0.\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x004\x88\xc4\x07\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x0c\x00\x00\x00\x9cc\x00\x00\x00\x00\x00\x00K\x00\x00\x00G\x00\x00\x00\x00\x01\x02\x02\x02\x02\x02\x03\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x03\x02\x03\x02\x02\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x02\x02\x02\x02\x02\x02\x03\x02\x02\x02\x02\x02\x02\x02\x02\x02\x03\x02\x03\x02\x03\x02\x02\x02\x03\x02\x03\x02\x03\x02\x03\x02\x04\x00\x05\x02\x06\x00\x05\x02', 1, -1)
            </Action>
        </Macro>
        <Macro Name="TV aus">
            <Event Name="Main.TVwirdausgeschaltet" />
            <Action>
                Tira.TransmitIR('\x00\x00\x00\x00\x08\x00\x00\x00_\x04\x00\x002\x02\x00\x00A\x00\x00\x00\xd0\x00\x00\x00\x98\x13\x00\x00\x1a\x01\x00\x00\xf0.\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x004\x88\xc4\x07\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x0c\x00\x00\x00\x9cc\x00\x00\x00\x00\x00\x00K\x00\x00\x00G\x00\x00\x00\x00\x01\x02\x02\x02\x02\x02\x03\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x03\x02\x03\x02\x02\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x02\x02\x02\x02\x02\x02\x03\x02\x02\x02\x02\x02\x02\x02\x02\x02\x03\x02\x03\x02\x03\x02\x02\x02\x03\x02\x03\x02\x03\x02\x03\x02\x04\x00\x05\x02\x06\x00\x05\x02', 1, -1)
            </Action>
        </Macro>
        <Macro Name="TV an abfrage">
            <Event Name="Broadcast.aktiviere TV" />
            <Action>
                PingPlugin.OnePing(u'192.168.178.28', u'LGTV', 200, True, u'TVistbereitsan', u'TVwirdgestartet')
            </Action>
        </Macro>
        <Macro Name="TV aus abfrage">
            <Event Name="Broadcast.deaktiviere TV" />
            <Action>
                PingPlugin.OnePing(u'192.168.178.28', u'LGTV', 200, True, u'TVwirdausgeschaltet', u'TVistbereitsaus')
            </Action>
        </Macro>
        <Macro Name="Tv bereits an">
            <Event Name="Main.TVistbereitsan" />
            <Action>
                Speech.TextToSpeech(u'ScanSoft Steffi_Dri40_16kHz', 0, u'TV bereits an', 0, 72)
            </Action>
        </Macro>
        <Macro Name="TV bereits aus">
            <Event Name="Main.TVistbereitsaus" />
            <Action>
                Speech.TextToSpeech(u'ScanSoft Steffi_Dri40_16kHz', 0, u'TV bereits aus', 0, 70)
            </Action>
        </Macro>
    </Folder>
</EventGhost>

10
allgemein / Re: Erkennung ob TV am HDMI aktiv ist
« on: October 10, 2013, 08:53:00 AM »
Danke erstmal für die Hilfe.Hatte Gestern doch nicht wirklich Zeit ^^ .Das es mit dem Code nicht funktioniert ist schade.Selbst wenn ich mir so eine Harmony besorge steht es nicht 100% fest ob es Funktioniert oder ?Mach mich später mal über deinen Lösungsweg  schlau Kalle .

11
allgemein / Re: Erkennung ob TV am HDMI aktiv ist
« on: October 09, 2013, 09:47:04 AM »
Nein .Hier der code für an/aus .Die sind immer in 2er Blöcken

00 00 00 00 08 00 00 00 5F 04 00 00 32 02 00 00 41 00 00 00 D0 00 00 00 98 13 00 00 1A 01 00 00 F0 2E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 34 88 C4 07 00 00 00 00 00 00 00 00 02 00 00 00 0C 00 00 00 9C 63 00 00 00 00 00 00 4B 00 00 00 47 00 00 00 00 01 02 02 02 02 02 03 02 02 02 02 02 02 02 02 02 02 02 03 02 03 02 02 02 03 02 03 02 03 02 03 02 03 02 02 02 02 02 02 02 03 02 02 02 02 02 02 02 02 02 03 02 03 02 03 02 02 02 03 02 03 02 03 02 03 02 04 00 05 02 06 00 05 02


Der Code muss vieleicht umgewandelt werden nur ka in was ^^.
Bin mal Arbeiten .Schau später von der Arbeit mal rein.

12
allgemein / Re: Erkennung ob TV am HDMI aktiv ist
« on: October 09, 2013, 09:37:59 AM »
Auch über EG? 14:36:38      Error in tira_transmit.

13
allgemein / Re: Erkennung ob TV am HDMI aktiv ist
« on: October 09, 2013, 09:34:10 AM »
Die Codes hab ich auch schon versucht .EG sagt aber fehler ^^

14
allgemein / Re: Erkennung ob TV am HDMI aktiv ist
« on: October 09, 2013, 09:31:58 AM »
lg 55 lm 640s

15
allgemein / Re: Erkennung ob TV am HDMI aktiv ist
« on: October 09, 2013, 09:23:52 AM »
Hi , ich benutze Tira 2 ist ein Sender/Empfänger.Abgefragt soll nur wärend des An/Ausschaltens 1 mal.An/Aus ist leider 1 Code -.- .Im EG Forum gibts 2 Threads aber die Scripts  funktionieren nicht.Wie ich das verstanden habe lesen die wohl die aktuelle Windows Device id aus .

http://www.eventghost.net/forum/viewtopic.php?f=5&t=2839&start=15


Es gibt in VC ja schon sowas


Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="406" name="suche Audioausgänge" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>AudioEndpoint.GetMatches</cmdType>
    <cmdString>{CR}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.ShowText</cmdType>
    <cmdString>Found {#M} devices</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.AddText</cmdType>
    <cmdString>{i}: {Match.{i}}</cmdString>
    <cmdRepeat>{#M}</cmdRepeat>
  </action>
  <phrase>suche Audioausgänge</phrase>
</command>


Bei mir zeigt er dann 3+ Lg als Wiedergabe an was auch nur geht wenn er An ist .Kann man das nicht irgendwie benutzen z.b. wechsel Sound auf lg ,wenn ja TV ist an wenn nein TV starten.

Alternativ wär eine pinganfrage zum TV

Danke

Pages: [1] 2