Nite
5ef3ced111
Fixed media session null checks
2021-09-12 08:54:08 +02:00
Nite
84d28178bf
Fixed media session null checks
2021-09-05 09:34:38 +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
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
662cb1728b
Fix a number of minor warnings in Util.kt
2021-08-27 11:50:31 +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)
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
Óscar García Amor
6202484df7
Bump version to 2.23.0
2021-08-26 11:04:21 +02:00
Óscar García Amor
4a10b76067
Update translations
2021-08-26 10:29:20 +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
54f39be7ca
Video call can be static
2021-08-18 09:09:08 +02:00
tzugen
3afb86c22c
Video call can be static
2021-08-18 09:07:57 +02:00
Nite
9546bdeab5
Fixed playing single track in empty playlist
2021-07-19 15:31:52 +02:00
James Wells
961c726da8
restore previous code
2021-07-18 16:14:43 -04:00
Nite
c9f2050c46
Suppress detekt LongMethod
2021-07-18 13:23:20 +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
51dbdfb39a
Implemented track detail display in the playlist
...
Fixed playback position disappearing when paused
2021-07-14 16:09:52 +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
b546f2c2fb
The Tests actually caught an error :)
...
If shortcuts were set, these were added as duplicates to the list.
2021-06-29 18:01:26 +02: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
fa94cd24da
Export schema
2021-06-29 18:01:26 +02:00
tzugen
c99c4478f2
Remove file storage code from RESTAPI class
2021-06-29 18:01:26 +02:00
Óscar García Amor
bc8a78e772
Bump version to 2.22.0
2021-06-29 11:51:24 +02:00
Óscar García Amor
68acf3789c
Update translations
2021-06-29 11:28:26 +02:00
tzugen
e3e8d36f5c
Save the correct field to the server preferences
2021-06-25 17:47:11 +02:00
tzugen
2da4f79098
Increase memory cache size
2021-06-23 17:31:41 +02:00
James Wells
4ff167e497
merge develop
2021-06-22 20:08:49 -04:00
tzugen
d916e937f9
Move a resource from a versioned folder
...
(v14 is the default now)
2021-06-22 20:42:05 +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
1132ec6c87
Merge branch 'develop' into fix-save-playlist
2021-06-21 18:49:25 +02:00
tzugen
bc16b64be4
Avoid unnecessary reloads when navigating back,
...
this preserves the scroll position.
2021-06-21 13:41:39 +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
36dccc845b
Use ListAdapter class to calculate Diff off the main thread
2021-06-20 08:31:12 +02:00
tzugen
1ecb577c50
Use DiffUtil for better performance when refreshing the data..
2021-06-20 00:29:35 +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
38f1f5f5c6
Nicer catch all
2021-06-19 23:25:02 +02:00
tzugen
956d555b35
Update PlayerFragment.java
2021-06-19 23:23:39 +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
bc295a825b
Merge branch 'develop' into remove-flash
2021-06-14 19:10:56 +02:00
Nite
a02b620531
Fixed typos
2021-06-14 15:42:24 +02:00
tzugen
3b5b8feb56
Update baseline files
2021-06-12 20:00:44 +02:00
tzugen
58200660d3
Also delete unused strings related to licensing stuff
2021-06-12 19:56:22 +02:00
tzugen
f7dfdcadad
Remove unused strings
2021-06-12 19:48:36 +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
172cbd0476
Add an option to load the demo database for new users
2021-06-12 15:04:17 +02:00
tzugen
a2324eabf2
Use ID3 tags by default for new users.
...
This is what most people are used to from iTunes or Spotify..
2021-06-12 15:01:03 +02:00
James Wells
8855d19113
Merge branch 'develop' into AndroidAuto
2021-06-10 19:19:29 -04:00
tzugen
24ae0d9e81
Catch all exceptions in GenericListModel
...
This is how it used to be, before i changed it because
detekt was complaining.
2021-06-09 20:53:01 +02:00
tzugen
6ab0ff973a
Fix version checking for freshly added servers
2021-06-09 19:33:17 +02:00
tzugen
620239f859
Improve the extension function by making it call-chainable
2021-06-09 17:36:11 +02:00
tzugen
a60a843edf
Fix tests
2021-06-09 17:00:25 +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
175f7cd6f6
Fix imports (ownership and thus package names have changed for Mockito-Kotlin)
2021-06-08 22:00:04 +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
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
Nite
fa6566e903
Fixed showing the unknown image when a source isn't specified
2021-06-07 20:32:44 +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
6dff5c5a23
Add mandatory stableKey to tests
2021-06-07 14:37:01 +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
41eb217d8f
Finish removing unneeded preferences
2021-06-07 13:26:07 +02:00
tzugen
0989ee20a6
Remove LegacyImageLoader, use Picasso as default
2021-06-07 13:26:07 +02:00
tzugen
2eaa9a2091
Fix two bugs in the new image loader:
...
1. Id was checked for nullability, but it is actually an empty string in most cases where there is no Cover art.
This lead to queries without id set.
2. Size was not respected by the new image loader.
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
Óscar García Amor
1dc480b141
Bump version to 2.21.0
2021-06-03 10:33:05 +02:00
Óscar García Amor
e0f9059de8
Update translations
2021-06-03 08:58:13 +02:00
Maxence G
17b9b776fb
Add french translation
2021-05-31 17:02:27 +02:00
Nite
132ee3b563
Removed unused string
2021-05-31 14:26:48 +02:00
Nite
fe5ee8b12a
Fixed ktlint
2021-05-31 14:04:46 +02:00
Nite
41023282e8
Fixed detekt
...
Fixed code duplication
Added more info to the Connection Test dialog for the user
2021-05-31 13:38:53 +02:00
Maxence G
67870efd67
Fix length
2021-05-29 15:46:09 +02:00
Maxence G
3e08735374
run ktlint
2021-05-29 15:42:15 +02:00
Maxence G
075b80c01f
Fix new active server getter
2021-05-29 15:30:01 +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
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
ee9c478bfe
Make parentId nullable in TrackCollectionModel
2021-05-28 12:35:29 +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
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
8567fc0105
Fix warning in FileLoggerTree.kt
2021-05-26 23:22:13 +02:00
tzugen
e059d737bc
Adopt changes from stricter nullabilities
2021-05-26 23:21:56 +02:00
tzugen
b30584f99c
Make Entry always have an id
2021-05-26 23:20:19 +02:00
tzugen
3257fb9153
Make Entry always have an id
2021-05-26 23:19:16 +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
f510638571
Fix KtLint issue
2021-05-26 08:49:23 +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
3c4a5064b0
change exception type
2021-05-25 19:30:02 +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
2db7d2daf1
Hide cluttering koin warning, which was added in 2.2.0 and will be removed again in 2.3.0
...
See https://github.com/InsertKoinIO/koin/issues/939 for more details
2021-05-22 11:01:12 +02:00
tzugen
79fd1ac84f
Remove resolved issues from baselines
2021-05-21 23:34:57 +02:00
tzugen
0500bd5e88
Handle also UnknownHostException in GenericListModel
2021-05-21 23:34:57 +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
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
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
f1713fdbd3
Use a recently maintained version of DSLV, which compiles correctly with newer Gradles.
2021-05-21 09:16:06 +02:00
tzugen
387119a90c
Make the CI fail if any new lint issues (warnings or errors) are added.
2021-05-20 18:16:55 +02:00
tzugen
d26f8595ab
Manually disable IconMissingDensityFolder
2021-05-20 18:16:55 +02:00
tzugen
dff054847a
Regenerate lint baseline
...
Removes 238 fixed issues
Adds 177 previously unlisted issues
2021-05-20 18:16:55 +02:00
tzugen
3a05f30907
Fix more warnings
2021-05-20 18:16:55 +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
8b01118233
Remove local copy of com.mobeta.android.dslv in favour of importing it from maven
2021-05-20 18:16:42 +02:00
tzugen
5f08e7e7cd
Create a new SelectMusicFolderViewHolder instance when the Adapter is recreated,
...
instead of reusing an old one. This lead to a crash.
Also make the AlbumList use the correct placeholder,
remove an unused resource file, and update the placeholder to look less clumsy.
2021-05-18 08:50:04 +02:00
tzugen
2cf80707f7
Correctly display the folder header also in album view
...
Also fix a number of smaller issues
2021-05-16 21:06:04 +02:00