Yahor Berdnikau
ba412721ac
Add stream call.
...
Also introduced helper method in SubsonicApiClient that handles error
cases.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-05 22:21:25 +01:00
Yahor Berdnikau
48e6788224
Add method to get cover art.
...
As this call should return byte stream: I've introduced helper method
in client to do the actual call and parse possible json error response.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-10-17 21:48:37 +02:00
Yahor Berdnikau
8e895685fc
Add method to map string type to AlbumListType enum.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-09-14 22:32:24 +02:00
Yahor Berdnikau
317ccd2ed8
Fix detekt issues.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 22:23:25 +02:00
Yahor Berdnikau
cfa90e0a8d
Switched to using Jackson for json parsing.
...
Also changed how response is parsed, allowing base response has different models to parse.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-19 17:02:47 +02:00
Yahor Berdnikau
0dd01d18ba
Base implementation of Subsonic API in Kotlin.
2017-07-19 17:02:47 +02:00