Nite
77f857b1c6
Added setting to disable Now Playing List sending for incompatible bluetooth devices
2021-09-17 16:45:33 +02:00
tzugen
ecc7e870f1
Save Artists in Offline database
2021-09-15 20:51:42 +02:00
tzugen
611539be55
Handle WifiLock in Download manager class, instead of creating an individual lock per task.
...
Also only stop the executor when done.
2021-09-15 20:46:05 +02:00
tzugen
5ff4d21abc
Merge FileUtil functions into a single class.
2021-09-15 20:46:05 +02:00
tzugen
ec49775d7e
Convert FileUtil to Kotlin
2021-09-15 20:46:05 +02:00
tzugen
c48c41284e
Migrate Constants to Kotlin, update a copyright notice.
2021-09-15 20:46:05 +02:00
tzugen
ba745a5f9a
Run download task inside service
2021-09-15 20:46:05 +02:00
Nite
84d28178bf
Fixed media session null checks
2021-09-05 09:34:38 +02:00
tzugen
d08a38ea1c
Small fixes
2021-08-28 11:43:33 +02:00
tzugen
594e94eea7
Finish
2021-08-28 11:29:47 +02:00
tzugen
f9aac1ca43
Add parallel downloading, better priority handling
2021-08-28 11:29:47 +02:00
tzugen
b8eddb2d24
Rename .java to .kt
2021-08-28 11:29:47 +02:00
tzugen
e0df24182e
Add nullability annotation
2021-08-28 11:29:47 +02:00
tzugen
e8baea6195
Convert MainFragment to Kotlin
2021-08-26 22:58:40 +02:00
tzugen
e00137a635
Rename .java to .kt
2021-08-26 22:58:39 +02:00
Maxence G (Hello-Fluffy)
a23e5ff794
Add better offline Support
2021-08-26 22:58:39 +02:00
Nite
2655a4a606
Merge branch 'develop' into video-cleanup
2021-08-25 14:27:05 +02:00
tzugen
a051d4d040
Clean up Util.kt after conversion
...
(currentSong was assigned but never actually used)
2021-08-20 20:53:17 +02:00
tzugen
3afb86c22c
Video call can be static
2021-08-18 09:07:57 +02:00
Nite
f50d6f13f4
Started implementing Media Browser
...
Added root menus, playlists and artists
2021-07-16 17:29:21 +02:00
Nite
56af9e4bf2
Moved MediaSession handling to its own class
...
Fixed queue and position handling on Now Playing screen
2021-07-13 19:25:37 +02:00
tzugen
d4c0f62b1d
Don't keep a reference to context here,
...
it's a leak and not used anyway.
2021-06-21 19:11:30 +02:00
tzugen
16c6b6b03e
Fix a potential exception in shuffle()
...
If getCurrentPlayingIndex() returns -1,
then remove() fails
2021-06-20 23:38:13 +02:00
tzugen
8c2896ea16
Remove static field leaks on SeekBar,
...
cleanup code and update baseline
2021-06-19 23:52:24 +02:00
tzugen
d8b032e2e3
Cleanup code
2021-06-19 23:52:24 +02:00
tzugen
30bbeb7594
Rename .java to .kt
2021-06-19 23:52:24 +02:00
tzugen
28336c8bf7
Convert PlayerFragment to Kotlin
2021-06-19 23:52:24 +02:00
tzugen
5cfb49ac69
Rename .java to .kt
2021-06-19 23:52:24 +02:00
tzugen
a43a525bab
Remove two unrelated, but unused files.
2021-06-12 15:31:24 +02:00
tzugen
db31fefe83
Remove flash support
2021-06-12 15:31:21 +02:00
tzugen
d9a7fa2413
Cleaner separation of API result handling.
...
* CallResponseChecker functionality are now Kotlin Extensions
* Removed unfitting shortcuts from SubsonicAPIClient
* Increase timeout to get a video url
* Fix a bug, that the Rest API version was checked twice on each call
2021-06-09 14:15:39 +02:00
tzugen
be356d9c0a
Cleanup unused functions from RESTMusicService,
...
put the caching functionality into the ImageLoader
2021-06-08 17:12:55 +02:00
tzugen
3c554caf2e
On disk we are only caching the full-size images.
...
So when modify the key to query for the full size image,
because scaling down a larger size image on the device is quicker than
requesting the down-sized image from the network.
2021-06-08 14:49:49 +02:00
Nite
78cb4d09cf
Separated cache entries for large images
2021-06-07 21:38:39 +02:00
tzugen
566e429e4c
Use file cache in Picasso
2021-06-07 14:22:33 +02:00
tzugen
9161f9dc99
Move ImageLoader module into main module.
2021-06-07 13:26:08 +02:00
tzugen
92fe7359ff
Finish removing unneeded preferences and fix import problem
2021-06-07 13:26:07 +02:00
tzugen
0989ee20a6
Remove LegacyImageLoader, use Picasso as default
2021-06-07 13:26:07 +02:00
Maxence G
d8e7b991cd
Merge remote-tracking branch 'base/develop' into check-server-features
2021-05-29 15:28:25 +02:00
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
cc7e273d50
Fix remaining warnings
2021-05-27 11:18:29 +02:00
tzugen
ac77d9557c
Clarify time handling for the time limited cache
...
(Less magic numbers)
2021-05-27 11:15:28 +02:00
tzugen
aa1c0d8baa
Convert TimeLimitedCache to Kotlin
2021-05-27 11:13:23 +02:00
tzugen
38c1480f77
Whitespace and detekt
2021-05-26 23:32:25 +02:00
tzugen
5ac36b749b
Convert all Services to Kotlin
2021-05-26 23:17:52 +02:00
tzugen
3f2daaa7ec
Rename .java to .kt
2021-05-26 23:17:52 +02:00
tzugen
e55d894f45
Consistently throw Exeception in OfflineMusicService
2021-05-26 21:32:52 +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
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