musicScroll-0.3.4: Supply your tunes info without leaving your music player.
Safe HaskellSafe-Inferred
LanguageHaskell2010

MusicScroll.Pipeline

Synopsis

Documentation

data DBusSignal Source #

Instances

Instances details
Show DBusSignal Source # 
Instance details

Defined in MusicScroll.Pipeline

data AppState Source #

Constructors

AppState 

debugPS :: Show a => String -> Pipe a a IO () Source #

musicSpawn :: IO (Input TrackIdentifier, Input ErrorCause, Producer DBusSignal IO (), Output TrackIdentifier, Output ErrorCause) Source #

Use the Output Divisible instance to create a network. These are 1) An output for songs. 2) One for errors 3) A merge from the previous two. The last one is special as it's non-work-stealing, so we can pass it to multiple listeners and all will receive a signal. But we have to be careful of only taking a single value of it, as it basically a `TVar a`.