-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Graph API supports bi-directional updates for Releases (Playnite Games) #711
Graph API supports bi-directional updates for Releases (Playnite Games) #711
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #711 +/- ##
==========================================
- Coverage 61.00% 51.12% -9.89%
==========================================
Files 98 103 +5
Lines 2003 2173 +170
Branches 442 482 +40
==========================================
- Hits 1222 1111 -111
- Misses 773 993 +220
- Partials 8 69 +61
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
16f8cae
to
0f2c8ef
Compare
MQTT messages are not structured to be persistent for entity updates. This ensures updates applied in Playnite Web or Playnite are received to keep the two in sync, even if one is offline. Additionally, the device ID becomes important to prevent infinite loop updates of Playnite or Playnite Web receiving update messages that it itself broadcast. Note the MQTT documentation for the changes to message formats. BREAKING CHANGE
0f2c8ef
to
123d770
Compare
Now that update messages are persisted, syncing the library can and should utilize these. This ensures all data is synced, even if Playnite Web goes down in the middle. The only exception to this at the moment are game assets (cover art, icons and background images).
61da4e8
to
29ca584
Compare
55d34bd
to
8ee9fc4
Compare
# [11.0.0](v10.4.0...v11.0.0) (2025-02-07) * Graph API supports bi-directional updates for Releases (Playnite Games) ([#711](#711)) ([5cd3215](5cd3215)), closes [#569](#569) [#696](#696) [#461](#461) ### Features * persist connection mqtt messages ([0621062](0621062)), closes [#569](#569) ### wip * update messages are persistent ([123d770](123d770)) ### BREAKING CHANGES * - MQTT update messages have changed. The message topic taxonomy, payload shape, and persistence have changed. Update and connection messages are not persistent. Bi-directional updates rely on persistent message in MQTT. Please see the setup documentation for an example Mosquitto configuration file to enable persistence. Please see MQTT documentation for changes to message formats. * CHANGE
🎉 This PR is included in version 11.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Playnite Web Releases can have certain properties updated via the Graph API that will reflect in both Playnite and Playnite Web.
The following cases are handled:
Closes #569
Closes #696
Relates to #461
Closes #668
BREAKING CHANGE - MQTT update messages have changed. The message topic taxonomy, payload shape, and persistence have changed. Update and connection messages are not persistent. Bi-directional updates rely on persistent message in MQTT. Please see the setup documentation for an example Mosquitto configuration file to enable persistence. Please see MQTT documentation for changes to message formats.