libmpd 0.9.0.3 → 0.9.0.4
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
libmpd.cabal view
@@ -1,5 +1,5 @@ Name: libmpd-Version: 0.9.0.3+Version: 0.9.0.4 Synopsis: An MPD client library. Description: A client library for MPD, the Music Player Daemon. Category: Network, Sound
src/Network/MPD/Applicative/Status.hs view
@@ -96,7 +96,7 @@ "nextsongid" -> int $ \x -> a { stNextSongID = Just $ Id x } "time" -> time $ \x -> a { stTime = Just x } "elapsed" -> frac $ \x -> a { stTime = fmap ((x,) . snd) (stTime a) }- "duration" -> num $ \x -> a { stTime = fmap ((,x) . fst) (stTime a) }+ "duration" -> frac $ \x -> a { stTime = fmap ((, round x) . fst) (stTime a) } "bitrate" -> int $ \x -> a { stBitrate = Just x } "xfade" -> num $ \x -> a { stXFadeWidth = x } "mixrampdb" -> frac $ \x -> a { stMixRampdB = x }