Maxence G
fd48367cab
Reduce function length
2021-05-29 15:00:46 +02:00
tzugen
71068fe635
Upgrade Koin to 3.0.2
2021-05-28 19:39:27 +02:00
tzugen
6dc0eb7ecc
Move files to Koltin dir
2021-05-27 11:33:10 +02:00
tzugen
aa1c0d8baa
Convert TimeLimitedCache to Kotlin
2021-05-27 11:13:23 +02:00
tzugen
31850bf270
Cleanup AlertDialog method
...
The other method was unused, so we can get rid of it.
Also use a lambda for the callback
2021-05-26 08:49:12 +02:00
Maxence G
070e0ac792
Fix lintFormat + remove synchronized
2021-05-25 18:51:00 +02:00
Maxence G
1b7f48c53a
Implement server feature checking
2021-05-24 23:25:12 +02:00
tzugen
3d99269c41
Remove context from ShufflePlayBuffer
2021-05-21 23:34:57 +02:00
tzugen
b8fbbd8c49
Remove Context from Downloader & DownloadFile
2021-05-21 23:34:52 +02:00
tzugen
7922d6caad
Prevent leaks by making cleanup tasks static
2021-05-21 19:11:26 +02:00
tzugen
b25a118148
Remove unused context from CacheCleaner
2021-05-21 18:50:57 +02:00
tzugen
3a05f30907
Fix more warnings
2021-05-20 18:16:55 +02:00
tzugen
72c03cc500
Introduce new Generic Fragments, ViewModels, and Adapters for the display of API data.
...
* Splits former SelectAlbumFragment into separate fragments for Albums and general collections of tracks
* Renames and refactors SelectArtist view to extend the new Generic classes
* Adds error handling (Fixes #484 )
* Adds EndlessScrolling capabilities to all Album Lists
* Uses RecyclerViews and LiveData for performance and in-memory caching
* Refreshes the UI to be aligned with the ArtistList UI
* Add a new GenericEntry to the domain data classes, and make other types extend it
2021-05-16 17:42:31 +02:00
tzugen
a60be2157b
Removing remaining context from MusicService signatures.
2021-05-11 14:26:29 +02:00
tzugen
5b6fa20050
This was literally the result of removing one(!) dependency on context inside FileUtil
...
17 Classes with x function which don't need to pass around context anymore..
2021-05-11 12:04:29 +02:00
tzugen
f2b1ba0e94
Remove unused context references in MusicServiceFactory
2021-05-11 12:04:29 +02:00
tzugen
76ba4c8ac9
Remove more context dependencies
2021-05-11 12:04:29 +02:00
tzugen
9ec92c6cf3
Make all preference operations context-free
...
(use the application context for them)
2021-05-11 12:04:26 +02:00
Nite
83b186b9b5
Merge branch 'develop' into remove-mediastore
2021-05-05 09:41:09 +02:00
tzugen
a3b97fef47
Delegate all handling of the Intent receiver registering to our Service Class.
2021-05-04 16:32:17 +02:00
tzugen
80036034e4
Rename method for clarity
2021-05-04 16:16:05 +02:00
tzugen
66a306152d
Remove MediaStoreService, reinstate Util.scanMedia
...
This partially reverts commit 8fbc2a9fa3
.
2021-05-01 13:31:48 +02:00
tzugen
98ba9ecd3e
Migrate from deprecated registerMediaButtonReceiver to MediaSession equivalent
2021-05-01 10:49:23 +02:00
tzugen
1ee36322db
Remove unused views and util function
2021-04-23 11:13:43 +02:00
tzugen
d9d82b77d4
Rename a function semantically
2021-04-17 12:32:25 +02:00
tzugen
aac74d1eef
Make SongView display a percentag while downloading
...
Closes #403
2021-04-17 12:11:20 +02:00
tzugen
cf68038e20
Migrate DownloadFile to Kotlin
2021-04-17 12:11:17 +02:00
tzugen
8fbc2a9fa3
Remove scanMedia(), as ACTION_MEDIA_SCANNER_SCAN_FILE is deprecated,
...
in favour of the MediaStore API which we are already using.
2021-04-11 08:49:17 +02:00
Nite
9910792c11
Fixed back press in Server Editor
...
Fixed displaying "no results" for Search
Cleaned up code
2021-02-25 18:40:41 +01:00
Nite
81ce23bafd
Updated PreferenceManager to androidx version
2021-02-15 16:30:36 +01:00
Nite
86bfcefe93
Minor fixes
...
Cleaned up TODOs
Cleaned up code
2021-02-14 15:55:16 +01:00
Nite
d70d2cc2fb
Fixed TODOs:
...
- Updated Koin
- Fixed Player start from widgets and notification
- Added cancellation to LoadingTask
- Minor fixes and cleanup
2021-02-11 21:51:27 +01:00
Nite
1b9b127424
Refactored remaining Activities
2021-02-08 21:46:31 +01:00
Nite
cf90abb77e
Added NowPlayingFragment
2021-02-08 20:24:20 +01:00
Nite
a395bd6feb
Refactored DownloadActivity
2021-02-05 21:45:50 +01:00
Nite
95773c7994
Started refactoring to NavigationUI
...
Main menu items are refactored, except Now Playing
2021-02-04 20:15:58 +01:00
lbonn
7af666037d
Fall back to path when comparing tracks
...
Tracks will be sorted by ascending path if neither album, disc and track
id can help.
This is helpful for browsing a loose collection of tracks tagged under
the same album.
Signed-off-by: lbonn <bonnans.l@gmail.com>
2020-12-21 22:20:35 +01:00
Nite
4336e8e243
Added setting to show artist picture
2020-11-25 20:00:12 +01:00
Nite
a3c4815a07
Fixed Artist row layout
...
Changed Unknown image
2020-11-24 18:19:58 +01:00
Nite
47e5675d1e
Added coverArt images to Artists
...
Minor fixes
2020-11-18 21:46:46 +01:00
Nite
34a6413f10
Migrated SelectArtistActivity to Kotlin
...
Updated SelectArtistActivity to use RecyclerView
Changed old progress display to use SwipeRefreshLayout's spinner
Added alphabetic side index
Enabled RecyclerView's FastScroll
2020-11-16 19:14:44 +01:00
Nite
92f01fec26
Implemented single button play/pause support for old Bluetooth devices
2020-11-06 18:08:36 +01:00
Nite
0b21dfdb2d
Merge branch 'develop' into feature/log_to_file
2020-10-07 21:05:54 +02:00
Nite
1f7167e016
Removed file existence check to improve performance
2020-10-07 20:52:58 +02:00
Nite
b16dde0b07
Fixed Opus file handling
...
Fixed file name generation in offline mode
2020-10-07 17:52:16 +02:00
Nite
60a8599a02
Merge branch 'develop' into feature/log_to_file
2020-10-06 17:07:16 +02:00
Max Pop
6ae3c9692a
Add Material Black Theme
2020-10-05 01:45:58 +02:00
Nite
6e7ebeabef
Implemented file logging settings
...
Implemented log rotation, log deletion
Minor fixes
2020-10-02 18:47:21 +02:00
Nite
5de20861ca
Added Timber to Koin and OkHttp, started implementing file logging
2020-09-30 18:17:57 +02:00
Nite
7217f2cca8
Refactored Log calls to Timber
2020-09-30 14:47:59 +02:00
Nite
75a9c60889
Fixed handling Bluetooth intents while Ultrasonic isn't running
2020-09-29 11:09:24 +02:00
Nite
c805005b02
Added resume and pause settings for bluetooth device connection / disconnection
2020-09-28 21:14:47 +02:00
Nite
046916221d
Started implementing Bluetooth connection settings
2020-09-28 21:14:30 +02:00
Óscar García Amor
8c07346296
Fix fatal error loading unknown album cover
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-25 19:36:35 +02:00
Óscar García Amor
5387b58e35
Finish convert drawables to vectors. Closes #308
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-25 18:20:18 +02:00
Óscar García Amor
a7d29a4093
More UltraSonic -> Ultrasonic
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-24 13:03:05 +02:00
Nite
234e4703a1
Fixed first time migration
...
Minor fixes
2020-09-19 11:56:10 +02:00
Nite
6721500202
Updated Server Settings UI and Storage
...
Updated Koin to latest
2020-09-18 09:37:19 +02:00
Nite
ca2bfbf14b
Updated Subsonic API version handling
2020-08-27 10:27:25 +02:00
Nite
5739b2bf4b
Implemented file picker for cache folder settings
2020-08-18 21:24:24 +02:00
Nite
720f43c8d9
Fixed unintentional replaces
2020-07-30 11:59:22 +02:00
Nite
3d61dde83f
Fixed audio focus handling
2020-07-07 18:50:26 +02:00
Nite
f5748d7dc0
Fixed lost lockscreen controls when exiting the app
2020-07-02 19:01:33 +02:00
Nite
7dad738fce
Fixed pause on bluetooth disconnect, minor fixes
2020-06-29 16:17:22 +02:00
Nite
bd77c2a851
Added null checks, moved MediaPlayer to its own Koin module
2020-06-26 16:33:27 +02:00
Nite
bbe9f39300
Moved externally visible functions to interface, added comments
2020-06-26 15:18:14 +02:00
Nite
b83631107c
Major cleanup, minor fixes
2020-06-25 14:33:44 +02:00
Nite
0820763c7f
Refactored playback related things
2020-06-23 18:40:44 +02:00
Nite
53628dde54
Started to use Koin, refactored lifecycleSupport and Intent handling
2020-06-22 18:44:15 +02:00
Nite
13b987791e
Started DownloadServiceImpl refactor
2020-06-22 18:43:59 +02:00
Nite
02da3e79ba
Fixed DownloadServiceImpl to start as background service
...
Removed notification related settings for API26
2020-06-20 15:16:57 +02:00
Nite
e210908257
Fixed context in FileUtil
...
Added CleartextTraffic to AndroidManifest
2020-06-17 18:14:34 +02:00
Óscar García Amor
af5ecae7f5
First approach to API 28
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-06-17 15:08:30 +02:00
Nite
a845ec8039
Fixed dialog title
2020-06-02 16:33:06 +02:00
Nite
5d18929258
Implemented runtime permission handling using Dexter library, minor fixes
2020-06-02 15:35:36 +02:00
Nite
ab624be93d
Implemented five star rating
2020-01-13 21:20:52 +01:00
Yahor Berdnikau
75d81fe920
Don't close app on background task error.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 10:24:46 +02:00
Yahor Berdnikau
a63c47112c
Add feature flags that contains new image loader flag.
...
This allows to release new versions of the app with unfinished/
not fully implemented features.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 09:50:07 +02:00
Yahor Berdnikau
b27ce42d02
Extract ImageLoader interface.
...
This will allow to swap it with a new implementation.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau
52b32d0fd6
Add DI for MusicService.
...
It is still hidden behind MusicServiceFactory, but opens a way to use
it directly via injection.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:30:38 +02:00
Yahor Berdnikau
91b5941c7c
Fix bookmark doesn't restore saved song position.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-12 22:29:19 +02:00
Yahor Berdnikau
68cb1af02b
Fix inconsistent behaviour when adding new server on debug build.
...
After adding special suffix for debug builds, default shared preferences
name was changed.
2018-04-03 22:09:22 +02:00
Yahor Berdnikau
1737fd69e7
Remove unused method from FileUtil.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 17:38:47 +01:00
Óscar García Amor
75e6e70094
REST_CLIENT_ID simplified
...
From UltraSonic%20for%20Android to simply Ultrasonic
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2018-02-20 17:55:24 +01:00
Yahor Berdnikau
b080c62843
Fix app doesn't handle right transcoded suffix.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-11 22:44:53 +01:00
Yahor Berdnikau
acde5b9473
Fix wrong support for empty cover art url.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-10 20:11:17 +01:00
Yahor Berdnikau
009567c83e
Fix app may use wrong folder to store music.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-10 20:08:57 +01:00
Yahor Berdnikau
efe1efdda6
Add more specific error message related to ssl connection problems.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-21 21:01:21 +01:00
Yahor Berdnikau
ae6b73fab4
Add setting to force using old-authorization for LDAP users.
...
Subsonic api doesn't support new md5 based authorization for LDAP users.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-21 18:15:02 +01:00
Yahor Berdnikau
3e1dbe3476
Fix api error parses always in generic error.
...
Now it parses to right error representation. Also fix that right
exception for error is not thrown on api call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-13 10:19:42 +01:00
Yahor Berdnikau
ada94dc24f
Change to handle json parse exception instead of xml.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-01-07 13:30:37 +01:00
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
c9bc3df543
Merge branch 'master' into develop
2017-12-27 22:01:10 +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
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
Yahor Berdnikau
7a5035e725
Reset MusicService when user changes active server.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-27 08:16:33 +02:00
dtarasov
e3a485f0ef
Not add track number prefix to filename if its already added
2017-06-28 13:25:04 +04:00
rcocula
e3e90cebf1
podcasts feature
...
Work on podcats
Work on podcats
podcasts
Dont't bypass the context menu in long click on album view.
Work on podcats
Work on podcats
Work on podcats
podcasts
If items are maximized they will return to minimize form when scrolling.
(cherry picked from commit ada247d)
podcasts
Podcasts icon
podcasts
podcasts
(cherry picked from commit b4ff614)
2016-03-20 00:22:30 +01:00
Óscar García Amor
c8245e1dbe
SDCard directory changed
...
- Now Ultrasonic stores files and caches in
sdcard/Android/data/org.moire.ultrasonic instead sdcard/utrasonic. The
user stills can change the music directory.
2015-07-26 18:40:04 +02:00