Title: `set_async` on read-only properties · Issue #33 · python-sdbus/python-sdbus · GitHub
Open Graph Title: `set_async` on read-only properties · Issue #33 · python-sdbus/python-sdbus
X Title: `set_async` on read-only properties · Issue #33 · python-sdbus/python-sdbus
Description: Hey! I'm still implementing MPRIS in my music player, and I find myself wanting to notify the clients about changes in the state of the application. Whenever the player does something internally (play, pause, etc.), I want it to be refle...
Open Graph Description: Hey! I'm still implementing MPRIS in my music player, and I find myself wanting to notify the clients about changes in the state of the application. Whenever the player does something internally (p...
X Description: Hey! I'm still implementing MPRIS in my music player, and I find myself wanting to notify the clients about changes in the state of the application. Whenever the player does something internall...
Opengraph URL: https://github.com/python-sdbus/python-sdbus/issues/33
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`set_async` on read-only properties","articleBody":"Hey! I'm still implementing MPRIS in my music player, and I find myself wanting to notify the clients about changes in the state of the application. Whenever the player does something internally (play, pause, etc.), I want it to be reflected on the clients connected to the player, so I need to set the properties from within. However, it seems like I can't do that without making the properties externally writeable (i.e. by adding setters). Is there a way to add private setters?","author":{"url":"https://github.com/ivan-avalos","@type":"Person","name":"ivan-avalos"},"datePublished":"2023-01-07T09:46:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/33/python-sdbus/issues/33"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d9e21bf9-16b6-3132-70b3-2e114d05246c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2A6:8096B:6D4814:8E82BC:698D179E |
| html-safe-nonce | 16adbbd91f6c9a599e63daae38407217400c1f735d9d3a254fb31bf1221ddbc7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkE2OjgwOTZCOjZENDgxNDo4RTgyQkM6Njk4RDE3OUUiLCJ2aXNpdG9yX2lkIjoiNjU0MzYyMzE2NTMzMDY1OTIzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 13fc0f24d292a36aa6e278c4a69a3986712cdfb7512c4fde4d3f0467a6c52e1a |
| hovercard-subject-tag | issue:1523661860 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-sdbus/python-sdbus/33/issue_layout |
| twitter:image | https://opengraph.githubassets.com/45a97604c56a22427faacc5da3461edda07f4a0c3a9eb26aafc5f036a6ad7399/python-sdbus/python-sdbus/issues/33 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45a97604c56a22427faacc5da3461edda07f4a0c3a9eb26aafc5f036a6ad7399/python-sdbus/python-sdbus/issues/33 |
| og:image:alt | Hey! I'm still implementing MPRIS in my music player, and I find myself wanting to notify the clients about changes in the state of the application. Whenever the player does something internally (p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ivan-avalos |
| hostname | github.com |
| expected-hostname | github.com |
| None | c25395580e1e3bf82d705e0982a1b24255366088720fef945f1493d5e3e67954 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-sdbus/python-sdbus git https://github.com/python-sdbus/python-sdbus.git |
| octolytics-dimension-user_id | 88226657 |
| octolytics-dimension-user_login | python-sdbus |
| octolytics-dimension-repository_id | 311269257 |
| octolytics-dimension-repository_nwo | python-sdbus/python-sdbus |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 311269257 |
| octolytics-dimension-repository_network_root_nwo | python-sdbus/python-sdbus |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 94219dcb9c044792ec271fd5b23c73419858bef7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width