I am brand new to XOJO and trying to determine how to go about writing an app (to eventually be used on a Raspberry Pi) which downloads an MP3 file from a specific URL (in the form of http://www.myserver.com/podcast/myaudiofile.mp3) and then later (at a specific time/date and without any user intervention) plays that file. The Web AudioPlayer in the Examples folder nearly does what I need and would provide a great start to get me up and running quickly, but there is no “Play” property for this control so I cannot seem to commence playback under program control.
I am thinking that I may need to do this in two steps: 1: Download the mp3 file and save it to disk; then 2: Sit in a loop until the right time to begin playback then point the player at the saved MP3 file.
If anyone can offer any suggestions or advise on how to proceed this I’d be most obliged.
Incidentally, how DO you pronounce XOJO ?
Many thanks,
Ralph, (Melbourne/AUS)
EDIT: I should add that I am only using the trial version of XOJO at this stage.