René's URL Explorer Experiment


Title: Getting service info when a single server is removed · Issue #1235 · python-zeroconf/python-zeroconf · GitHub

Open Graph Title: Getting service info when a single server is removed · Issue #1235 · python-zeroconf/python-zeroconf

X Title: Getting service info when a single server is removed · Issue #1235 · python-zeroconf/python-zeroconf

Description: Hey everyone, I note that the listener's add_service() callback has available to it the coordinates for the custom service that I am tracking. Whenever it comes online this callback can use get_service_info() to get the host and port. I ...

Open Graph Description: Hey everyone, I note that the listener's add_service() callback has available to it the coordinates for the custom service that I am tracking. Whenever it comes online this callback can use get_ser...

X Description: Hey everyone, I note that the listener's add_service() callback has available to it the coordinates for the custom service that I am tracking. Whenever it comes online this callback can use get...

Opengraph URL: https://github.com/python-zeroconf/python-zeroconf/issues/1235

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Getting service info when a single server is removed","articleBody":"Hey everyone,\r\n\r\nI note that the listener's `add_service()` callback has available to it the coordinates for the custom service that I am tracking. Whenever it comes online this callback can use `get_service_info()` to get the host and port.\r\n\r\nI note that the listener's `remove_service()` callback cannot try to obtain the host and port of the service that just went offline by querying `get_service_info()`. The latter will return `None`.\r\n\r\nMy application would like to track a particular service and update a GUI accordingly. When the service comes online it's easy to add the host and port to some kind of GUI list, but I cannot figure out how to determine _which_ server just went down when `remove_service()` callback is invoked.\r\n\r\nHow can I get this information?\r\n\r\nMaybe I'm going about this all the wrong way, but presumably this is a common issue others have had in the past.","author":{"url":"https://github.com/kiplingw","@type":"Person","name":"kiplingw"},"datePublished":"2023-08-27T01:53:10Z","url":"https://github.com/python-zeroconf/python-zeroconf/issues/1235"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:356b86ed-5427-1583-872d-201d6faf241f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBBD4:1652B0:56E2:71C9:6B007D34
html-safe-nonce40f1c670b03fa4d0c16722a9cbf8c585b2dda5387c7837c4324c635a6cf20566
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkQ0OjE2NTJCMDo1NkUyOjcxQzk6NkIwMDdEMzQiLCJ2aXNpdG9yX2lkIjoiNTE1NTc0OTYzMjM0ODgxNDY0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb7a8a850e66ae2ed055a587d5d2b6f4983aa6013edf200ea8f89d5ee6ebdbf95
hovercard-subject-tagissue:1868324834
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-zeroconf/python-zeroconf/1235/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1344a7d72b01964f3b22806f908d0fdaeaff367625cbeb60e1384cd91cdd89d6/python-zeroconf/python-zeroconf/issues/1235
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1344a7d72b01964f3b22806f908d0fdaeaff367625cbeb60e1384cd91cdd89d6/python-zeroconf/python-zeroconf/issues/1235
og:image:altHey everyone, I note that the listener's add_service() callback has available to it the coordinates for the custom service that I am tracking. Whenever it comes online this callback can use get_ser...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekiplingw
hostnamegithub.com
expected-hostnamegithub.com
None82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83
turbo-cache-controlno-preview
go-importgithub.com/python-zeroconf/python-zeroconf git https://github.com/python-zeroconf/python-zeroconf.git
octolytics-dimension-user_id120192235
octolytics-dimension-user_loginpython-zeroconf
octolytics-dimension-repository_id21548731
octolytics-dimension-repository_nwopython-zeroconf/python-zeroconf
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21548731
octolytics-dimension-repository_network_root_nwopython-zeroconf/python-zeroconf
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released1bc2aa1939001689f5ce935982c10a6138f745c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python-zeroconf/python-zeroconf/issues/1235#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2F1235
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2F1235
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-zeroconf%2Fpython-zeroconf
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/1235
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/1235
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/1235
python-zeroconfhttps://github.com/python-zeroconf
python-zeroconfhttps://github.com/python-zeroconf/python-zeroconf
Codehttps://github.com/python-zeroconf/python-zeroconf
Issues50 (50)https://github.com/python-zeroconf/python-zeroconf/issues
Pull requests16 (16)https://github.com/python-zeroconf/python-zeroconf/pulls
Discussionshttps://github.com/python-zeroconf/python-zeroconf/discussions
Actionshttps://github.com/python-zeroconf/python-zeroconf/actions
Projectshttps://github.com/python-zeroconf/python-zeroconf/projects
Wikihttps://github.com/python-zeroconf/python-zeroconf/wiki
Security and quality5 (5)https://github.com/python-zeroconf/python-zeroconf/security
Insightshttps://github.com/python-zeroconf/python-zeroconf/insights
https://github.com/python-zeroconf/python-zeroconf
New issuehttps://github.com/login?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/1235
New issuehttps://github.com/login?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/1235
Getting service info when a single server is removedhttps://github.com/python-zeroconf/python-zeroconf/issues/1235#top
enhancementhttps://github.com/python-zeroconf/python-zeroconf/issues?q=state%3Aopen%20label%3A%22enhancement%22
help wantedhttps://github.com/python-zeroconf/python-zeroconf/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
multi-srv-record-supportThis library currently lacks support for handling multiple SRV records for the same namehttps://github.com/python-zeroconf/python-zeroconf/issues?q=state%3Aopen%20label%3A%22multi-srv-record-support%22
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Aug 27, 2023https://github.com/python-zeroconf/python-zeroconf/issues/1235#issue-1868324834
Nexthttps://github.com/python-zeroconf/python-zeroconf/issues/1235?timeline_page=1
https://github.com/bdraco
bdracohttps://github.com/bdraco
on Sep 3, 2023https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-1704364954
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Sep 3, 2023https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-1704370620
@bdracohttps://github.com/bdraco
https://github.com/bdraco
bdracohttps://github.com/bdraco
on Sep 3, 2023https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-1704371421
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Sep 3, 2023https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-1704371678
https://github.com/bdraco
bdracohttps://github.com/bdraco
on Sep 3, 2023https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-1704372127
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Sep 3, 2023https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-1704372368
https://github.com/bdraco
bdracohttps://github.com/bdraco
on Sep 3, 2023https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-1704374136
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Sep 3, 2023https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-1704439806
@bdracohttps://github.com/bdraco
https://github.com/bdraco
bdracohttps://github.com/bdraco
on Sep 3, 2023https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-1704439960
https://github.com/esphome/aioesphomeapi/blob/4c992365e0b935d822a0126ca21bfd7d9e0b02d2/aioesphomeapi/reconnect_logic.py#L249https://github.com/esphome/aioesphomeapi/blob/4c992365e0b935d822a0126ca21bfd7d9e0b02d2/aioesphomeapi/reconnect_logic.py#L249
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Sep 3, 2023https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-1704440585
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Mar 25, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2017123500
https://github.com/bdraco
bdracohttps://github.com/bdraco
on Apr 1, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2030344950
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Apr 1, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2030543875
https://github.com/bdraco
bdracohttps://github.com/bdraco
on Apr 13, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2053773471
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Apr 13, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2053792497
@bdracohttps://github.com/bdraco
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Apr 13, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2053798632
https://github.com/bdraco
bdracohttps://github.com/bdraco
on Apr 13, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2053803779
#1235 (comment)https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-1704374136
RecordUpdatehttps://github.com/python-zeroconf/python-zeroconf/blob/9d8dd27c75768663319c0ee610ba9d274799e32c/src/zeroconf/_record_update.py#L28
expirehttps://github.com/python-zeroconf/python-zeroconf/blob/9d8dd27c75768663319c0ee610ba9d274799e32c/src/zeroconf/_engine.py#L117
is_expiredhttps://github.com/python-zeroconf/python-zeroconf/blob/9d8dd27c75768663319c0ee610ba9d274799e32c/src/zeroconf/_services/browser.py#L675
python-zeroconf/src/zeroconf/_core.pyhttps://github.com/python-zeroconf/python-zeroconf/blob/9d8dd27c75768663319c0ee610ba9d274799e32c/src/zeroconf/_core.py#L569
9d8dd27https://github.com/python-zeroconf/python-zeroconf/commit/9d8dd27c75768663319c0ee610ba9d274799e32c
python-zeroconf/src/zeroconf/_updates.pyhttps://github.com/python-zeroconf/python-zeroconf/blob/9d8dd27c75768663319c0ee610ba9d274799e32c/src/zeroconf/_updates.py#L52
9d8dd27https://github.com/python-zeroconf/python-zeroconf/commit/9d8dd27c75768663319c0ee610ba9d274799e32c
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Apr 14, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2053810543
@bdracohttps://github.com/bdraco
https://github.com/sdbbs
sdbbshttps://github.com/sdbbs
on Apr 19, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2067079096
OLAhttps://www.openlighting.org/ola/
#1235 (comment)https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-1704374136
RecordUpdatehttps://github.com/python-zeroconf/python-zeroconf/blob/9d8dd27c75768663319c0ee610ba9d274799e32c/src/zeroconf/_record_update.py#L28
expirehttps://github.com/python-zeroconf/python-zeroconf/blob/9d8dd27c75768663319c0ee610ba9d274799e32c/src/zeroconf/_engine.py#L117
is_expiredhttps://github.com/python-zeroconf/python-zeroconf/blob/9d8dd27c75768663319c0ee610ba9d274799e32c/src/zeroconf/_services/browser.py#L675
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Apr 19, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2067082861
@sdbbshttps://github.com/sdbbs
https://github.com/sdbbs
sdbbshttps://github.com/sdbbs
on Apr 19, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2067177965
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Apr 19, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2067344605
…https://github.com/python-zeroconf/python-zeroconf/issues/1235
https://www.thevertigo.comhttps://www.thevertigo.com
bdracohttps://github.com/bdraco
multi-srv-record-supportThis library currently lacks support for handling multiple SRV records for the same namehttps://github.com/python-zeroconf/python-zeroconf/issues?q=state%3Aopen%20label%3A%22multi-srv-record-support%22
on Feb 14, 2025https://github.com/python-zeroconf/python-zeroconf/issues/1235#event-16318204888
bdracohttps://github.com/bdraco
on Feb 14, 2025https://github.com/python-zeroconf/python-zeroconf/issues/1235#event-16318337636
bdracohttps://github.com/bdraco
on Feb 14, 2025https://github.com/python-zeroconf/python-zeroconf/issues/1235#event-16318338006
bdracohttps://github.com/bdraco
on Feb 14, 2025https://github.com/python-zeroconf/python-zeroconf/issues/1235#event-16318340494
bdracohttps://github.com/bdraco
enhancementhttps://github.com/python-zeroconf/python-zeroconf/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Feb 14, 2025https://github.com/python-zeroconf/python-zeroconf/issues/1235#event-16318341237
https://github.com/bdraco
bdracohttps://github.com/bdraco
on Feb 15, 2025https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2661002033
bdracohttps://github.com/bdraco
help wantedhttps://github.com/python-zeroconf/python-zeroconf/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
on Feb 15, 2025https://github.com/python-zeroconf/python-zeroconf/issues/1235#event-16322139584
https://github.com/kiplingw
kiplingwhttps://github.com/kiplingw
on Feb 15, 2025https://github.com/python-zeroconf/python-zeroconf/issues/1235#issuecomment-2661008583
@bdracohttps://github.com/bdraco
Sign up for freehttps://github.com/signup?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/1235
Sign in to commenthttps://github.com/login?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/1235
enhancementhttps://github.com/python-zeroconf/python-zeroconf/issues?q=state%3Aopen%20label%3A%22enhancement%22
help wantedhttps://github.com/python-zeroconf/python-zeroconf/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
multi-srv-record-supportThis library currently lacks support for handling multiple SRV records for the same namehttps://github.com/python-zeroconf/python-zeroconf/issues?q=state%3Aopen%20label%3A%22multi-srv-record-support%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.