Yahor Berdnikau
9cb6a5c4e9
Change PodcastChannel id type to String.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 20:51:07 +01:00
Yahor Berdnikau
434d07c4a3
Change Playlist id type to String.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 20:47:00 +01:00
Yahor Berdnikau
e62e5c553c
Change MusicDirectory ids type to String.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 20:43:39 +01:00
Yahor Berdnikau
f2d838cb1c
Change album ids type to String.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 20:10:25 +01:00
Yahor Berdnikau
a694f895e9
Change artist id type to String.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 19:50:57 +01:00
Yahor Berdnikau
66d7973c5a
Replace type of id property to String.
...
Some api implementations are using UUID string for ids.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-12 21:08:49 +01:00
Yahor Berdnikau
46cf8a71c2
Merge pull request #88 from ultrasonic/update-readme
...
Update project README
2017-12-10 13:52:59 +01:00
Yahor Berdnikau
7790e3bca9
Update project README
...
This reflects changes in the project status. Added Contributing guide and
rewrite new issue template.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-10 13:44:52 +01:00
Yahor Berdnikau
0516ebcc20
Merge pull request #87 from ultrasonic/api-versions-check
...
Api versions check
2017-12-10 10:54:12 +01:00
Yahor Berdnikau
3fddef0ec5
Check call if it supported by current server version.
...
Add a api wrapper that checks if current protocol version is supported
for this call and fail fast if not.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-10 10:48:41 +01:00
Yahor Berdnikau
336f505ba5
Replace ServerTooOldException with more proper ApiNotSupportedException.
2017-12-03 14:14:01 +01:00
Yahor Berdnikau
491d8423c4
Merge pull request #86 from ultrasonic/handle-server-versions
...
Adapt client to server version
2017-12-02 21:58:37 +01:00
Yahor Berdnikau
d384bcc3c5
Update dynamically client version.
...
Now subsonic api client will update dynamically to the supported server
api version when it doing the requests.
2017-12-02 21:51:26 +01:00
Yahor Berdnikau
e838750ee2
Add proxy password interceptor.
...
It passes request chain either to hex password interceptor or
to md5+salt interceptor depending on current protocol version.
2017-12-02 21:51:26 +01:00
Yahor Berdnikau
0c5ac61402
Add 1.16.0 subsonic version.
2017-12-02 21:51:26 +01:00
Yahor Berdnikau
c76d25e1ba
Add version interceptor.
...
This interceptor add version param to request and peeks into response
to parse server version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-02 21:51:26 +01:00
Yahor Berdnikau
1c56d6459b
Fix subsonic accepts only lowercase md5 password hash.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-02 11:48:23 +01:00
Yahor Berdnikau
0deed54a9e
Merge pull request #82 from ultrasonic/introduce-auth-interceptors
...
Extract password param providing in separate interceptors.
2017-11-22 22:01:52 +01:00
Yahor Berdnikau
6b950f7b28
Extract password param providing in separate interceptors.
...
Added interceptor for api version before 1.12.0 and after.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-22 21:56:16 +01:00
Yahor Berdnikau
b9cfc0ed6d
Merge pull request #81 from ultrasonic/add-stream-url
...
Add stream url
2017-11-21 21:33:52 +01:00
Yahor Berdnikau
c4f28280f9
Use getStreamUrl() method for video urls.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-21 21:29:24 +01:00
Yahor Berdnikau
6503ce2e4c
Add method to get final stream url.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-21 21:29:24 +01:00
Yahor Berdnikau
1607f923b6
Merge pull request #78 from ultrasonic/update-get-video-url
...
Update get video url
2017-11-19 22:27:12 +01:00
Yahor Berdnikau
d1256d2b77
Remove unused Apache http client.
...
Finally!
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 22:13:46 +01:00
Yahor Berdnikau
4b789e4c88
Disable getVideoUrl() method.
...
This method uses some assuptions on endpoint urls.
The right way is to use stream() api call to get video stream.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 22:10:34 +01:00
Yahor Berdnikau
7f5e04ebb2
Merge pull request #76 from ultrasonic/add-get-avatar
...
Add get avatar
2017-11-19 21:50:57 +01:00
Yahor Berdnikau
91d93b713d
Remove unused methods.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 21:47:58 +01:00
Yahor Berdnikau
662e99ff5a
Use new getAvatar() api call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 21:40:27 +01:00
Yahor Berdnikau
f2ce22ef08
Fix response check NPE
...
Fix response check doens't take into account that body will be null
if response is not successfull.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 21:39:13 +01:00
Yahor Berdnikau
52545bc714
Add getAvatar() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 21:19:33 +01:00
Yahor Berdnikau
3e5159a1a2
Merge pull request #75 from ultrasonic/add-update-share
...
Add update share
2017-11-19 15:53:43 +01:00
Yahor Berdnikau
48f8d35e4f
Use new api updateShare() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 15:51:15 +01:00
Yahor Berdnikau
22ec570b69
Add updateShare() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 15:25:31 +01:00
Yahor Berdnikau
81bb21c841
Merge pull request #74 from ultrasonic/add-delete-share
...
Add delete share
2017-11-19 15:04:34 +01:00
Yahor Berdnikau
b1f7e7a14c
Use new api deleteShare() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 14:41:31 +01:00
Yahor Berdnikau
a1d5450515
Add deleteShare() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 14:36:41 +01:00
Yahor Berdnikau
fe12c440e7
Merge pull request #73 from ultrasonic/add-get-videos
...
Add get videos
2017-11-19 14:01:15 +01:00
Yahor Berdnikau
51ed43978b
Use new api getVideos() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 13:58:48 +01:00
Yahor Berdnikau
d26b6dce7d
Add getVideos() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-19 13:51:20 +01:00
Yahor Berdnikau
c5bf541c45
Merge pull request #72 from ultrasonic/add-delete-bookmark
...
Add delete bookmark
2017-11-18 22:21:34 +01:00
Yahor Berdnikau
a9516ecab6
Use new api deleteBookmark() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 22:19:00 +01:00
Yahor Berdnikau
ca2ffc7279
Add deleteBookmark() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 22:14:48 +01:00
Yahor Berdnikau
c6ad07f56f
Merge pull request #71 from ultrasonic/add-create-bookmark
...
Add create bookmark
2017-11-18 22:04:42 +01:00
Yahor Berdnikau
445c3a4944
Use new api createBookmark() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 22:01:33 +01:00
Yahor Berdnikau
010d7679b9
Add createBookmark() call.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-18 21:55:07 +01:00
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