Yahor Berdnikau
f583006ad6
Merge pull request #70 from ultrasonic/add-get-bookmarks
...
Add get bookmarks
2017-11-18 21:39:37 +01:00
Yahor Berdnikau
59ff48860a
Use new api getBookmarks() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 21:37:11 +01:00
Yahor Berdnikau
6b2a682646
Add helper functions to convert api Bookmark entity to domain entity.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 21:34:03 +01:00
Yahor Berdnikau
0cc0bbedaf
Add getBookmarks() api call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 21:33:02 +01:00
Yahor Berdnikau
b4e18f9bfb
Merge pull request #69 from ultrasonic/add-chat-message
...
Add chat message
2017-11-16 22:25:26 +01:00
Yahor Berdnikau
4d2d7b9318
Use new api addChatMessage() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 22:20:25 +01:00
Yahor Berdnikau
c618538b14
Add addChatMessage() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 22:18:13 +01:00
Yahor Berdnikau
87a28990d7
Merge pull request #68 from ultrasonic/update-ktlint
...
Update ktlint to 0.12.1 version.
2017-11-16 22:07:51 +01:00
Yahor Berdnikau
c917bcb1a6
Update ktlint to 0.12.1 version.
...
Also updated ktlint-gradle to 2.3.0 version. Added ktlint reports to
circle CI.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 22:04:38 +01:00
Yahor Berdnikau
7c3d19b048
Merge pull request #67 from ultrasonic/update-detekt
...
Update detekt to 1.0.0.RC5-4 version.
2017-11-16 21:55:16 +01:00
Yahor Berdnikau
f7b1140b2c
Update detekt to 1.0.0.RC5-4 version.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:49:53 +01:00
Yahor Berdnikau
2cfca3ff26
Merge pull request #66 from ultrasonic/update-gradle
...
Update gradle wrapper to 4.3.1 version.
2017-11-16 21:43:43 +01:00
Yahor Berdnikau
deb734c8e5
Update gradle wrapper to 4.3.1 version.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:40:35 +01:00
Yahor Berdnikau
52f63cb2b9
Merge pull request #65 from ultrasonic/add-get-chat-messages
...
Add get chat messages
2017-11-16 21:36:55 +01:00
Yahor Berdnikau
b6f9c733bc
Delete unused ChatMessageParser.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:34:22 +01:00
Yahor Berdnikau
74bf89ef26
Use new api getChatMessages() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:33:04 +01:00
Yahor Berdnikau
6c1039126e
Add converter function for ChatMessage entity to domain entity.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:32:36 +01:00
Yahor Berdnikau
9cecebb314
Add getChatMessages() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 21:19:24 +01:00
Yahor Berdnikau
f1639bab48
Delete unused parser.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-15 22:05:52 +01:00
Yahor Berdnikau
59609c5125
Merge pull request #64 from ultrasonic/add-get-user
...
Add get user
2017-11-15 22:02:18 +01:00
Yahor Berdnikau
e537b7ae1b
Use new api getUser() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-15 21:59:49 +01:00
Yahor Berdnikau
2402ed6a50
Add converter from api User entity to domain entity.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-15 21:56:01 +01:00
Yahor Berdnikau
6b74a3e563
Add getUser api call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-14 22:46:51 +01:00
Yahor Berdnikau
69f68460de
Merge pull request #63 from ultrasonic/update-kotlin
...
Update kotlin to 1.1.60 version.
2017-11-14 22:27:31 +01:00
Yahor Berdnikau
1fbcddc233
Update kotlin to 1.1.60 version.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-14 22:23:18 +01:00
Yahor Berdnikau
200a61fedc
Merge pull request #62 from ultrasonic/add-get-songs-by-genre
...
Add get songs by genre
2017-11-14 22:17:01 +01:00
Yahor Berdnikau
3b91f41cbe
Use new api getSongsByGenre call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-14 22:12:23 +01:00
Yahor Berdnikau
5ea9eb7818
Increase default read timeout to 60 sec.
...
Default Okhttp read timeout is 10 sec, and as subsonic servers may be
not fast, better to increase timeout.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-14 22:11:03 +01:00
Yahor Berdnikau
10e25e8597
Add getSongsByGenre api call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-14 21:57:28 +01:00
Yahor Berdnikau
457181e074
Merge pull request #61 from ultrasonic/add-get-genres
...
Add get genres
2017-11-12 00:06:33 +01:00
Yahor Berdnikau
579accb06c
Use new api getGenres call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-12 00:00:42 +01:00
Yahor Berdnikau
d693971baf
Add helper functions to convert api Genre to domain entity.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-12 00:00:28 +01:00
Yahor Berdnikau
1502c4c9c8
Add getGenres app call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-12 00:00:11 +01:00
Yahor Berdnikau
1907668c64
Merge pull request #60 from ultrasonic/add-create-share
...
Add create share
2017-11-11 20:36:06 +01:00
Yahor Berdnikau
c6c640f0cf
Use new api createShare call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-11 20:31:20 +01:00
Yahor Berdnikau
1012e41620
Add createShare api call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-11 20:31:20 +01:00
Yahor Berdnikau
b4145a216a
Merge pull request #59 from ultrasonic/add-get-shares
...
Add get shares
2017-11-10 22:01:50 +01:00
Yahor Berdnikau
04df5b20da
Use new api getShares call in RESTMusicService.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-10 22:00:10 +01:00
Yahor Berdnikau
3bbd1fb16b
Add methods to convert api share entity to domain entity.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-10 22:00:10 +01:00
Yahor Berdnikau
d5cdc18174
Add getShares call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-10 21:15:36 +01:00
Yahor Berdnikau
6e05dc7c40
Merge pull request #58 from ultrasonic/add-update-jukebox
...
Add update jukebox
2017-11-07 22:17:25 +01:00
Yahor Berdnikau
db73978596
Use new subsonic api jukebox control method.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-07 22:03:52 +01:00
Yahor Berdnikau
17aaa0f87f
Add JukeboxStatus converter to domain entity.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-07 21:57:43 +01:00
Yahor Berdnikau
947a1ce3b5
Add jukebox control call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-07 21:26:44 +01:00
Yahor Berdnikau
84e59a3581
Merge pull request #57 from ultrasonic/add-get-download-stream
...
Add get download stream
2017-11-05 22:25:00 +01:00
Yahor Berdnikau
3e2529bd25
Use new subsonic api stream call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-05 22:21:25 +01:00
Yahor Berdnikau
ba412721ac
Add stream call.
...
Also introduced helper method in SubsonicApiClient that handles error
cases.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-05 22:21:25 +01:00
Yahor Berdnikau
c8c8766b55
Increase read timeout.
...
When range interceptor modifies request it also increases read timeout,
that allows server to do transcoding of the response and skip bytes
to offset value.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-05 22:21:25 +01:00
Yahor Berdnikau
72333f245f
Add Range header modifier.
...
Add interceptor that modifies call "Range" header. It changes header
value to "bytes=value-".
2017-11-05 18:44:31 +01:00
Yahor Berdnikau
be75511bb7
Update okhttp to 3.9.0 version.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-10-19 22:27:45 +02:00