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

Jellyfin/Emby: Check partial sync support #185

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Conversation

luigi311
Copy link
Owner

  • add is_partial_update_supported method to each class to validate given version against earliest known supported version
  • add get_server_version to get server version number
  • add update_partial parameter to user update function, deciding whether or not to allow partial updates

@luigi311
Copy link
Owner Author

@awakenedhaggis can you take a look at this. I cherrypicked your commit but looks like it lost you as the author. Can you make a PR with a commit similar to this that way it marks you as the author. I rebased it on main and used packaging version to handle the version checks instead of manually checking it.

- add `is_partial_update_supported` method to each class to validate given version against earliest known supported version
- add `get_server_version` to get server version number
- add `update_partial` parameter to user update function, deciding whether or not to allow partial updates
@luigi311
Copy link
Owner Author

luigi311 commented Jul 15, 2024

looks like i had some typos in the original implementation so it should be good to go now. Can you clean with whitespace on your commit, if not ill clean it up afterwards since im going to clean up a lot of the formatting issues

@awakenedhaggis
Copy link

Hi @luigi311 ! Is there any specific style guides you want to follow? I can set up a config for black or your preferred formatter

@luigi311
Copy link
Owner Author

i want to switch over to using ruff but ive just been using the default black options for now.

@awakenedhaggis
Copy link

On my end looks like all the author lines were preserved! Might be better to keep this PR so it credits your lines properly

I think unless theres anything glaring here there can be a separate PR for global formatting changes, to keep the change history a bit cleaner if anything

@luigi311 luigi311 merged commit 44e42f9 into main Jul 16, 2024
10 of 11 checks passed
@luigi311 luigi311 deleted the partial_support_check branch July 16, 2024 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants