Yahor Berdnikau
23fd3b03fb
Increase API log level to full.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-11 20:48:55 +02:00
Yahor Berdnikau
fff47280a3
Merge pull request #22 from ultrasonic/add-coverage-badge
...
CI: Add uploading coverge report to codecov.io.
2017-08-11 20:00:33 +02:00
Yahor Berdnikau
0e39549ad4
Add codecov badge to README.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-11 19:57:57 +02:00
Yahor Berdnikau
bf15324594
CI: Add uploading coverge report to codecov.io.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-11 19:46:43 +02:00
Yahor Berdnikau
5bdf31966f
Merge pull request #21 from ultrasonic/add-code-coverage
...
Add code coverage
2017-08-10 19:24:49 +02:00
Yahor Berdnikau
5ab988f625
Update CI unit test job to generate full coverage report.
2017-08-09 22:25:43 +02:00
Yahor Berdnikau
76c61409a4
Added code coverage.
...
Only show kotlin code coverage.
2017-08-09 21:56:20 +02:00
Yahor Berdnikau
f6113ae0dc
Merge pull request #20 from ultrasonic/add-lint
...
Add lint
2017-08-06 22:59:01 +02:00
Yahor Berdnikau
e9d244320a
Limit building only support locales.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-06 22:56:28 +02:00
Yahor Berdnikau
e7953a10e0
CI: added lint task.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-06 22:56:28 +02:00
Yahor Berdnikau
438af4de7e
Add generated lint baseline files.
...
This disables lint warnings for already existing issues, but it will work for a new issues.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-06 22:56:28 +02:00
Yahor Berdnikau
7cb01ae571
Merge pull request #19 from ultrasonic/gradle-wrapper
...
Update gradle to 3.5 version.
2017-07-30 23:07:33 +02:00
Yahor Berdnikau
8d09f8ff49
Update gradle to 3.5 version.
...
Also added a task to update wrapper version through gradle run.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 22:50:12 +02:00
Yahor Berdnikau
ba265b1bbe
Merge pull request #18 from ultrasonic/add-detekt
...
Add detekt
2017-07-30 22:29:45 +02:00
Yahor Berdnikau
5227897580
Add detekt job to CI config.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 22:26:47 +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
07c2bfaeaf
Add detekt - static code analysis tool for Kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 22:22:13 +02:00
Yahor Berdnikau
61de665997
Merge pull request #15 from ultrasonic/add-circle-ci
...
Add CircleCI config.
2017-07-30 16:16:00 +02:00
Yahor Berdnikau
4b4fb1806f
Add CircleCI build badge.
...
Currently it is showing status for develop branch.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 16:14:40 +02:00
Yahor Berdnikau
d97b7de6e2
Add CircleCI config.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 15:40:47 +02:00
Yahor Berdnikau
f1041d247d
Merge pull request #14 from ultrasonic/add-ktlint
...
Add ktlint
2017-07-29 23:05:52 +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
2d3316964a
Add ktlint check.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-29 22:31:33 +02:00
Yahor Berdnikau
343d6fc4d7
Merge pull request #13 from ultrasonic/remove-unused-methods
...
Remove unused methods from MusicService.
2017-07-29 21:48:39 +02:00
Yahor Berdnikau
4f42301752
Remove unused methods from MusicService.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-29 10:32:13 +02:00
Yahor Berdnikau
4d2a8a16bb
Merge pull request #11 from ultrasonic/feature-9
...
Add initial usage of new Subsonic API implementation in RESTMusicService
2017-07-27 09:37:47 +02:00
Yahor Berdnikau
7a5035e725
Reset MusicService when user changes active server.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-27 08:16:33 +02:00
Yahor Berdnikau
ce90d5a3e9
Use different messages in progress listener.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:58:16 +02:00
Yahor Berdnikau
987ed9faf6
Remove unused MusicFolderParser.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:56:47 +02:00
Yahor Berdnikau
a8ab61ec3b
Remove unused LicenseParser.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:54:56 +02:00
Yahor Berdnikau
4fd5493d15
Use getMusicFolders() method from SubsonicAPI kotlin implementation.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:04:20 +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
67601262de
Use getLicense() method from Subsonic API kotlin implementation.
...
Replace in RESTMusicService isLicenseValid() method body to use new kotlin subsonic API.
2017-07-25 22:31:49 +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
1caeaa9fe6
Add using new api for ping call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-24 22:41:26 +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
24d68fcf3c
Revert back to compile api 22.
...
Some used classes are missing in the newest sdk like FloatMath and apache http client.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-22 22:19:38 +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
Óscar García Amor
eeacc79493
Fixed format of both pt translations
2017-07-18 09:30:03 +02:00
Óscar García Amor
0a4d9d47e6
Updated version to 1.8
2017-07-12 15:49:09 +02:00
Óscar García Amor
1afeafe1c6
Merge pull request #4 from inkognito13/defect/offline-mode-fix
...
Not add track number prefix to filename if its already added
2017-07-12 15:03:56 +02:00