Yahor Berdnikau
27465a086d
Add displaying more specific api errors.
...
Now app will show more specific api errors to user.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-07 13:17:53 +01:00
Yahor Berdnikau
e96eae29d5
Add option to resume playback on headphones insertion.
...
This is disabled by default and should be enabled in app settings.
Playback resume only happened when app is not in Jukebox mode and
playback is paused.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-28 22:02:09 +01:00
Yahor Berdnikau
c9bc3df543
Merge branch 'master' into develop
2017-12-27 22:01:10 +01:00
Yahor Berdnikau
c84482729d
Add versioning plugin.
...
This will allow to easy automate auto publishing of the app.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-27 21:38:40 +01:00
Óscar García Amor
6b6c8a045f
Updated versionCode and versionName
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2017-12-26 19:35:25 +01:00
Óscar García Amor
7451ee2d19
Fix spanish translation
2017-12-26 19:17:53 +01:00
Yahor Berdnikau
592ab16b94
Add setting to server config to allow self-signed certificates.
...
It is disabled by default.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-26 12:34:52 +01:00
Yahor Berdnikau
ae3ef770c7
Regenerate lint baseline.
...
Also have to fix some of the lint issues, for some reason they don't
get into baseline.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 11:53:15 +01:00
Yahor Berdnikau
a86925d0b8
Delete old api resources.
...
Delete resources that was dedicated to pre 14 api level.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 11:37:39 +01:00
Yahor Berdnikau
07802e9206
Update KtLint to 0.14.0 version.
...
Also fix style problems.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:58:43 +01:00
Yahor Berdnikau
2e9935e182
Remove usage of HttpRequest from StreamProxy.
...
Apache http client classes was removed since api 23. And actually this
HttpRequest doesn't required here at all.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:53:23 +01:00
Yahor Berdnikau
ed78fce31c
Remove deprecated HttpClient.
...
Apache HttpClient package was removed from Android since api 23.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-21 10:53:23 +01:00
Óscar García Amor
7aba11bb03
Merge pull request #97 from ultrasonic/update-version
...
Updated versionCode and versionName
2017-12-18 14:48:14 +01:00
Óscar García Amor
047b67164c
Updated versionCode and versionName
2017-12-18 14:45:05 +01:00
Yahor Berdnikau
aadb14eb4e
Fix service try download covert art for empty id.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 22:20:44 +01:00
Yahor Berdnikau
b2384a43ce
Update api definition to use String type for ids.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 22:14:01 +01:00
Yahor Berdnikau
5bf5af2842
Change MusicDirectoryChild ids type to String.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 21:28:18 +01:00
Yahor Berdnikau
ad20064d79
Change Share id type to String.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-12-16 20:54:43 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
f1639bab48
Delete unused parser.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-15 22:05:52 +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
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
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
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
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