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