Yahor Berdnikau
2d3316964a
Add ktlint check.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-29 22:31:33 +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
4dec26de9c
Generify check error response.
...
This will help easier to test each method error response.
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
Yahor Berdnikau
292490be7d
Update gradle to 3.4
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-19 17:02:47 +02:00