deathbybandaid 2 Posted December 4, 2020 Share Posted December 4, 2020 I'm developing a python script that emulates being an HDHomerun for use with both Plex and Emby. I've put together an SSDP service that seems to send and receive properly, but the data I'm sending seems to not be detected by Plex or Emby for autodetect. What kind of SSDP data is Emby expecting to see? Additionally, my script supports M3U, and I see that Emby has the ability to autodetect M3U tuners as well? What kind of SSDP data is Emby expecting to see for this? Thanks in advance! Link to comment Share on other sites More sharing options...
wouterdebie 5 Posted December 4, 2020 Share Posted December 4, 2020 I'd be very interested in this as well. Adding this to be able to follow this thread. Link to comment Share on other sites More sharing options...
wouterdebie 5 Posted April 19, 2021 Share Posted April 19, 2021 Necromancing this thread.. Any of the Emby devs that can tell us how Emby does tuner discovery? Is Emby using SSDP or some other mechanism? Link to comment Share on other sites More sharing options...
Luke 37058 Posted April 19, 2021 Share Posted April 19, 2021 21 minutes ago, wouterdebie said: Necromancing this thread.. Any of the Emby devs that can tell us how Emby does tuner discovery? Is Emby using SSDP or some other mechanism? We discover hdhomerun devices by sending a udp broadcast on port 65001. Link to comment Share on other sites More sharing options...
wouterdebie 5 Posted April 19, 2021 Share Posted April 19, 2021 (edited) Great! And discovering m3u tuners? Edited April 19, 2021 by wouterdebie Link to comment Share on other sites More sharing options...
rbjtech 4257 Posted April 19, 2021 Share Posted April 19, 2021 (edited) Guys if you need to see how emby is discovering services on it's local network - just install wireshark, filter by emby as the source and watch the broadcasts .. Edited April 19, 2021 by rbjtech Link to comment Share on other sites More sharing options...
wouterdebie 5 Posted April 20, 2021 Share Posted April 20, 2021 18 hours ago, rbjtech said: Guys if you need to see how emby is discovering services on it's local network - just install wireshark, filter by emby as the source and watch the broadcasts .. Sure, but asking the dev's is easier, no? Next to that, I don't have a tuner that responds, so wireshark isn't going to tell me what the response should look like, or what Emby expects.. Link to comment Share on other sites More sharing options...
Luke 37058 Posted April 20, 2021 Share Posted April 20, 2021 18 hours ago, wouterdebie said: discovering m3u tuners? There is no discovery of that. You enter the url into the setup screen. Link to comment Share on other sites More sharing options...
wouterdebie 5 Posted April 21, 2021 Share Posted April 21, 2021 I'm looking at some Jellyfin code (hoping that Emby still does the same thing) and is it true that Emby just listens to 255.255.255.255:65001, checks if the 2nd byte is "3" and uses the sending IP address as the tuner IP? And completely ignores any of the HDHR packet? Link to comment Share on other sites More sharing options...
Luke 37058 Posted April 21, 2021 Share Posted April 21, 2021 Probably yes, I'd have to check to confirm, but this is all designed by silicondust so their developer docs would be the best possible source of information. They may have code for it in libhdhomerun. Link to comment Share on other sites More sharing options...
wouterdebie 5 Posted April 21, 2021 Share Posted April 21, 2021 I checked the docs from sillicondust and their lib is very specific, but then I found the Jellyfin code that does something pretty crude and different. The hdhr packet protocol specifies a base url and a discovery url, but Jellyfin completely ignores any of that. Link to comment Share on other sites More sharing options...
Luke 37058 Posted April 28, 2021 Share Posted April 28, 2021 On 4/20/2021 at 8:39 PM, wouterdebie said: is it true that Emby just listens to 255.255.255.255:65001, checks if the 2nd byte is "3" and uses the sending IP address as the tuner IP? And completely ignores any of the HDHR packet? Yes this is correct. What we need to do is read the data and get certain values from it, which we're not currently doing. Link to comment Share on other sites More sharing options...
wouterdebie 5 Posted April 28, 2021 Share Posted April 28, 2021 Thanks for confirming. Since my application isn't running on 80/TCP, it will never be discovered. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now