Commit Graph

472 Commits

Author SHA1 Message Date
Yahor Berdnikau 5a20082938 Add search api call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-24 22:04:53 +02:00
Yahor Berdnikau b6e96f6310 Merge pull request #33 from ultrasonic/update-gradle
Update gradle
2017-08-22 20:17:26 +02:00
Yahor Berdnikau bb4de9d065 Migrate subsonic api module to new gradle dependencies system.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-21 22:08:42 +02:00
Yahor Berdnikau a1e59efceb Update gradle to 4.1 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-21 21:47:22 +02:00
Yahor Berdnikau 5490a98ecb Merge pull request #32 from ultrasonic/use-new-get-album
Use new get album
2017-08-21 21:32:32 +02:00
Yahor Berdnikau 2d8d98696c Use new getAlbum() subsonic api call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-21 21:29:09 +02:00
Yahor Berdnikau 03fbf3dbfe Add mapping from subsonic api album entity to MusicDirectory domain entity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-21 21:27:39 +02:00
Yahor Berdnikau 6c0f43b2ff Add getAlbum api call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 22:04:41 +02:00
Yahor Berdnikau 1ede4f73c8 Merge pull request #31 from ultrasonic/fix-cover-art
Change cover art to be a string.
2017-08-20 21:15:36 +02:00
Yahor Berdnikau 8899260977 Change cover art to be a string.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 21:14:09 +02:00
Yahor Berdnikau 8b32b58ae9 Merge pull request #30 from ultrasonic/use-get-artist
Use get artist
2017-08-20 21:02:59 +02:00
Yahor Berdnikau a2a0c7ac62 Use new api getArtist call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 21:01:22 +02:00
Yahor Berdnikau 8c483e1f4a Add converting album api entity to domain entity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 21:01:22 +02:00
Yahor Berdnikau f4680ffeac Add getArtist request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 19:45:42 +02:00
Yahor Berdnikau c27bed2422 Merge pull request #29 from ultrasonic/use-get-music-directory
Use get music directory
2017-08-20 15:13:44 +02:00
Yahor Berdnikau ab7f39e667 Use new api call to get music directory.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 15:10:34 +02:00
Yahor Berdnikau 768616d14a Add converter from api MusicDirectory to domain MusicDirectory.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 15:10:34 +02:00
Yahor Berdnikau f54ecd29fb Update kotlin to 1.1.4-2 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 15:10:34 +02:00
Yahor Berdnikau 0920cc94a8 Use default values for getMusicDirectory response.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 15:10:34 +02:00
Yahor Berdnikau decf680076 Merge pull request #28 from ultrasonic/add-unstar-request
#9: Add unstar request
2017-08-17 23:10:43 +02:00
Yahor Berdnikau 23ee01d0f5 Use new subsonic api unstar call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 23:06:15 +02:00
Yahor Berdnikau 34b49f67a2 Add unstar request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 23:00:51 +02:00
Yahor Berdnikau 0563c39cdc Merge pull request #27 from ultrasonic/add-star-request
Add star request
2017-08-17 22:42:56 +02:00
Yahor Berdnikau 40e2dd4d8c Fix missing progress listener for getArtists call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 22:39:12 +02:00
Yahor Berdnikau 864488510c Use new subsonic api star request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 22:38:23 +02:00
Yahor Berdnikau fdd9540f75 Add star request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 22:06:20 +02:00
Yahor Berdnikau 67718a3095 Merge pull request #26 from ultrasonic/refactor-integration-tests
Refactor integration tests
2017-08-16 21:40:44 +02:00
Yahor Berdnikau b3dde1938f Split Subsonic API integration test into a smaller classes.
It will be easier to maintain and add new tests.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 21:37:58 +02:00
Yahor Berdnikau 2b484ad667 Update kotlin to 1.1.4 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 21:00:57 +02:00
Yahor Berdnikau 6b8d953751 Merge pull request #25 from ultrasonic/use-get-artists
Use getArtists new api implementation call
2017-08-16 07:42:51 +02:00
Yahor Berdnikau 61006cdfd1 Use new api getArtists() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 06:59:25 +02:00
Yahor Berdnikau 84198d38c8 Add getArtists call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 06:59:25 +02:00
Yahor Berdnikau b9f885b521 Merge pull request #24 from ultrasonic/add-checkstyle-badge
Add codestyle badge to project README.
2017-08-15 13:09:13 +02:00
Yahor Berdnikau 8d34ea89da Add codestyle badge to project README.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-15 13:08:15 +02:00
Yahor Berdnikau 4645546d86 Merge pull request #23 from ultrasonic/use-get-indexes
Use get indexes
2017-08-12 21:33:05 +02:00
Yahor Berdnikau 13cf2cd8bf Add parsing shortcuts info.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 21:19:46 +02:00
Yahor Berdnikau b02df33b9c Use new subsonic api method for getIndexes().
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 20:24:41 +02:00
Yahor Berdnikau b57a425e9d Implement converting Indexes Subsonic api entity to domain entity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 20:19:27 +02:00
Yahor Berdnikau d66556e307 Update kotlin to 1.1.3-2 version.
Also have to update jackson to 2.9.0 that uses the same kotlin version.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 20:17:32 +02:00
Yahor Berdnikau 3c4f91efef Change to extension functions in api converter.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 10:11:14 +02:00
Yahor Berdnikau 437877750c Make models for getIndexes have default values.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-11 21:01:02 +02:00
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