[Gambas-user] Online radio with "Shell"
Tobias Boege
taboege at ...626...
Sun Dec 1 21:55:39 CET 2013
On Sun, 01 Dec 2013, abbat81 wrote:
> Hi!
> Help me please.
> I want to make some small GUI app for online radio using "Shell"
> Here is sample string for terminal.
>
>
> *"mplayer -cache 128 http://music.myradio.ua/trance_news128.mp3"*
>
>
> How can I use it?
>
> Hext does not work:
>
> *Public Sub Form_Open()
> Dim a As String
> Shell "mplayer -cache 128 http://music.myradio.ua/trance_news128.mp3" To a
> Print a
> End*
>
> Thanks
We did a GUI for mplayer to play webradio. Sadly it is not online yet and
the code needs a serious cleanup. See I don't want to send it to you
prematurely - also because Hans wrote the most part of it.
As a hint, look at mplayer's -slave switch. Then you can control it by
sending commands
Print #$hMPlayer, sCommand
Regards,
Tobi
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
More information about the User
mailing list