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
005c1cb8f7
Fix an String resource int that wasn't converted to a String
2021-05-21 23:34:57 +02:00
tzugen
3d99269c41
Remove context from ShufflePlayBuffer
2021-05-21 23:34:57 +02:00
tzugen
ed6c6c9057
Remove two warnings in Downloader
2021-05-21 23:34:57 +02:00
tzugen
b8fbbd8c49
Remove Context from Downloader & DownloadFile
2021-05-21 23:34:52 +02:00
tzugen
9b2e54b94e
Remove context from JukeboxMediaPlayer and Scrobbler
2021-05-21 22:52:16 +02:00
tzugen
00e64cdddc
Use lambdas in OfflineMusicService
2021-05-21 22:39:21 +02:00
tzugen
1b5db9da1f
Make ExternalStorageMonitor context-free
2021-05-21 22:37:43 +02:00
tzugen
a801e276ee
Rename .java to .kt
2021-05-21 22:35:21 +02:00
tzugen
05cb82921d
Fix remaining warnings in MediaPlayerLifecycleSupport
2021-05-21 19:43:37 +02:00
tzugen
f596dc77c1
Make MediaPlayerLifecycleSupport context-free
2021-05-21 19:43:32 +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
402fe961ba
Merge MediaPlayerController interface & implementation
2021-05-21 18:50:33 +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
2c5f8d9dd0
Now we can stop passing around the context for a lot of API calls
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
tzugen
6c122b9e80
Fix #415
2021-05-09 18:31:54 +02:00
tzugen
e0eb2aaf61
Fix a number of warnings
2021-05-09 18:30:38 +02:00
Nite
3a2c41b879
Merge branch 'develop' into remove-mediastore
2021-05-06 09:49:46 +02:00
Nite
e9b22b827a
Fixed updating CacheLocation setting after change
2021-05-06 08:23:08 +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
Nite
fb74d6465e
Merge branch 'develop' into rogue-session
2021-05-02 12:04:23 +02:00
tzugen
66a306152d
Remove MediaStoreService, reinstate Util.scanMedia
...
This partially reverts commit 8fbc2a9fa3
.
2021-05-01 13:31:48 +02:00
tzugen
f6a8ee7241
Remove @Deprecated tag (keep it in JDoc because it doesn't generate a warning)
2021-05-01 10:50:54 +02:00
tzugen
98ba9ecd3e
Migrate from deprecated registerMediaButtonReceiver to MediaSession equivalent
2021-05-01 10:49:23 +02:00
tzugen
4af0d1db25
executeOnStartedMediaPlayerService takes a lambda now
2021-05-01 10:49:23 +02:00
tzugen
d385cf271e
Add comments and deprecation notices
2021-04-27 20:45:25 +02:00
tzugen
3e8cf63603
Merge branch 'develop' into modern-notification-2
2021-04-27 08:18:49 +02:00
James Wells
d084270c4b
Add a retry count to stop infinite downloads
...
Signed-off-by: James Wells <james@jameswells.net>
2021-04-25 23:08:12 -04:00
tzugen
0ad6d0b691
Move MediaPlayerService to Kotlin dir
2021-04-23 11:26:15 +02:00
tzugen
3aae91bf13
Refactor after conversion
2021-04-23 11:26:15 +02:00
tzugen
35e89b47c6
Convert MediaPlayerService to Kotlin
2021-04-23 11:26:15 +02:00
tzugen
9472aa4c22
Rename .java to .kt
2021-04-23 11:26:14 +02:00
tzugen
e6135dc21a
Set Session to active
2021-04-23 11:26:14 +02:00
tzugen
205f477b43
Refactor all event listeners to lambdas
2021-04-23 11:26:10 +02:00
tzugen
0550116b35
Rename .java to .kt
2021-04-23 11:13:44 +02:00
tzugen
8bfc5d04ef
Pass keyevents from the session to MediaPlayerLifecycleSupport
2021-04-23 11:13:44 +02:00
tzugen
88f6bdb3a9
setShowBadge = false
2021-04-23 11:13:44 +02:00
tzugen
e4bf431cfe
Add deleteIntent
2021-04-23 11:13:43 +02:00
tzugen
d3b94f3d4c
Add Star/Unstar and close Action
...
Also: Add album to subtitle :)
2021-04-23 11:13:43 +02:00
tzugen
1ee36322db
Remove unused views and util function
2021-04-23 11:13:43 +02:00
tzugen
731447fda5
Improve icon sizes
2021-04-23 11:13:43 +02:00
tzugen
19580cda8b
We can now remove the deprecated Remote Control API
2021-04-23 11:13:43 +02:00
tzugen
26ba022003
Modernize Service Notification
...
Use the native Android way of generating playback notifications,
by using a "Media Style" and creating a Media Session.
2021-04-23 11:13:43 +02:00
tzugen
417496aacc
Remove unecessary null-check
2021-04-23 11:13:43 +02:00
tzugen
6c681ddb52
Fix #428
2021-04-21 18:42:59 +02:00
tzugen
467df602ec
Show download percentage also in the title
2021-04-17 12:32:29 +02:00
tzugen
4787924fcc
Remove noisy log calls
2021-04-17 12:32:29 +02:00
tzugen
d9d82b77d4
Rename a function semantically
2021-04-17 12:32:25 +02:00
tzugen
a97cb30d1c
Move DownloadFile.kt to Kotlin directory
2021-04-17 12:11:21 +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
3139c94d11
Rename .java to .kt
2021-04-17 12:02:45 +02:00
tzugen
a13306c680
Remove unused parameters from getDownloadInputStream()
2021-04-17 12:02:45 +02:00
tzugen
6b750dac4d
Rename download layouts semantically.
2021-04-17 12:02:45 +02:00
Nite
fbcbc65be8
Merge branch 'develop' into mediastore
2021-04-15 09:48:07 +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
tzugen
0349746228
Move Kotlin file
2021-04-11 01:20:16 +02:00
tzugen
86db983f81
Migrate MediaStore to Kotlin, fix issues wih wrong path
2021-04-11 01:19:27 +02:00
tzugen
46a56a1797
Rename .java to .kt
2021-04-11 01:14:17 +02:00
James Wells
f00a487b51
loads music folder list
...
Signed-off-by: James Wells <james@jameswells.net>
2021-04-09 22:41:38 -04:00
James Wells
580fc1aa89
review comments
...
Signed-off-by: James Wells <james@jameswells.net>
2021-04-06 22:55:21 -04:00
James Wells
2672ea7edf
Merge branch 'develop' into SelectMusicFolderView
...
Signed-off-by: James Wells <james@jameswells.net>
2021-04-06 18:36:12 -04:00
James Wells
191f9512bb
Introduce the SelectMusicFolderView
...
Signed-off-by: James Wells <james@jameswells.net>
2021-04-01 23:00:01 -04:00
tzugen
f738bca1ad
Merge remote-tracking branch 'origin/develop' into NPE
2021-03-30 14:39:09 +02:00
tzugen
05067aaf3c
Rename onCreate/onDestroy functions; create a new MediaPlayer instance on release()
2021-03-30 14:38:59 +02:00
Nite
fa5df96ee3
Fixed VideoPlayer using wrong context
2021-03-27 20:14:56 +01:00
tzugen
b64a4d1320
Merge branch 'develop' into NPE
2021-03-25 18:44:30 +01:00
tzugen
8e7cf487fd
Checkstyle fixes
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
2260cc311f
Automatic conversion of LocalMediaPlayer to Kotlin
2021-03-25 18:37:40 +01:00
Nite
ef29f26893
Fixed Next behavior in additional places
2021-03-19 19:25:34 +01:00
Nite
6a53644355
Fixed Next button behavior when Repeat All is enabled
2021-03-19 17:47:32 +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
a9ea033802
Fixed layout to correctly display podcasts
...
Added working swipe refresh
2021-03-17 17:26:16 +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
09c8c56f59
Fixed searched text not visible for voice search
2021-02-16 19:11:06 +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
90090ba870
Changed how the NowPlaying view is displayed and hidden
2021-01-14 09:30:23 +01:00
Nite
b7bb0851db
Fixed Genres list
2021-01-12 16:51:31 +01:00
Óscar García Amor
3c9dcbc0a3
Merge branch 'develop' into no-sort-special-collections
2020-12-29 16:31:51 +01:00
lbonn
f43c107269
Do not sort special collections
...
It does not make sense to sort:
- random songs
- recently added albums
- recently played albums
- most played albums
- top rated albums
- random albums
As the order returned by the server is more relevant in these cases
Signed-off-by: lbonn <bonnans.l@gmail.com>
2020-12-21 23:35:19 +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
543cb21cd1
Fixed artist items in search
2020-12-07 16:34:59 +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
537478430c
Fixed null checks in SongView
...
Migrated SongView to Kotlin
2020-10-31 08:51:43 +01:00
Óscar García Amor
cf19736049
Merge branch 'develop' into fix/equalizer_visualizer_init
2020-10-25 10:38:49 +01:00
Nite
5c81097df8
Merge branch 'develop' into fix/equalizer_visualizer_init
2020-10-20 11:59:37 +02:00
Nite
bd5440bb96
Merge branch 'develop' into fix/store-api-version
2020-10-20 11:52:08 +02:00
Nite
9eeff3fabc
Fixed clearing the playlist when MediaPlayerService isn't running
2020-10-20 11:29:05 +02:00
Nite
0482c540bd
Updated Equalizer and Visualizer to use late initialization with LiveData
2020-10-17 12:35:30 +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
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
89ef73ccec
Merge branch 'develop' into vector
2020-09-25 13:35:11 +02:00
Óscar García Amor
81f248f446
Convert drawables to vectors
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-24 22:00:29 +02:00
Nite
481084686b
Fixed missing Genre Refresh functionality
2020-09-24 15:16:59 +02:00
Óscar García Amor
a411ed63e2
Fix Select Folder item. Closes #305
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-24 13:19:25 +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
Óscar García Amor
36e25253be
Fix translations
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-24 12:21:17 +02:00
Nite
06109424ec
Index fix, added logging
2020-09-22 21:50:53 +02:00
Nite
cc954e4d5a
Fixed migration to check for empty database at every start
2020-09-22 17:03:04 +02:00
Nite
e8310b2ac8
Merge branch 'develop' into feature/updated-server-settings
2020-09-22 11:40:25 +02:00
Max Pop
251e575421
Resign all with gpg key
2020-09-21 12:17:55 +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
6beb1ae42e
Fixed Jukebox start bug
2020-09-03 16:05:38 +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
5f3861b1ac
Improved cold start time from Doze
2020-07-16 14:25:58 +02:00
Nite
4b0809f905
Fixed unnecessary starts
2020-07-11 11:15:16 +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