XMMS-0.1.1: XMMS2 client library.

Network.XMMS.Playback

Synopsis

Documentation

data SeekMode Source

Constructors

SeekCur 
SeekSet 

tickle :: Connection -> IO ResultSource

Stop decoding of current song. Usefull to implement things like next, prev etc

stop :: Connection -> IO ResultSource

Stops the current playback.

pause :: Connection -> IO ResultSource

Pause the current playback, will tell the output to not read nor write.

start :: Connection -> IO ResultSource

Starts playback if server is idle.

seekmsAbs :: Connection -> Int -> IO ResultSource

Seek to an absolute time in the current playback.

seekmsRel :: Connection -> Int -> IO ResultSource

Seek to a time relative to the current position in the current playback.

seekms :: Connection -> Int -> SeekMode -> IO ResultSource

Seek to a position given in milliseconds in the current playback.

seekSamplesAbs :: Connection -> Int -> IO ResultSource

Seek to a absoulte number of samples in the current playback.

seekSamplesRel :: Connection -> Int -> IO ResultSource

Seek to a number of samples relative to the current position in the current playback.

seekSamples :: Connection -> Int -> SeekMode -> IO ResultSource

Seek to a position given in samples in the current playback.

broadcastStatus :: Connection -> IO ResultSource

Requests the playback status broadcast.

status :: Connection -> IO ResultSource

Make server emit the playback status.

broadcastCurrentID :: Connection -> IO ResultSource

Request the current id broadcast.

currentID :: Connection -> IO ResultSource

Make server emit the current id.

signalPlaytime :: Connection -> IO ResultSource

Request the playback_playtime signal.

playtime :: Connection -> IO ResultSource

Make server emit the current playtime.