Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some unused client capabilities and sync code #10812

Merged
merged 1 commit into from
Jan 6, 2024

Conversation

nielsvanvelzen
Copy link
Member

Remove some legacy stuff that clutters the API.

Changes

  • Remove unused stuff from client capabilities
  • Remove left over sync code from various places

Issues

@nielsvanvelzen nielsvanvelzen changed the title Remove some unused device capabilities and sync Remove some unused client capabilities and sync code Jan 4, 2024
@nielsvanvelzen
Copy link
Member Author

(OpenAPI diff fails to generate because I touched BaseItemDto)

@crobibero crobibero merged commit 55916a0 into jellyfin:master Jan 6, 2024
18 of 21 checks passed
@nielsvanvelzen nielsvanvelzen deleted the nvv-remove-sync-stuff branch January 6, 2024 20:36
@janvs0
Copy link

janvs0 commented Jan 12, 2024

Hi @nielsvanvelzen this breaks logging in using jellyfin-androidtv 0.16.4 for me (but still works fine on the non-tv android client). Looking at the logcat excerpt below I think the unused capabilities also need removing (or allowed to be null) from jellyfin-sdk-kotlin.

kotlinx.serialization.MissingFieldException: Fields [SupportsContentUploading, SupportsSync] are required for type with serial name 'org.jellyfin.sdk.model.api.ClientCapabilities', but they were missing at path: $.SessionInfo.Capabilities 

@nielsvanvelzen
Copy link
Member Author

I expected this change to break the Android TV app yes. We will start on support for 10.9 once the first beta for it is out (although removing those fields from the request could be done now).

skysbird pushed a commit to skysbird/jellyfin that referenced this pull request Feb 3, 2024
KrzaQ added a commit to KrzaQ/jellyfin that referenced this pull request Feb 13, 2024
@nielsvanvelzen nielsvanvelzen added the enhancement Improving an existing function, or small fixes label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving an existing function, or small fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants