Network.XMMS.Playback
- data SeekMode
- tickle :: Connection -> IO Result
- stop :: Connection -> IO Result
- pause :: Connection -> IO Result
- start :: Connection -> IO Result
- seekmsAbs :: Connection -> Int -> IO Result
- seekmsRel :: Connection -> Int -> IO Result
- seekms :: Connection -> Int -> SeekMode -> IO Result
- seekSamplesAbs :: Connection -> Int -> IO Result
- seekSamplesRel :: Connection -> Int -> IO Result
- seekSamples :: Connection -> Int -> SeekMode -> IO Result
- broadcastStatus :: Connection -> IO Result
- status :: Connection -> IO Result
- broadcastCurrentID :: Connection -> IO Result
- currentID :: Connection -> IO Result
- signalPlaytime :: Connection -> IO Result
- playtime :: Connection -> IO Result
- volumeGet :: Connection -> IO Result
- volumeSet :: Connection -> String -> Int -> IO Result
- broadcastVolumeChanged :: Connection -> IO Result
Documentation
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.
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.
volumeGet :: Connection -> IO ResultSource