Commit Graph

5 Commits

Author SHA1 Message Date
Yahor Berdnikau 3e1dbe3476 Fix api error parses always in generic error.
Now it parses to right error representation. Also fix that right
exception for error is not thrown on api call.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-13 10:19:42 +01: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 3907d10950 Fix ktLint issues.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-29 22:52:02 +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