- Added
MpdSong.track
field
- Added automatically escaping & wrapping arguments in double quotation marks in client calls
- This is a breaking change and requires any manually wrapped arguments and escaped characters to be updated (Remove wrapping quotes and escaping backslashes from client calls)
- Fixed
getvol
threw an exception when there was no mixer- Returns
null
now
- Returns
- Fixed incoming mpd message sometimes got parsed incorrectly, causing responses to be associated with the wrong request
- Fixed values containing a
:
got parsed incorrectly
- Added fields for all possible tags in
MpdSong
- E.g. you can now use
MpdSong.artist
instead ofMpdSong.tags['Artist']
.
- E.g. you can now use
- Added
MpdClient.onSend
callback- Called with the event that is sent to MPD
- Fixed multiple values for a tag in a song didn't get parsed correctly
- Fixed
readpicture
threw an exception when the current song had no picture- Returns
null
now
- Returns
- Removed
MpdValue
union type in favor of aList<String>
to store the values of a key inMpdResponse
- Upgraded to dart 3
- Updated parsing multiple values for one key is now returned as a
List<String>
instead of a concatenatedString
- Removed pre-parsed tags in
MpdSong
- Use
MpdSong.tags
instead
- Use
- Fixed
currentsong
now returnsnull
when no value is returned - Fixed
move
andmoveid
parameters didn't support relative position - Fixed when sending multiple requests in a quick succession the data was not framed into proper messages, causing the responses to get mixed up
- Fixed connection didn't lookup host when not using unix socket files
- Fixed playid command
- Updated pub description
- Initial version.