Commit Graph

97 Commits

Author SHA1 Message Date
Niels van Velzen
2e38c0dc72 Remove specific HTTPS exceptions 2024-05-27 08:33:34 +02:00
Niels van Velzen
5de3db156c Disable flaky unit tests 2024-05-19 09:27:08 +02:00
Niels van Velzen
e710e573ea Use data object for RecommendedServerIssue.MissingVersion 2024-05-19 09:26:55 +02:00
Niels van Velzen
5a4ba42cc3 Fix javadoc using wrong name 2024-05-11 21:51:35 +02:00
Niels van Velzen
5ddff886b5 Rewrite WebSocket code to be simpler and coroutine based 2024-05-10 13:34:44 +02:00
Niels van Velzen
12bd493145 Flow on Dispatchers.IO by default in LocalServerDiscovery 2024-05-07 07:32:59 +02:00
Niels van Velzen
e93a46f103 Fix AddressCandidateHelper not generating proper HTTPS candidates 2024-05-03 22:23:57 +02:00
Niels van Velzen
4c78a61312 Replace Url.copy with URLBuilder 2024-05-03 22:23:57 +02:00
Niels van Velzen
5d2ccff6d9 Update generated sources 2024-04-27 22:10:52 +02:00
Niels van Velzen
a2533c8e1f Remove userId property from ApiClient 2024-04-27 22:10:52 +02:00
Niels van Velzen
b8716c3a33 Increase minimum supported Jellyfin version to 10.9.0 2024-03-26 15:44:00 +01:00
Niels van Velzen
c61075e93c
Lower Java toolchain version to 8 (#865) 2024-02-04 16:08:44 +01:00
Niels van Velzen
ff674c897e Remove Dokka from unpublished modules 2024-02-04 14:57:51 +01:00
Niels van Velzen
0fa8c28dd5 Update javadocJar tasks to not use deprecated buildDir 2024-02-04 14:57:51 +01:00
Niels van Velzen
ad512d1867 Specify jvmToolchain 2024-02-04 14:57:51 +01:00
Niels van Velzen
4412331e95 Update generated sources 2024-02-04 14:57:51 +01:00
Niels van Velzen
a7469b6374 Remove source and target compatibility options 2024-02-04 14:57:51 +01:00
Niels van Velzen
d4a6a10850 Update multiplatform configuration 2024-02-04 14:57:51 +01:00
Niels van Velzen
e101e25740 Update generated sources 2023-09-02 15:03:47 +02:00
Niels van Velzen
c79081d0cb Various tweaks to extended SecureConnectionException exceptions 2023-09-02 14:31:27 +02:00
ali.al-iusefi
be2c217bfe handle ssl errors correctly 2023-09-02 14:31:27 +02:00
Niels van Velzen
a63f3e5d6e Split KtorClient to separate module 2023-05-09 13:04:02 +02:00
Niels van Velzen
cd764ec8b4 Fix invalid kdoc in DiscoveryService 2023-05-09 12:40:34 +02:00
Niels van Velzen
5a8da03321 Remove unused androidx libraries 2023-04-06 23:42:57 +02:00
Niels van Velzen
16ab373a70 Migrate Android namespace to build file, remove deprecated target SDK 2023-04-06 23:41:38 +02:00
Yash-Garg
f22735c7b4 refactor: convert Long to Duration for HttpClientOptions 2023-01-29 14:15:50 +01:00
Niels van Velzen
b87c21fdae Bump Android SDK to 33 2023-01-14 00:10:37 +01:00
Niels van Velzen
04ccbf9acf Migrate to new Kotlin Multiplatform source set layout 2022-12-28 20:11:44 +01:00
Niels van Velzen
5848050d72 Configure core-android publishing 2022-12-28 13:56:32 +01:00
Jarne Demeulemeester
a61ef50fa8
Use broadcast address 255.255.255.255 for server discovery (#484)
* Use multicast for server discovery

* Update api files

* Use broadcast address 255.255.255.255 for server discovery
2022-11-07 18:48:15 +01:00
Niels van Velzen
4290cf7a5a Fallback to manufacturer + model when device name is null 2022-09-18 16:05:00 +02:00
Niels van Velzen
7a639f8138 Improve RecommendedServerDiscovery speed significantly 2022-09-06 19:40:30 +02:00
Niels van Velzen
f1115e6611 Fix AddressCandidateHelper issues with empty input and invalid ports 2022-09-06 19:30:05 +02:00
Jarne Demeulemeester
f8db631fee Remove READ_EXTERNAL_STORAGE permission 2022-08-25 19:31:35 +02:00
Niels van Velzen
8540a61898 Bump Android compile and target SDK to 32 (Android 12L) 2022-08-11 18:54:06 +02:00
Niels van Velzen
c2fa8d2f5e Update build.gradle.kts 2022-08-03 21:24:02 +02:00
Niels van Velzen
df7102f41d Catch all ApiClientException instances in RecommendedServerDiscovery 2022-08-02 13:58:52 +02:00
Niels van Velzen
1c674abd1d Remove catching Throwable exceptions
This fixes the TooGenericExceptionCaught linter issue. We ignored it, but it actually ended up causing issues. When a coroutine is cancelled it often throws a CancellationException. This was caught and converted to an ApiClientException causing coroutine cancellation to stop working. This change removes the places that catch Throwable, and they may throw exceptions now. We'll need to watch this and possibly add new catch branches later.
2022-07-29 21:33:49 +02:00
Niels van Velzen
369277b5cb
Allow client to change minimum server version (#434)
This mostly affects the RecommendedServerDiscovery rejecting servers not meeting the hardcoded minimum server version, but the option value can be used by the client too.
2022-07-08 18:49:21 +02:00
Niels van Velzen
845776f71b Increase minimum supported Jellyfin version to 10.8.1 2022-07-05 17:39:51 +02:00
Niels van Velzen
010e54a348 Suppress false positive in Android linter 2022-06-15 19:21:16 +02:00
Niels van Velzen
a687223c51 Migrate unit tests to Kotest 2022-04-30 15:51:04 +02:00
Niels van Velzen
0e99c75860
Update minimumVersion to 10.8 (#379) 2022-04-17 17:32:39 +02:00
Niels van Velzen
a56bdbf340
Add OkHttpWebsocketSession for JVM and Android targets (#366) 2022-04-04 21:58:51 +02:00
Niels van Velzen
5dd9e24984
WebSocket API rewrite (#352)
* WebSocket API rewrite
* Review changes
2022-03-26 20:45:43 +01:00
Niels van Velzen
135c1c5198
Allow custom device info in Android target (#353) 2022-02-05 20:27:10 +01:00
Niels van Velzen
e14969e998 Update generated files 2021-12-31 12:25:48 +01:00
Niels van Velzen
287c1498d9 Rewrite Java callback helpers to support error handling and non-api functions 2021-12-31 12:25:48 +01:00
Niels van Velzen
012f76f7f3
Disable wildcard imports (#344) 2021-12-23 13:41:22 +01:00
Niels van Velzen
61f853f990 Update imports
Flow.collect no longer needs to be imported when it has a collector
2021-12-22 10:49:38 +01:00