Niels van Velzen
b4004adaa6
Remove deprecated setters from ApiClient
2024-09-23 07:43:51 +02:00
Niels van Velzen
3613fa5545
Update code for Clikt 5
Repo / Label merge conflict / Triage (push) Failing after 1s
SDK / Documentation / Lint (push) Failing after 1s
SDK / Documentation / Build Vitepress (push) Failing after 1s
SDK / Documentation / Build Dokka (push) Failing after 1s
SDK / Documentation / Deploy (push) Has been skipped
SDK / Lint / Lint (push) Failing after 1s
SDK / Publish / Publish (push) Failing after 1s
SDK / Test / Test (17) (push) Failing after 1s
SDK / Test / Test (21) (push) Failing after 1s
SDK / Test / Validate binary compatibility (push) Failing after 1s
SDK / Test / Verify OpenAPI sources (push) Failing after 1s
SDK / Unstable branch / Update (push) Failing after 1s
2024-09-22 10:33:25 +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
a2533c8e1f
Remove userId property from ApiClient
2024-04-27 22:10:52 +02:00
Niels van Velzen
d5ed33ecca
Improve logging in kotlin-cli sample
2024-04-17 03:53:44 +02:00
Niels van Velzen
27e29758d5
Set userId in kotlin-cli libraries sample
2024-03-05 22:18:20 +01:00
Niels van Velzen
15bf8bc1b5
Remove bitrate command from kotlin-cli sample
2024-02-16 14:00:44 +01:00
Niels van Velzen
a7469b6374
Remove source and target compatibility options
2024-02-04 14:57:51 +01:00
Niels van Velzen
8cb29aae6a
Update java-cli sample to use UserApiExtensionsKt
...
This fixes the builds of the unstable branch because the "password" parameter is removed from the AuthenticateUserByName request.
2023-01-16 11:47:00 +01:00
Niels van Velzen
7a639f8138
Improve RecommendedServerDiscovery speed significantly
2022-09-06 19:40:30 +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
c28f76ff69
Support username and password arguments in kotlin-cli sample ( #350 )
2022-01-05 18:56:38 +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
Niels van Velzen
bb14bf6d19
Add Api instances to ApiClient as extension properties ( #324 )
...
* Add Api interface as super for all Api classes
* Update generated sources
* Make ApiClient abstract and add getOrCreateApi function
* Add ApiClient.webSocket extension
* Add ApiClientExtensionsBuilder
* Update generated sources
* Update api usages to new syntax
* Fix package names
* Add api suffix back
2021-09-20 21:49:30 +02:00
Niels van Velzen
ea90ef1cdf
Return ApiClient from Jellyfin.createApi function
2021-08-28 13:32:03 +02:00
Niels van Velzen
bc979d632c
Move jellyfin-platform-android into jellyfin-core
2021-08-22 13:10:01 +02:00
Niels van Velzen
bb63d7a488
Emit issue information in RecommendedServerDiscovery ( #296 )
2021-07-15 10:26:37 +00:00
Niels van Velzen
4668b3d6ce
Fix all linter issues from 1.0.z release ( #290 )
2021-07-08 23:03:14 +02:00
Niels van Velzen
b0927b962c
Downgrade Java sample to use Java 8 features
2021-06-16 11:01:40 +02:00
Niels van Velzen
816d381ed6
Add java version of the cli sample
2021-06-16 10:48:49 +02:00
Niels van Velzen
f769e2724e
Update kotlin-cli sample to use new userId property
2021-06-13 11:07:17 +02:00
Niels van Velzen
96d66603bb
Add bitrate command to cli sample
2021-05-29 14:17:18 +02:00
Niels van Velzen
97e49bb46c
Refactor discovery code to make more sense
2021-05-09 22:05:24 +02:00
Niels van Velzen
cabe8258b6
Add address discovery to kotlin-cli
2021-05-09 19:25:30 +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
b72ecc6fd3
Update Kotlin to version 1.5.0 ( #240 )
2021-05-05 11:00:04 +00:00
Niels van Velzen
55ea8811c9
Fix, suppress or modify all Detekt linter issues ( #231 )
2021-04-18 17:47:03 +02:00
Niels van Velzen
8416776dbd
Use centralized dependency versions for all project dependencies
2021-04-10 11:29:35 +02:00
Niels van Velzen
711482cd44
Use type-safe project dependencies
2021-04-10 11:29:34 +02:00
Niels van Velzen
6d4084ad47
Update kotlin-cli README to use the new project name
2021-03-19 19:27:05 +01:00
Niels van Velzen
45daed9f0c
Rename "org.jellyfin.apiclient" package to "org.jellyfin.sdk"
2021-03-19 19:27:04 +01:00
Niels van Velzen
a65cf13c93
Add "observe" command to CLI sample to listen for WebSocket messages ( #177 )
2021-02-20 15:20:00 +01:00
Niels van Velzen
6d7c8ddd90
Replace kotlinx.cli with Clikt
2020-10-31 12:23:56 +01:00
Niels van Velzen
05379aba57
Rename kotlin-console to kotlin-cli
2020-10-31 11:11:30 +01:00
Niels van Velzen
acda794cb9
Miscellaneous fixes
2020-10-30 22:11:52 +01:00
Niels van Velzen
a3981aeebd
Add recommended server discovery to find the best server candidate from a given input
2020-10-23 11:23:46 +02:00
Niels van Velzen
4742870eaa
Add more information to the Response class
2020-10-10 13:12:25 +02:00
Niels van Velzen
c17cc458c0
Add "jellyfin-" prefix to Gradle modules and rename "library" to "core"
2020-10-07 21:00:04 +02:00
Niels van Velzen
e75c5e3c23
Fix all markdown linter issues
2020-10-03 21:55:59 +02:00
Niels van Velzen
a82283fc45
Improve discovery code
...
- Rewritten addressCandidates function with a lot more options
- Added unit tests for addressCandidates
- Changed some names to be more logical
- Changed some kdoc to be more clear
- Use kotlinx.serialization instead of GSON (also dropped GSON from the dependencies)
- Remove unused Volley dependency
- Updated logging in changed code to slf4j
2020-09-27 17:25:41 +02:00
Niels van Velzen
2875bbcdae
Fix serialization issue, token issue and add ping command to cli
2020-09-17 20:16:39 +02:00
Niels van Velzen
ad2c42e887
Update sample
2020-09-17 19:00:13 +02:00
Niels van Velzen
ed61f9dc6a
Remove old API, disable samples and some functions for now
...
Disabled items will be enabled again when the new API is implemented
2020-09-10 22:20:54 +02:00
Niels van Velzen
2f5b8f13ca
Use buildSrc in new modules
2020-09-09 20:23:15 +02:00
Niels van Velzen
2a3b62374e
Add buildSrc gradle project which contains build logic and dependencies
2020-08-15 11:57:34 +02:00
Niels van Velzen
17c4a92ab3
Support json bodies in the garbage http client ✔
2020-08-07 20:59:53 +02:00
Bill Thornton
a3737a1ebf
Fix tabs
2020-08-05 09:29:32 -04:00
Bill Thornton
b666b94519
Add listing users to cli
2020-08-05 00:27:49 -04:00