Commit Graph

63 Commits

Author SHA1 Message Date
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 9ed0921218 Make MusicFolder has default values.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:02:35 +02:00
Yahor Berdnikau 0d3c0f0334 Add missing fields to License entity.
Add email and licenseExpires fields. Make all fields have default value,
this allows to make license field in LicenseResponse non-null.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-25 22:23:55 +02:00
Yahor Berdnikau f054fae2aa Add missing 1.15.0 subsonic api version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-24 22:38:57 +02:00
Yahor Berdnikau 24b85a1647 Fix base url is not have rest endpoint part.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-24 22:35:59 +02:00
Yahor Berdnikau f1ab0a3e0c Add using new authentication method since 1.13.0.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-23 20:03:25 +02:00
Yahor Berdnikau 20d95ce19d Add optional logging to SubsonicAPI.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-22 22:49:26 +02:00
Yahor Berdnikau 81dcbb0044 Adds get music directory response/request handling. 2017-07-19 17:02:47 +02:00
Yahor Berdnikau f686ebfb16 Update kotlin and android dependencies. 2017-07-19 17:02:47 +02:00
Yahor Berdnikau 429f302f7e Add getMusicFolders api request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-19 17:02:47 +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