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
2adb9ffc7e
Remove two warnings
2021-04-23 11:21:28 +02:00
tzugen
f27212f263
Set AudioAttributes in LocalMediaPlayer
2021-04-23 11:21:24 +02:00
tzugen
5f8e3ce851
Modernize AudioFocusHandler
2021-04-23 11:20:09 +02:00
tzugen
37632dd031
Convert AudioFocusHandler to Kotlin
2021-04-23 11:13:44 +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
116307df56
Fix a regression were we accidentally reset our current MediaPlayer
...
Fixes #418
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
8d4d1ba660
Move function out of companion object
2021-04-17 12:32:29 +02:00
tzugen
0efb3547c3
Update license of two files.
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
tzugen
0bf0d2db87
Fix a number of lint issues
2021-04-17 12:02:45 +02:00
tzugen
b438559da6
Update license of MediaStoreService.kt
2021-04-16 11:47:16 +02:00
Nite
fbcbc65be8
Merge branch 'develop' into mediastore
2021-04-15 09:48:07 +02:00
James Wells
e5158c8a2f
correct for swipe refresh
...
Signed-off-by: James Wells <james@jameswells.net>
2021-04-14 22:25:31 -04:00
James Wells
39c94fe1e9
Clean empty text view
...
Signed-off-by: James Wells <james@jameswells.net>
2021-04-13 22:35:06 -04:00
James Wells
38b6066258
small change to view group
...
Signed-off-by: James Wells <james@jameswells.net>
2021-04-13 00:12:38 -04:00
James Wells
3a1e2c96fc
Don't show header when using ID3 tags
...
Signed-off-by: James Wells <james@jameswells.net>
2021-04-11 16:02:07 -04: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
268a41d1f4
Don't use musicFolderId in Recently Added filter
...
Signed-off-by: James Wells <james@jameswells.net>
2021-04-10 17:48:52 -04: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
3e54e4cf05
restrict header to album list only
...
Signed-off-by: James Wells <james@jameswells.net>
2021-04-04 15:30:31 -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
974afda777
Merge remote-tracking branch 'mine/NPE' into NPE
2021-03-25 20:34:48 +01:00
tzugen
970d93bd91
Pass down the autoPlay value to BufferTask()
2021-03-25 20:33:51 +01:00
tzugen
b64a4d1320
Merge branch 'develop' into NPE
2021-03-25 18:44:30 +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
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
Óscar García Amor
f361f584b9
Bump version to 2.19.2
2021-03-19 12:09:35 +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
Óscar García Amor
51ecfeb43f
Updated translations
2021-03-07 15:28:10 +01: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
6fcdfea1db
Fixed ChatFragment layout
2021-02-16 19:25:10 +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
785adedd4f
Merge branch 'develop' into refactor/menudrawer_to_navigationui
2021-02-14 16:23:47 +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
Óscar García Amor
c3899af521
Update pt_BR translation
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2021-01-19 15:32:57 +01:00
Óscar García Amor
6dbe9fb2cc
Fix translation problem with plurals in fr_FR
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2021-01-19 09:32:02 +01:00
Óscar García Amor
3c0485c98b
Merge branch 'develop'
2021-01-19 09:07:22 +01:00
Óscar García Amor
bda1deae2b
Bump version to 2.18.0
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2021-01-19 08:52:13 +01:00
Nite
90090ba870
Changed how the NowPlaying view is displayed and hidden
2021-01-14 09:30:23 +01:00
Óscar García Amor
3c47ea890f
Bump version to 2.17.3
...
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2021-01-13 08:51:20 +01:00
Nite
3749f30691
Fixed Genres list
2021-01-13 08:43:40 +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