tzugen
970d93bd91
Pass down the autoPlay value to BufferTask()
2021-03-25 20:33:51 +01:00
tzugen
bf106b0384
Handle a case when reset() is called after release().
2021-03-25 18:37:41 +01:00
tzugen
51dafd542a
Static analysis fixes
2021-03-25 18:37:41 +01:00
tzugen
8e7cf487fd
Checkstyle fixes
2021-03-25 18:37:41 +01:00
tzugen
8d65b1d25f
Private BufferTask() accepts only non-null now
2021-03-25 18:37:41 +01:00
tzugen
2171c971a3
Make remoteControl code more functional
...
Fixes #390
2021-03-25 18:37:41 +01:00
tzugen
60a0fe17dd
Fix a bad cast
2021-03-25 18:37:41 +01:00
tzugen
493a587b37
Introduce postRunnable helper function
2021-03-25 18:37:41 +01:00
tzugen
93eced9516
Move bufferAndPlay to another position in the file; annotate some possible bugs.
2021-03-25 18:37:41 +01:00
tzugen
09fb6aa487
Make doPlay method a private method, and play the only public entry point.
2021-03-25 18:37:41 +01:00
tzugen
d017ca9fb2
Initialize some vals onCreate, thus making them explicitely non-null
...
Also modify setNextPlaying to accept only non-null files.
2021-03-25 18:37:41 +01:00
tzugen
a467abf10b
Fix errors and warnings
2021-03-25 18:37:40 +01:00
tzugen
2260cc311f
Automatic conversion of LocalMediaPlayer to Kotlin
2021-03-25 18:37:40 +01:00
James Wells
f0be828bbf
Convert SelectAlbumFragment to kotlin
...
Signed-off-by: James Wells <james@jameswells.net>
2021-03-18 23:23:00 -04:00
Nite
2eb357a50f
Fixed ktLint
2021-03-01 17:26:58 +01:00
Nite
46859e2413
Minor cleanup, added comments
2021-03-01 17:24:25 +01: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
8a047c5b78
Fixed coroutine scope for server creation/update
2021-02-17 18:36:36 +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
3dc6df9116
Fixed colors and theme changing
...
Other minor fixes
2021-02-10 19:57:09 +01:00
Nite
c4ea2086d2
Removed unused code, minor fixes
2021-02-09 19:49:26 +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
f0917820cb
Migrated parts from SubsonicTabActivity, fixed theme changes
2021-02-06 11:50:57 +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
Nite
d98360d3fe
Really fixed getSectionName
2020-11-28 13:51:51 +01:00
Nite
7068477e23
Fixed getSectionName
2020-11-28 13:33:29 +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
b3db46b1ab
Fixed ktlint errors
2020-11-23 14:02:18 +01:00
Nite
7dcaf5b1a6
Added Fastscroll Library with section popup support
...
Fixed collation for the sorting of tha Artist list
2020-11-23 13:55:28 +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
8ebda198c6
Fixed Server Settings screen to keep entered data when rotating the screen
2020-11-02 17:13:38 +01:00
Nite
df53da2439
Fixed copyright comments
2020-11-01 08:02:10 +01:00
Nite
537478430c
Fixed null checks in SongView
...
Migrated SongView to Kotlin
2020-10-31 08:51:43 +01:00
Nite
30a5abaa34
Fixed exception on Room downgrade
2020-10-17 12:38:48 +02:00
Nite
eb3ce0db8a
Added creating the client again after setting the minimum API version to NULL
2020-10-15 14:34:10 +02:00
Nite
4e6df12f4e
Moved minimumApiVersion detection to be executed before any first request
...
Refactored RESTMusicService to Kotlin
Refactored OfflineMusicService not to be a subclass of RESTMusicService
Minor fixes
2020-10-15 10:22:15 +02:00
Nite
a396b4b27b
Fixed Subsonic API version detection
...
Fixed server change detection
Minor fixes
2020-10-13 21:41:01 +02:00
Nite
60a8599a02
Merge branch 'develop' into feature/log_to_file
2020-10-06 17:07:16 +02:00
Max Pop
675a32a3ef
Remove useless import
2020-10-05 01:59:53 +02:00
Max Pop
6ae3c9692a
Add Material Black Theme
2020-10-05 01:45:58 +02:00
Nite
e15fa23def
Fixed ktLint errors
2020-10-02 19:08:05 +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
4991eb8d13
Fixed Edit Server button layout and exit check
2020-09-25 20:02:59 +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
Nite
ef09807e3e
Fixed stopping playback when selecting the same server
2020-09-25 11:15:19 +02:00
Nite
7bbc3234f2
Added applying changes when the currently active server is modified
2020-09-25 11:04:48 +02:00
Nite
db4f8b83d3
Updated missing index handling
2020-09-25 10:43:33 +02:00
Nite
02716c827a
Added new preference key to avoid duplicate migration
2020-09-24 21:00:21 +02:00
Nite
102f3e8a04
Updated ServerSettingsModel to use Room for handling LiveData
2020-09-24 20:32:51 +02:00
Nite
5b0c9906f1
Fixed Server Id and Indexing
2020-09-24 18:20:59 +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
31853cc8bc
Made the hostname part of the server url mandatory
2020-09-23 17:14:14 +02:00
Nite
b7c21e4aac
Fixed Server Id to be the same as the Preference was
2020-09-23 16:26:54 +02:00
Nite
55105e52b6
Fixed ktlint errors
2020-09-22 22:01:33 +02:00
Nite
06109424ec
Index fix, added logging
2020-09-22 21:50:53 +02:00
Nite
bed29ce33b
Fixed migrated server indexing
2020-09-22 20:18:36 +02:00
Nite
cc954e4d5a
Fixed migration to check for empty database at every start
2020-09-22 17:03:04 +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
07553464e8
Fixed ktlintCheck
2020-07-13 16:37:13 +02:00
Nite
3d61dde83f
Fixed audio focus handling
2020-07-07 18:50:26 +02:00
Nite
5b5c8ea8b7
Fixed CI things
2020-06-30 17:09:13 +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
de7eaef668
Updated Gradle to 6.5
...
Tried to satisfy ktlint rules
2020-06-13 19:04:31 +02:00
Nite
b23c1b4a6a
Cleaned up dependencies.gradle
...
Moved MultiDex to debug only
2020-06-05 17:09:33 +02:00
Nite
915a659b5d
Fixed MultiDex
2020-05-29 11:23:51 +02:00
Nite
ab624be93d
Implemented five star rating
2020-01-13 21:20:52 +01:00
Yahor Berdnikau
c2924df25f
Use Koin java module.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-08-03 22:08:30 +02:00
Yahor Berdnikau
48acc64ee3
Migrate Koin to 1.0.0-beta3 version.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-08-03 21:50:21 +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
02467cb05b
Add loading user avatars.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-14 20:55:45 +02:00
Yahor Berdnikau
c0b6500b47
Provide configuration for image load request.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-28 22:03:47 +02:00
Yahor Berdnikau
77eb257d84
Glue together old ImageLoader impl and new one.
...
Currently it is working in a pretty limited way.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau
b97e09b14b
Provide app okhttp client instance to subsonic api client.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:30:38 +02:00
Yahor Berdnikau
f007418298
Move subsonic api client to it's own DI module.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:30:38 +02:00
Yahor Berdnikau
8dc9534327
Move api client configuration to separate data class.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:30:38 +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
ad52e3ad95
Move domain entities to own module.
...
This allow other modules to depend on them.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-10 19:42:28 +01:00
Yahor Berdnikau
182eb7ec3b
Fix unit tests.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-24 22:19:34 +01:00
Yahor Berdnikau
a11037ecf1
Fix ChatMessage was not data class.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-24 22:19:17 +01:00
Yahor Berdnikau
440eb4067d
Fix missing empty line in the end.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 22:47:41 +01:00
Yahor Berdnikau
1fe6da5f46
Convert MusicDirectory domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 22:45:28 +01:00
Yahor Berdnikau
47d5a4dba1
Convert Artist domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 22:30:39 +01:00
Yahor Berdnikau
3e3d39e2cd
Convert Bookmark domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 22:23:48 +01:00
Yahor Berdnikau
817122c16f
Convert ChatMessage domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 22:18:23 +01:00
Yahor Berdnikau
ea5fd0d1be
Convert Genre domain entity to kotlin.
...
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-22 21:57:10 +01:00