VoxCommando

Deutsche Support => XBMC => Topic started by: WilliamT.Riker on January 08, 2012, 05:34:30 AM

Title: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 08, 2012, 05:34:30 AM
Hallo,

ich habe auf der XBMC Startseite einen neuen Menüpunkt Radio erstellt (siehe Bild).
In der Payloadliste stehen im Moment (siehe Bild) nur die paar Sachen drinnen.
Eine Grundsätzliche Frage wäre,wird,wenn ich einen neuen Menüeintrag mache (so wie ich es jetzt mit Radio gemacht habe)
eine Datei oder Dateieintrag im XBMC Programm erzeugt?Wenn ja,wie bekomme ich diesen in die Payloadliste?
Ich stelle mir das so vor,das dann in der Payloadliste wie im Bild zu sehen ein Eintrag wie Radio stehen müsste.

Riker Ende

question in english by Kalle  ;)

How can I use the radio item, that I created in XBMC, with VC payloadlist for a direct jump?
Title: Re: Frage
Post by: jitterjames on January 08, 2012, 10:01:20 AM
That looks like you are using the MQ3 skin.  Correct?

Can you provide information on how you created the menu items?

I do not use internet radio in XBMC...
Before I can figure out how to open internet radio stations with VoxCommando, I first need to know how to create them and access them using the normal XBMC interface.
Title: Re: Frage
Post by: Kalle on January 08, 2012, 11:36:55 AM
Hallo,

ich habe auf der XBMC Startseite einen neuen Menüpunkt Radio erstellt (siehe Bild).
In der Payloadliste stehen im Moment (siehe Bild) nur die paar Sachen drinnen.
Eine Grundsätzliche Frage wäre,wird,wenn ich einen neuen Menüeintrag mache (so wie ich es jetzt mit Radio gemacht habe)
eine Datei oder Dateieintrag im XBMC Programm erzeugt?Wenn ja,wie bekomme ich diesen in die Payloadliste?
Ich stelle mir das so vor,das dann in der Payloadliste wie im Bild zu sehen ein Eintrag wie Radio stehen müsste.

Riker Ende

question in english by Kalle  ;)

How can I use the radio item, that I created in XBMC, with VC payloadlist for a direct jump?
Der Befehl lautet wohl -> XBMC.ExecBuiltin +  parameter: ActivateWindow(window[,dir,return])
Wie und wo Du etwas in XBMC findest kannst hier sehen:  http://wiki.xbmc.org/index.php?title=List_of_Built_In_Functions (http://wiki.xbmc.org/index.php?title=List_of_Built_In_Functions)

Kalle
Title: Re: Frage
Post by: WilliamT.Riker on January 08, 2012, 11:48:52 AM
Hello,

yes my Skin is MQ3.

The video shows how I create the menu-


http://www.facebook.com/video/video.php?v=218867174864997&saved (http://www.facebook.com/video/video.php?v=218867174864997&saved)
Title: Re: Frage
Post by: jitterjames on January 08, 2012, 11:52:48 AM
where does the favorite come from?
Title: Re: Frage
Post by: jitterjames on January 08, 2012, 11:53:53 AM
Der Befehl lautet wohl -> XBMC.ExecBuiltin +  parameter: ActivateWindow(window[,dir,return])
Wie und wo Du etwas in XBMC findest kannst hier sehen:  http://wiki.xbmc.org/index.php?title=List_of_Built_In_Functions (http://wiki.xbmc.org/index.php?title=List_of_Built_In_Functions)

Kalle
for that you need to know the window ID.  If you are using an addon for radio, there might not be an ID at all.
Title: Re: Frage
Post by: WilliamT.Riker on January 08, 2012, 12:20:00 PM
where does the favorite come from?

here http://www.facebook.com/video/video.php?v=218880914863623&saved (http://www.facebook.com/video/video.php?v=218880914863623&saved)
Title: Re: Frage
Post by: jitterjames on January 08, 2012, 12:41:17 PM
Where do these "links to the radio station" come from?
Title: Re: Frage
Post by: jitterjames on January 08, 2012, 12:44:00 PM
also, can you please upload your file:   favourites.xml

It can be found in C:\Users\YOUR WINDOW USERNAME\AppData\Roaming\XBMC\userdata
Title: Re: Frage
Post by: WilliamT.Riker on January 08, 2012, 12:45:37 PM
from Addon Listenlive.eu
Title: Re: Frage
Post by: jitterjames on January 08, 2012, 12:57:09 PM
from Addon Listenlive.eu
please provide a link to the plugin so I can install it.
Title: Re: Frage
Post by: WilliamT.Riker on January 08, 2012, 12:58:54 PM
okay please moment
Title: Re: Frage
Post by: jitterjames on January 08, 2012, 01:09:55 PM
if you know the address of the actual stream you want to play you can call it directly like this:


XBMC.ExecBuiltin           PlayMedia(http://scfire-mtc-aa03.stream.aol.com:80/stream/1048)


and by looking at your favourites.xml I can see that this is one of your stations:

XBMC.ExecBuiltin           PlayMedia(http://play.104.6rtl.com/pls/rtl_air.pls)
Title: Re: Frage
Post by: WilliamT.Riker on January 08, 2012, 01:14:31 PM
okay I understand.
I like it most
thank you
Title: Re: Frage
Post by: jitterjames on January 08, 2012, 01:44:34 PM
You can create a list of different radio stations by name using payload.xml

If you make a list of addresses and station names like this:

http://play.104.6rtl.com/pls/rtl_air.pls         radio funk
http://play.101.2rtl.com/pls/rtl_air.pls         blues hits

etc.

send that to me and I will create a command for you using the payload xml.
Title: Re: Frage
Post by: WilliamT.Riker on January 08, 2012, 02:54:27 PM
Is that okay for you?
Here is the website for the radio stations http://www.listenlive.eu/germany.html (http://www.listenlive.eu/germany.html) (copy right click on Listen Live link and address)
You can create a test payload and then I complete them.

thank you

@James: the second file is for older MS-Excel like Excel97-2003
Title: Re: Frage
Post by: jitterjames on January 08, 2012, 04:02:01 PM
either excel format is ok for me.

The command only seems to work with .pls

In the case of m3u files, you can look inside them to see if they contain addresses that end with .pls
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 09, 2012, 12:13:38 PM
mir ist aufgefallen das man unter den Button Favoriten maximal nur 5 Sachen ablegen kann.Das heist wenn ich den Favoriten Ordner in Radio umbenenne passen da nur 5 Sender rein.Oder liege ich da falsch.

(https://voxcommando.com/forum/proxy.php?request=http%3A%2F%2Fs1.directupload.net%2Fimages%2F120109%2F89d3mbzt.jpg&hash=79fc31b8920b304337d344ab2f44c8ce118bcf3e)
Title: Re: Frage zu Radio im XBMC
Post by: jitterjames on January 09, 2012, 12:19:07 PM
change mq3 mode to pro or super
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 09, 2012, 01:09:07 PM
I do not know what you mean

sry
Title: Re: Frage zu Radio im XBMC
Post by: jitterjames on January 09, 2012, 01:25:29 PM
Look on this page:

http://forum.xbmc.org/showthread.php?t=107793

MAIN SKIN FUNCTIONS

- Customization Wizard: it helps with the skin pre-configuration, in a simple and explained way for any user.
- Lite, Normal, Pro and Super modes: simply choose what suits you better. Now the customization power of the main menu is usable in every mode.
- You can have up to 40 new menus and 200 submenus in all modes.

- PVR support.
- Rom Collection Browser, Advanced Launcher, programs, games and comics.


You can change the mode by going to settings >> skin >> General Options

*** This has nothing  to do with VoxCommando.  If you need help configuring skins for XBMC please look the XBMC forum for the appropriate skin.  All the information is there.  You can use a browser translator to convert the pages to German.
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 09, 2012, 01:36:22 PM
i understand

  MAIN SKIN FUNCTIONS        super
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 14, 2012, 08:21:17 AM
Hallo zusammen,

ich habe wieder einmal etwas probiert.Ich habe mir mit dieser Anleitung http://www.xbmcnerds.com/index.php?page=Thread&threadID=2498&pageNo=1 (http://www.xbmcnerds.com/index.php?page=Thread&threadID=2498&pageNo=1)
ein paar Plugins erstellt (Radiosender) .
Diese habe ich in XBMC integriert und sie funktionieren auch.Meine Frage wäre jetzt,da ja jedes Plugin was ich erstellt habe jetzt seine eigene ID hat müsste man sie ja direkt aufrufen können?
Wie muß der Befehl aussehen?
Hier mal die Liste meiner Radiostationen und die entspechenden ID s dazu.Vielleicht kann mir das jemand einen Test Befehl für diese Sender erstellen.
Und eine Frage noch was bedeuten die Klammern um ActivateWindows?
Ist das nur eine Erklärung was der Befehl bewirkt?
execbuiltin(ActivateWindow({1}))


<addon id="plugin.audio.Antenne Bayern Oldies but Goldies"
<addon id="plugin.audio.106!.8 Rock n POP"
<addon id="plugin.audio.Antenne Bayern"
<addon id="plugin.audio.Antenne Bayern 80er Kulthits"
<addon id="plugin.audio.BB Radio"
<addon id="plugin.audio.Berliner Rundfunk"
<addon id="plugin.audio.Country 108"
<addon id="plugin.audio.Energy Berlin"

Riker Ende


Title: Re: Frage zu Radio im XBMC
Post by: jitterjames on January 14, 2012, 08:47:08 AM
in VoxCommando you can use the XBMC.ExecBuiltin action

so you would write

XBMC.ExecBuiltin     ActivateWindow(...)

brackets are used to hold parameters in all programming langauges, scripts, etc.

You usually can't call ActivateWindow() to open a plugin.

you need to use something like this:
XBMC.ExecBuiltin      RunScript(plugin.video.youtube)
Title: Re: Frage zu Radio im XBMC
Post by: Kalle on January 14, 2012, 08:53:16 AM
Hallo zusammen,

ich habe wieder einmal etwas probiert.Ich habe mir mit dieser Anleitung http://www.xbmcnerds.com/index.php?page=Thread&threadID=2498&pageNo=1 (http://www.xbmcnerds.com/index.php?page=Thread&threadID=2498&pageNo=1)
ein paar Plugins erstellt (Radiosender) .
Diese habe ich in XBMC integriert und sie funktionieren auch.Meine Frage wäre jetzt,da ja jedes Plugin was ich erstellt habe jetzt seine eigene ID hat müsste man sie ja direkt aufrufen können?
Wie muß der Befehl aussehen?
Hier mal die Liste meiner Radiostationen und die entspechenden ID s dazu.Vielleicht kann mir das jemand einen Test Befehl für diese Sender erstellen.
Und eine Frage noch was bedeuten die Klammern um ActivateWindows?
Ist das nur eine Erklärung was der Befehl bewirkt?
execbuiltin(ActivateWindow({1}))


<addon id="plugin.audio.Antenne Bayern Oldies but Goldies"
<addon id="plugin.audio.106!.8 Rock n POP"
<addon id="plugin.audio.Antenne Bayern"
<addon id="plugin.audio.Antenne Bayern 80er Kulthits"
<addon id="plugin.audio.BB Radio"
<addon id="plugin.audio.Berliner Rundfunk"
<addon id="plugin.audio.Country 108"
<addon id="plugin.audio.Energy Berlin"

Riker Ende



Hi Dirk, Du hast Dir die Antwort fast selbst gegeben  ;)
Erstelle eine Payloadliste, in die Spalte "Value" tragst Du "plugin.audio.Antenne ....." ein und bei Phrases das was Du als "Sprachkommando" nutzen möchtest.
Richtig, RunScript({deine ID's "plugin.audio.Antenne Bayern Oldies but Goldies" bzw. Payload}) ist der auszuführende Befehl.

Gruß Kalle

Kalle

@James: You are a little bit faster  ;D
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 14, 2012, 09:21:53 AM
Danke super,

also hat die Doppelklammer keine besondere Bedeutung?

iich hab das jetzt so gemacht.

und als ich auf speichern gegangen bin kam dieses Fenster hier.



Title: Re: Frage zu Radio im XBMC
Post by: Kalle on January 14, 2012, 09:30:25 AM
Danke super,

also hat die Doppelklammer keine besondere Bedeutung?

iich hab das jetzt so gemacht.

und als ich auf speichern gegangen bin kam dieses Fenster hier.




Jo, so kannst Du das nicht machen  :bonk

so sollte es aussehen: XBMC.ExecBuilin    Parameter: RunScript({deine ID's "plugin.audio.Antenne Bayern Oldies but Goldies" bzw. Payload})

In Deinem payload muss die/der "Value" die plugin ID sein - "plugin.audio.Antenne....." Phrase: Das was VC als Befehl erkennen soll: Oldies blah blah blah usw.

teste es mal und sag uns ob es funktioniert

Kalle
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 14, 2012, 09:49:57 AM
nein das geht so nicht,vorausgesetzt ich habe das jetzt richtig gemacht. :bonk :bonk :bonk :bonk :bonk :bonk :bonk :bonk :bonk :bonk
Title: Re: Frage zu Radio im XBMC
Post by: Kalle on January 14, 2012, 09:58:56 AM
nein das geht so nicht,vorausgesetzt ich habe das jetzt richtig gemacht. :bonk :bonk :bonk :bonk :bonk :bonk :bonk :bonk :bonk :bonk

Ich probiere das ganze auch mal aus   :o
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 14, 2012, 10:07:38 AM
hier mal zwei Sender addons.
Die 2 zusammen gehörigen Dateien in einen Ordner kopieren der den Namen des Senders hat und diesen
Ordner dann einfach nach   C:\Users\bienefreaky\AppData\Roaming\XBMC\addons   kopieren und XBMC neustarten.

Title: Re: Frage zu Radio im XBMC
Post by: Kalle on January 14, 2012, 12:00:48 PM
hier mal zwei Sender addons.
Die 2 zusammen gehörigen Dateien in einen Ordner kopieren der den Namen des Senders hat und diesen
Ordner dann einfach nach   C:\Users\bienefreaky\AppData\Roaming\XBMC\addons   kopieren und XBMC neustarten.


Ok, ich habe es gelöst  :yay

Du musst dein "default.py" script ändern, dort wo "plugin.radio.RadioBob" steht musst Du deinen plugin-namen einsetzen "plugin.radio.antenneBlahBlahBlah" und im payload von VC muss als "value" auch dementsprechend der plugin-name stehen.

Kalle

PS: Ich gehe davon aus, das sich die Radio Favoriten im Hauptmenü von XBMC genauso ansprechen lassen, habe mich nie mit so etwas beschäftigt, aber wenn ich jetzt schon mal dabei bin ... ;)
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 14, 2012, 01:09:26 PM
Bei mir gehts irgend wie nicht.
Ich hab das wie folgt geändert.
Title: Re: Frage zu Radio im XBMC
Post by: Kalle on January 14, 2012, 01:15:22 PM
Bei mir gehts irgend wie nicht.
Ich hab das wie folgt geändert.

Ist auch ok so, jetzt noch den ordner des plugins in xbmc umbenennen "plugin.audio.deinsendername"
Die ganze Prozedur musst Du für alle Sender machen  ::yuck

Versuche bei den Sendernamen die punkte wegzulassen, könnte Probleme verursachen!
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 14, 2012, 01:32:04 PM
zeige mir mal bitte deine Befehlszeile
Title: Re: Frage zu Radio im XBMC
Post by: Kalle on January 14, 2012, 01:33:22 PM
zeige mir mal bitte deine Befehlszeile
Welche die im script oder die in VC?
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 14, 2012, 01:36:28 PM
habe jetzt die Punkte rausgenommen
Die Befehlszeile in VC
Title: Re: Frage zu Radio im XBMC
Post by: Kalle on January 14, 2012, 01:40:51 PM
habe jetzt die Punkte rausgenommen
Die Befehlszeile in VC
so sieht das ganze mit payload aus
Leerzeichen im Ordnernamen auch weglassen, nicht das es an so etwas liegt  ;)
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 14, 2012, 03:02:40 PM
also so müsste es gehen oder?
Title: Re: Frage zu Radio im XBMC
Post by: Kalle on January 14, 2012, 03:05:28 PM
also so müsste es gehen oder?
sieht gut aus, bei RTL mit den punkten weiß ich es nicht  aber der Rest sollte funktionieren.

Kalle
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 14, 2012, 03:15:20 PM
Ich habe es jetzt gerade ausprobiert.Die Befehle erkennt VC korrekt aber im XBMC rührt sich nix.
Title: Re: Frage zu Radio im XBMC
Post by: jitterjames on January 14, 2012, 03:47:55 PM
this works.

Code: [Select]
XBMC.ExecBuiltin      RunScript("plugin.audio.Antenne Bayern Oldies but Goldies")
because the payload {1} gets replaced by the value in your payloadXML file

the payload value should look like this:  
Code: [Select]
plugin.audio.Antenne Bayern Oldies but Goldiesand your action should look like this:  
Code: [Select]
XBMC.ExecBuiltin      RunScript("{1}")
of course it does not have to be this way...  If you want:

payload Value column:
Code: [Select]
RunScript("plugin.audio.Antenne Bayern Oldies but Goldies")and your action can be:  
Code: [Select]
XBMC.ExecBuiltin      {1}
Title: Re: Frage zu Radio im XBMC
Post by: WilliamT.Riker on January 14, 2012, 04:04:19 PM
okay,

okay, I found the error
in Addon.xml must write everything together
no spaces

that's right-------->>>><addon id="plugin.audio.104.6RTL"
this is wrong------>>>> <addon id="plugin.audio.104.6 RTL"

small error

Das Problem mit BB Radio liegt am Stream es ist ein ogg.m3u Stream
http://streams.01-ir-media-tec.com/bbradio.ogg.m3u
Title: Re: Frage
Post by: WilliamT.Riker on January 15, 2012, 02:21:04 PM
if you know the address of the actual stream you want to play you can call it directly like this:


XBMC.ExecBuiltin           PlayMedia(http://scfire-mtc-aa03.stream.aol.com:80/stream/1048)


and by looking at your favourites.xml I can see that this is one of your stations:

XBMC.ExecBuiltin           PlayMedia(http://play.104.6rtl.com/pls/rtl_air.pls)

I have tried it with this method.
All other work streams.
Only in this stream will stop XBMC.
Can you help me?
Title: Re: Frage
Post by: Kalle on January 15, 2012, 03:19:39 PM
I have tried it with this method.
All other work streams.
Only in this stream will stop XBMC.
Can you help me?
Hi Dirk, lass einfach die Endung ".m3u" weg, dann sollte es funktionieren

http://streams.01-ir-media-tec.com/bbradio.ogg (http://streams.01-ir-media-tec.com/bbradio.ogg)

lade diese Adresse mal in einem Browser, dort kannst Du überprüfen ob diese läuft.


Funktioniert in XBMC auch nicht, keine Ahnung warum nicht  ???

Gruß Kalle
Title: Re: Frage zu Radio im XBMC
Post by: jitterjames on January 15, 2012, 03:40:07 PM
there is probably a problem with the stream itself.
Title: Re: Frage zu Radio im XBMC
Post by: Kalle on January 15, 2012, 03:43:56 PM
there is probably a problem with the stream itself.
Thanks for the explanation  ::wave
Title: Re: Frage zu Radio im XBMC
Post by: jitterjames on January 15, 2012, 03:47:02 PM
it's just a theory  :biglaugh
Title: Re: Frage zu Radio im XBMC
Post by: Kalle on January 15, 2012, 03:53:59 PM
it's just a theory  :biglaugh
Even the "big bang", but probably  ::wiggle