Nite
ffb2d59886
Updated Events to ReactiveX
...
Minor fixes
2021-11-02 17:45:01 +01:00
tzugen
050161bbb0
API 30
2021-11-01 17:10:46 +01:00
tzugen
8c99c84a90
Default arguments
2021-11-01 14:14:12 +01:00
Nite
fec2d78d30
Merge branch 'develop' into refactor-events
2021-10-31 17:20:03 +01:00
Nite
5eaf9cccb1
Started refactoring events to ReactiveX
2021-10-31 15:22:15 +01:00
tzugen
bd23f54783
Remove Build switches for Lollipop
2021-10-30 16:07:47 +02:00
tzugen
2d9a212b5c
Cleanup a bunch of preference setters and getters by using the new utility class
2021-10-30 15:14:15 +02:00
tzugen
fea515a526
Replace consumer use with a lambda
2021-10-23 16:54:00 +02:00
tzugen
c44257f569
Fix a minor warning
2021-10-23 16:49:56 +02:00
tzugen
939cd8583c
Semantically rename DownloadQueueSerializer to PlaybackStateSerializer
2021-10-23 16:39:58 +02:00
tzugen
ece53f7687
Add a comment
2021-10-23 16:13:05 +02:00
Nite
2847a51674
Fixed autoplay
...
Fixed uncaught exception
Fixed playlist loading from file
2021-10-23 16:09:49 +02:00
tzugen
24092ce465
Remove unneccessary call to checkDownloads() which were interferring with AutoPlay somehow.
2021-10-23 15:58:33 +02:00
tzugen
1d5b335f97
Add Download Fragment which show active downloads
2021-10-23 15:58:32 +02:00
tzugen
0bcf51a409
Implement LiveData in Downloader.kt
...
Minor: Also remove a suppress comment
2021-10-23 15:58:32 +02:00
tzugen
fbdf6d846b
Cleanup dead code paths
2021-10-13 18:51:11 +02:00
Nite
221f218856
Added PlaybackComplete intent when a song playback is completed
2021-10-07 17:51:19 +02:00
tzugen
35a0dd761d
Fix a bug where newly added Artists were not cached correctly
2021-10-04 11:20:52 +02:00
Nite
fda746905d
Merged changes from develop
2021-09-24 21:12:02 +02:00
Nite
b640805559
Moved settings related properties from Util to their own class
2021-09-24 18:20:53 +02:00
Nite
d4ce10ebfa
fixed lint error
2021-09-23 16:00:20 +02:00
Nite
be49145aa8
Created different notification when Ultrasonic is only downloading files
...
Fixed null check
2021-09-23 15:51:53 +02:00
Nite
01aa1fe887
Moved kotlin files to their place
2021-09-21 15:20:56 +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
ba745a5f9a
Run download task inside service
2021-09-15 20:46:05 +02:00
Nite
9f1315b6dc
Merge branch 'develop' into semanticDownloadView
2021-09-01 18:19:55 +02:00
tzugen
d08a38ea1c
Small fixes
2021-08-28 11:43:33 +02:00
tzugen
ad81f3bf6d
Use semantically correct API endpoint when streaming/downloading.
...
Fixes #257
2021-08-28 11:39:32 +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
e0df24182e
Add nullability annotation
2021-08-28 11:29:47 +02:00
Maxence G (Hello-Fluffy)
0a2e7358fa
Fix CI
2021-08-26 22:58:39 +02:00
Maxence G (Hello-Fluffy)
7eb3d01ae8
Limit GetSongs if length is too short
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
9546bdeab5
Fixed playing single track in empty playlist
2021-07-19 15:31:52 +02:00
Nite
982639d2c7
Fixed lint errors
...
Added comments
2021-07-18 13:17:29 +02:00
Nite
cf05d3c781
Implemented Media Browsing
2021-07-18 11:33:39 +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
Nite
83c6b76d0a
Updated Android Auto to use MediaPlayerService separately
...
Added some missing features found in the docs
2021-07-12 16:13:34 +02:00
James Wells
db0669098c
Another Attempt at Auto
2021-07-04 16:42:18 -04:00
James Wells
04de4544ee
merge develop
2021-07-04 15:41:56 -04:00
tzugen
dbdb59bbff
Add a Room database for Artists, Indexes and MusicFolders.
...
* There is one database for each Server
* Index items are saved with a "musicFolderId" prop, which makes it possible to filter the database by musicFolder without necessarily having to query the server for it.
* Databases for new Servers are created on the fly
* If the user removes a server, the respective database is deleted.
2021-06-29 18:01:26 +02:00
tzugen
e3e8d36f5c
Save the correct field to the server preferences
2021-06-25 17:47:11 +02:00
James Wells
4ff167e497
merge develop
2021-06-22 20:08:49 -04: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
28336c8bf7
Convert PlayerFragment to Kotlin
2021-06-19 23:52:24 +02:00
tzugen
38f1f5f5c6
Nicer catch all
2021-06-19 23:25:02 +02:00
James Wells
793c4a6ca7
working version
2021-06-19 00:05:19 -04:00
James Wells
3853fce818
Merge branch 'develop' into AndroidAuto
2021-06-18 22:52:56 -04:00
Maxence G
d440b8c76d
Fix no server call when starring song from notification
2021-06-16 20:33:21 +02:00
tzugen
57d740af12
Properly generate the Video stream url, without actually making a request!
2021-06-14 20:53:55 +02:00
tzugen
db31fefe83
Remove flash support
2021-06-12 15:31:21 +02:00
James Wells
8855d19113
Merge branch 'develop' into AndroidAuto
2021-06-10 19:19:29 -04:00
tzugen
620239f859
Improve the extension function by making it call-chainable
2021-06-09 17:36:11 +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
4eeff191aa
Add two ToDos
2021-06-08 17:20:45 +02:00
tzugen
be356d9c0a
Cleanup unused functions from RESTMusicService,
...
put the caching functionality into the ImageLoader
2021-06-08 17:12:55 +02:00
Nite
7182694c5d
Fixed currentDownloading to be nullable
...
(It can be null when nothing is downloading)
2021-06-07 20:06:40 +02:00
tzugen
566e429e4c
Use file cache in Picasso
2021-06-07 14:22:33 +02:00
tzugen
0989ee20a6
Remove LegacyImageLoader, use Picasso as default
2021-06-07 13:26:07 +02:00
tzugen
90ecbe4b78
Make getCoverArt require a non-null entry
2021-06-07 13:26:07 +02:00
James Wells
e95b2ce09c
refactored a bit, and some cleanup
2021-06-06 18:28:46 -04:00
James Wells
be4ffc2c7e
Merge branch 'develop' into AndroidAuto
2021-06-06 16:36:33 -04:00
James Wells
e666498f13
Initial Test of Android Auto
2021-05-28 20:40:00 -04:00
tzugen
8aa1cf1e2c
Fix Kotlin 1.5 deprecated calls
2021-05-28 20:32:31 +02:00
tzugen
71068fe635
Upgrade Koin to 3.0.2
2021-05-28 19:39:27 +02:00
tzugen
e21ae1299b
Fix more detekt and lint issues and remove them from the baseline.
2021-05-27 15:30:20 +02:00
tzugen
6dc0eb7ecc
Move files to Koltin dir
2021-05-27 11:33:10 +02:00
tzugen
e059d737bc
Adopt changes from stricter nullabilities
2021-05-26 23:21:56 +02:00
tzugen
0500bd5e88
Handle also UnknownHostException in GenericListModel
2021-05-21 23:34:57 +02:00
tzugen
3d99269c41
Remove context from ShufflePlayBuffer
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
df047dd463
Refactor MediaPlayerController to Kotlin
...
and also make MediaPlayerService context-free
2021-05-21 22:35:22 +02:00
tzugen
a801e276ee
Rename .java to .kt
2021-05-21 22:35:21 +02:00
tzugen
b25a118148
Remove unused context from CacheCleaner
2021-05-21 18:50:57 +02:00
tzugen
b559f6420e
Move certain ignores from the baseline to the specified files. This makes refactoring much less fragile.
2021-05-20 18:16:55 +02:00
tzugen
a60be2157b
Removing remaining context from MusicService signatures.
2021-05-11 14:26:29 +02:00
tzugen
c66118172c
Revert accidental changes in the method signature.
2021-05-11 12:04: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
Nite
ec21e14e33
Merge branch 'develop' into lockscreen-controls
2021-05-07 16:15:20 +02:00
tzugen
bc2c591ff2
Set isActive correctly when pausing.
2021-05-06 13:23:38 +02:00
tzugen
a910818b70
Add skip functions to lockscreen
2021-05-06 13:23:35 +02:00
tzugen
85e2e473e5
Fix a typo, make two functions private
2021-05-06 12:53:25 +02:00
tzugen
8ebd53a8eb
Remove no longer needed safe call.
2021-05-06 12:40:49 +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
66a306152d
Remove MediaStoreService, reinstate Util.scanMedia
...
This partially reverts commit 8fbc2a9fa3
.
2021-05-01 13:31:48 +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
4f70c61592
Fix Magic Number problem in DownloadFile (caused by #431 ).
2021-04-27 10:21:57 +02:00