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

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to