Sorry - I'll try again.

Its so simple, hardly worth making a project.

I'm using get_iplayer in a Gambas project to download past BBC radio
programmes.

It's working fine.  To listen to the programme, this is the code -
get_iplayer --stream 13142 | mplayer -cache 3072 -, where 13142 is the
programme's index in get_iplayer.

I can start the programme but can't stop it.

Anyway, here's a small project

Bill


PUBLIC hProc AS Process

PUBLIC SUB btnPlay_Click()
     hProc = SHELL ("get_iplayer --stream 13280 | mplayer -cache 3072 -")
FOR WRITE 
END

PUBLIC SUB btnStop_Click()
     IF hProc THEN hProc.Kill
END


-- 
View this message in context: 
http://old.nabble.com/help-with-EXEC-usage-tp31208112p31226463.html
Sent from the gambas-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to