Commit Graph

690 Commits

Author SHA1 Message Date
Yahor Berdnikau 47012c7909 Use same approach to all integration tests.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-29 22:25:29 +02:00
Yahor Berdnikau 961fccde4e Merge pull request #37 from ultrasonic/add-get-playlist
Add getPlaylist call to subsonic api.
2017-08-27 22:40:55 +02:00
Yahor Berdnikau de0b57f9b8 Use new subsonic api getPlaylist() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-27 22:36:37 +02:00
Yahor Berdnikau b8b53dc81d Add converting Playlist to MusicDirectoryDomainEntity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-27 22:31:33 +02:00
Yahor Berdnikau b73cc0f816 Add getPlaylist call to subsonic api.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-27 22:12:23 +02:00
Yahor Berdnikau 35e74a758e Merge pull request #36 from ultrasonic/add-search3
Add new search3 api call.
2017-08-27 13:00:11 +02:00
Yahor Berdnikau a65fbef3be Use new subsonic api search3 call in RESTMusicService.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-27 12:54:21 +02:00
Yahor Berdnikau 0f7a3cdf30 Add converting SearchThreeResult to domain entity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-27 12:51:50 +02:00
Yahor Berdnikau d97590b346 Add new search3 api call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-27 11:39:38 +02:00
Yahor Berdnikau 9ce47c3be0 Merge pull request #35 from ultrasonic/add-search2
Add search2
2017-08-25 22:33:38 +02:00
Yahor Berdnikau 6649ba806b Use new subsonic api search2 call in RestMusicService.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-25 22:29:30 +02:00
Yahor Berdnikau e730347985 Add converting function from SearchTwoResult to domain SearchResult.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-25 21:57:23 +02:00
Yahor Berdnikau dd115757b6 Add search2 api request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-25 21:32:36 +02:00
Yahor Berdnikau 9bf0176984 Add function to assert right request param.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-25 21:31:57 +02:00
Yahor Berdnikau 1d35d0c23c Merge pull request #34 from ultrasonic/add-old-search
Add old search
2017-08-24 22:14:15 +02:00
Yahor Berdnikau 383b05e4dc Use new api method for search call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-24 22:04:53 +02:00
Yahor Berdnikau 6bfd091b6b Add function that converts SearchResult to domain entity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-24 22:04:53 +02:00
Yahor Berdnikau e71d8a09af Increase allowed functions count in detekt config.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-24 22:04:53 +02:00
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