1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2025-02-09 08:18:50 +01:00

92 Commits

Author SHA1 Message Date
tzugen
53a1a5545a
Formatting.
Disable line length check in detekt. It's being guarded by KtLint already.
2022-07-06 11:16:52 +02:00
tzugen
ad54db5bcb
Make Ids composite of Item Id + Server Id 2022-07-06 11:16:52 +02:00
tzugen
8490f7115d
Add Offline support for tracks 2022-07-06 11:16:52 +02:00
tzugen
3a3bd10fdb
Add AlbumDao, rename getArtist to getAlbumsOfArtist 2022-07-06 11:16:52 +02:00
tzugen
e7f8fa21cb
Merge update build tools #755 by Holger Müller
Squashed commit of the following:

commit 4491c65b1bfa8f507e9c998878254d61bc52f962
Merge: 51ff716f 77865a14
Author: tzugen <67737443+tzugen@users.noreply.github.com>
Date:   Tue Jun 21 20:50:05 2022 +0200

    Merge branch 'develop' into gradle-update

commit 51ff716ff5fc8aeb29bc557844747c0127ab1f78
Author: Holger Müller <github@euhm.de>
Date:   Tue Jun 21 20:38:52 2022 +0200

    fixed lint warning

commit 18c31a5704e7d92a04009e2f3ed8f8b9ca28b577
Author: Holger Müller <github@euhm.de>
Date:   Tue Jun 21 20:38:35 2022 +0200

    fixed lint warning

commit 603654c262ed86a66b4127513764cd252cdedfff
Author: Holger Müller <github@euhm.de>
Date:   Tue Jun 21 20:37:51 2022 +0200

    API is > lollipop ... target removed

commit b38a7211de0f206465640d39f8f3189695afbd38
Author: Holger Müller <github@euhm.de>
Date:   Tue Jun 21 20:37:07 2022 +0200

    new created after fixes

commit 4929a526f7e9154755cae2c16fdf431550ae2c2a
Author: tzugen <tzugen@riseup.net>
Date:   Tue Jun 21 10:43:16 2022 +0200

    Disable ObsoleteLintCustomCheck

commit d0c30f0b6b1d4de2f3c46a166a4f1058223ad3a8
Author: tzugen <tzugen@riseup.net>
Date:   Tue Jun 21 10:14:06 2022 +0200

    Update more libs

commit e2fa447bbfbd19119393297c19de0f3237e1ccd3
Merge: d4ead495 ff9c7b24
Author: tzugen <67737443+tzugen@users.noreply.github.com>
Date:   Tue Jun 21 09:47:03 2022 +0200

    Merge branch 'develop' into gradle-update

commit d4ead49548d11f51dd9c29478972dcd4553d352a
Merge: 2dac6a7e 9a73d72f
Author: Holger Müller <github@euhm.de>
Date:   Tue Jun 21 08:50:42 2022 +0200

    merged with develop branch

commit 2dac6a7e01e4ce5dc619426553ea08743bd9524e
Author: Holger Müller <github@euhm.de>
Date:   Mon Jun 20 21:45:22 2022 +0200

    update to android image tag 2022.06.1

commit f3dc259c390c256a66f96c3f003e34daf0fdea14
Author: Holger Müller <github@euhm.de>
Date:   Mon Jun 20 20:56:37 2022 +0200

    rebuild lint-baseline.xml

commit c71bc1212a8570f8ee99a80926c7b3b6036c672f
Author: Holger Müller <github@euhm.de>
Date:   Mon Jun 20 20:55:00 2022 +0200

    removed unneeded cast

commit eca136dabedab838e8a02be1a6fd740c4d0934ec
Author: Holger Müller <github@euhm.de>
Date:   Fri Jun 17 23:58:37 2022 +0200

    commit signed

commit 540f47633485cddeb4e68626532e54707a66bab8
Author: Holger Müller <github@euhm.de>
Date:   Fri Jun 17 23:40:59 2022 +0200

    commit signed

    Signed-off-by: Holger Müller <github@euhm.de>

commit 986bd013a49afc56ff8992634f2ce126339eecfc
Author: Holger Müller <github@euhm.de>
Date:   Fri Jun 17 23:27:20 2022 +0200

    push to latest gradle version, set targetSdk to 33

Signed-off-by: tzugen <tzugen@riseup.net>
2022-06-22 13:35:19 +02:00
tzugen
66443ba018
Remove Jacoco 2022-06-16 16:40:59 +02:00
tzugen
669b51c0d2
Merge remote-tracking branch 'origin/develop' into media3-flat 2022-05-30 16:11:59 +02:00
i-do-cpp
057644f592
Support HTTP basic authentication 2022-05-05 20:41:04 +02:00
tzugen
1d236aa6e3
RM unused PlayerState.kt 2022-04-21 14:52:11 +02:00
tzugen
9779844620
Solve more simple... 2022-04-07 15:29:24 +02:00
tzugen
5230ce011d
Make full body logging an optional debug setting. 2022-04-07 15:15:08 +02:00
tzugen
922022ab03
Switch to Media3 2022-04-03 23:59:18 +02:00
tzugen
892b441c0d
Move Track and Album to their own files 2022-03-27 16:39:35 +02:00
tzugen
2de59b2206
Rename MusicDirectory.Entry to Track to make more clear what it is 2022-03-27 16:39:35 +02:00
tzugen
f0447105d2
Fix methods in integration tests 2022-03-19 18:39:13 +01:00
tzugen
f6f9683a9c
Migrate some old calls 2022-03-19 17:39:59 +01:00
tzugen
e153565086
Update Okhttp, Jackson and retrofit 2022-03-19 17:07:16 +01:00
Nite
5962cc2add
Merge branch 'develop' into dependabot/gradle/versions.kotlin-1.6.10
Added temporary fix for Koin bug
2022-02-08 18:18:58 +01:00
tzugen
10b83805a9
Create a correctly typed list from getMusicDirectory() 2021-12-21 13:31:58 +01:00
tzugen
1eca5a756e
Use new toml file for version declaration 2021-12-20 21:59:57 +01:00
tzugen
c0ef964a3e
Run KtlintFormat 2021-12-20 19:41:55 +01:00
tzugen
f2948cd3db
Various fixes & cleanups 2021-12-02 13:20:08 +01:00
tzugen
f1e789ea9b
Fixed search, put compareTo method into Interface 2021-11-30 21:21:04 +01:00
tzugen
bdac092eff
Make SearchResults expandable,
finish music folder support,
change Service interface of AlbumList to return listOf(Album)
2021-11-30 00:47:03 +01:00
tzugen
aa33d7c882
Cleanup nested functions on OfflineMusicService and make it return the correct MusicDirectory type 2021-11-29 20:14:11 +01:00
tzugen
82d90a6aee
Fix context menus.
Also cleanup files, rename layouts
2021-11-28 19:13:25 +01:00
tzugen
4e37a2483c
Add an MusicDirectory.Album model to represent the APIAlbum model
It became necessary in order to have different types for Tracks vs Albums,
instead of just differentiating by isDirectory: Boolean.

Also:
* Fix Album display in SearchFragment.kt
* Use same ids in all lists
2021-11-28 19:13:24 +01:00
tzugen
f8a87f7c85
BookmarksFragment is now based on TrackCollectionFragment
Also start SearchFragment.kt
2021-11-28 19:13:24 +01:00
tzugen
5f716f5008
Use MultiTypeAdapter as a backend for RecyclerView stuff 2021-11-25 16:53:22 +01:00
Nite
2847a51674
Fixed autoplay
Fixed uncaught exception
Fixed playlist loading from file
2021-10-23 16:09:49 +02:00
tzugen
1d5b335f97
Add Download Fragment which show active downloads 2021-10-23 15:58:32 +02:00
Nite
eff1a714e2
Fixed album lists in landscape mode
Fixed starring on album lists
Fixed reading starred state on the Subsonic API
2021-10-12 15:16:40 +02:00
tzugen
ad81f3bf6d
Use semantically correct API endpoint when streaming/downloading.
Fixes #257
2021-08-28 11:39:32 +02:00
tzugen
d83cf0917c
Fix compiler warning 2021-08-26 22:58:39 +02: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
c99c4478f2
Remove file storage code from RESTAPI class 2021-06-29 18:01:26 +02:00
tzugen
36dccc845b
Use ListAdapter class to calculate Diff off the main thread 2021-06-20 08:31:12 +02:00
tzugen
57d740af12
Properly generate the Video stream url, without actually making a request! 2021-06-14 20:53:55 +02:00
tzugen
5e4c6cc627
I made currentApiVersion nullable here two commits ago while testing,
but it doesn't need to be.
Also update some comments
2021-06-11 10:24:21 +02:00
tzugen
619f441790
Fix tests 2021-06-09 20:23:22 +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
9161f9dc99
Move ImageLoader module into main module. 2021-06-07 13:26:08 +02:00
tzugen
f8efb6d592
Update a test to reflect new arguments 2021-06-07 13:26:07 +02:00
tzugen
0989ee20a6
Remove LegacyImageLoader, use Picasso as default 2021-06-07 13:26:07 +02:00