Changelog for mpd-current-json-2.0.0.1
v2.0.0.1
- Fix internal use of function unsupported in
baseversion <4.19. - Add
-O2compilation flag to cabal file that benefits from v2.0 refactor.
v2.0
- Major code rewrite.
- Add command-line flags:
-n: is an alias for--next-nn: is an alias for--next-only--next: Include information about the next queued song in the output JSON.--next-only: Print only the next queued song's information, replacing thetagsobject.
- Add support for multi-value tags such as multiple artists. If a tag contains multiple values it should be displayed as an array in the output json.
- Major performance increase.
v1.5.0.1
- Fix
next_filenameto display correct filename URI.- It was using Id instead of Position. Position is a 0-indexed number, Id is 1-indexed and it was returning one song after the intended one in the playlist. Oops.
v1.5
- Add json keys
volume: Integer for volume percentagecrossfade: Integer seconds of crossfasemixramp_db: Decibels for MixRamp, can use float (decimals) numbermixramp_delay: Seconds of delay for MixRamp, can use float numberupdating_db: Returnstruewhen updading, not present otherwise
- More code refactoring, prepping for v2 for more abstractions :p
v1.4.0
- Add "
next_filename" for getting next song file URI relative to the music library.
v1.3.2
- Add "
next_position", "id" and "next_id" keys toplaylist.
v1.3.1
- Move helper function
objectJsonto lib
v1.3
- Add
filenamekey. - Add
playlistkey and move existing keys to it. - Customize ordering of displayed output JSON.
- Add cabal tested-with GHC versions
v1.2.0.0
- Move literate Org Mode code to LITERATE.org file
- Move functions from executable source Main.hs to their own library
- Bump dependency versions for
aesonandbytestring - Changed status.state from "play" to "playing" and "pause" to "paused". The reason why it was "play" and "pause" before was because that was the socket answer string.
v1.1.0.2
- Fixed cabal
build-dependsversion bounds for Arch Linux dynamic building.
v1.1.0.1
- Added haddock comments
- Addressed
cabal checkwarnings; - setup for uploading as a Hackage package.
v1.1.0.0
- Remove
-hfrom--helpand use-hfor--host - Make
--helpoption hidden in the help message
v1.0.0.0
Initial working version
- Added conditional tags printing, only non-empty values are printed
- Accept host, port and password
- Nested json objects for
statusandtags - Added
elapsed_percentkey shortcut forelapsed / duration * 100
v0.0.1.0
- initial connection and parsing values
- First version. Released on an unsuspecting world.