Commit Graph

24 Commits

Author SHA1 Message Date
Niels van Velzen
e710e573ea Use data object for RecommendedServerIssue.MissingVersion 2024-05-19 09:26:55 +02:00
Niels van Velzen
5d2ccff6d9 Update generated sources 2024-04-27 22:10:52 +02:00
Niels van Velzen
4412331e95 Update generated sources 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
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
7a639f8138 Improve RecommendedServerDiscovery speed significantly 2022-09-06 19:40:30 +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
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
GiviMAD
18ca13abdf
Add compatibility util to collect flows from Java (#338)
* add compatibility util to consume flows from Java

* add api changes

* Make JavaFlow static and tweak the behavior a bit

Co-authored-by: Niels van Velzen <git@ndat.nl>
2021-12-11 18:51:49 +01:00
Niels van Velzen
158f9d08d0
Update binary-compatibility-validator to 0.8.0-RC and re-enable jellyfin-core api validation again (#326) 2021-10-04 17:19:19 +00:00
Niels van Velzen
3fefad0118 Convert jellyfin-core to Kotlin Multiplatform 2021-08-21 10:56:05 +02:00
Niels van Velzen
bb63d7a488
Emit issue information in RecommendedServerDiscovery (#296) 2021-07-15 10:26:37 +00:00
Niels van Velzen
3eeac38aad Update generated sources 2021-06-13 11:07:18 +02:00
Niels van Velzen
a7c163496b
Improve usage of Jellyfin class in Java code (#268) 2021-06-05 17:28:07 +02:00
Niels van Velzen
97e49bb46c Refactor discovery code to make more sense 2021-05-09 22:05:24 +02:00
Niels van Velzen
f3d10018e4
Add HttpClientOptions to configure following redirections and http timeout (#246)
- Add option to KtorClient to disable redirection following and set the connection timeout
  - Uses the previous behavior by default
  - Timeout is now 6 seconds by default (was 10)
- Throw exceptions for bad states in KtorClient
  - InvalidStatusException - when the status is not in the 100-299 range
  - TimeoutException - when the http request was not able to connect to the server within the timeout
  - InvalidContentException - when the response is incorrect (different JSON schema)
2021-05-09 19:14:43 +02:00
Niels van Velzen
4b3e640175 Rename recommendedVersion to minimumVersion
The recommended version should always be the latest server version (which is stored in apiVersion). The minimumVersion should be the latest server version without significant API changes and is manually updated.
2021-04-28 21:51:24 +02:00
Niels van Velzen
a1d7596c4e
Add deviceInfo and clientInfo getters in Jellyfin class (#232) 2021-04-26 17:51:04 +02:00
Niels van Velzen
4d1e1e33cb
Replace DiscoveryServerInfo (manual) with ServerDiscoveryInfo (generated) and move ServerVersion out of discovery package (#224) 2021-04-14 23:36:41 +02:00
Niels van Velzen
f854b36443 Add .api files 2021-04-03 10:59:54 +02:00