com.blackledge.david.tivo.multitasker.plugins
Class XMPortalAudio
java.lang.Object
com.blackledge.david.tivo.multitasker.plugins.XMPortalAudio
- All Implemented Interfaces:
- Audio
public class XMPortalAudio
- extends Object
- implements Audio
FIXME not implemented fully
Get Audio from backend XM provider. Based on xmportal.pl by Watty. Get audio
from the XM back end socket by Watty (
http://www.watty.com/myprograms/hmesatradio ).
- Version:
- $Revision: 1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMPortalAudio
public XMPortalAudio()
getNextAudioStream
public String getNextAudioStream()
- Description copied from interface:
Audio
- Provides the next Audio Stream to play. Use a URL of the form
app.getContext().getBaseURI().toString()+"local/"+myFilePath To play
a file local to the current computer, where myFilePath is relative to the
local file root defined in options.
- Specified by:
getNextAudioStream
in interface Audio
- Returns:
- a URL string that will provide an mp3 stream.
init
public void init(MultiTaskerApplication app)
- Specified by:
init
in interface Audio