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

telly needs SSDP/UPnP #44

Closed
tombowditch opened this issue Feb 24, 2018 · 10 comments
Closed

telly needs SSDP/UPnP #44

tombowditch opened this issue Feb 24, 2018 · 10 comments
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@tombowditch
Copy link
Collaborator

According to @andyblac Plex pings the device to see if it's "alive" persay via SSDP/UPnP. telly does NOT do this currently and we'll need to implement it to allow telly to be automatically discovered and to make it properly work with existing HDHomeruns (see #26)

From @andyblac:

just a heads up plex 'pings' the device via the SSDP protocol, you need to add a SSDP routine to your code, have a look how i managed this at my project https://github.com/OpenViX/HRTunerProxy your more than welcome to used some code, just a give me a thanks in your app.

this is also how your device will be automatically seen in the plex setup screens. also make sure your UUID's are the correct length and format a simple 12345678 is not enough

T

@tombowditch tombowditch added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels Feb 24, 2018
@tombowditch
Copy link
Collaborator Author

This is also, I assume, why this currently happens sometimes:

image

@andyblac
Copy link

yup that correct, it failed the heartbeat test.

@tombowditch
Copy link
Collaborator Author

@andyblac you mention correct UUIDs and lengths - where do I find documentation for properly generating them?

T

@hazcod
Copy link
Contributor

hazcod commented Feb 24, 2018

This seems about what we need: https://github.com/fromkeith/gossdp/blob/master/ssdp.go#L54

A UUID is a standard format, so we can use uuidgen on macos for example; ECCE252C-6ABF-4DB2-97FA-E086463D92F3.
A good approach would be to generate the UUID on startup of telly.

Will the UUID need to stay the same for Plex is the question?

@manolodf
Copy link

Would each instance of Telly (in case you run multiple) need its own UUID and then you would be able to run 2 separate Telly Instances Simultaneously?

@tombowditch
Copy link
Collaborator Author

Will the UUID need to stay the same for Plex is the question?

I assume so, @hazcod

@hazcod
Copy link
Contributor

hazcod commented Feb 27, 2018

@tombowditch see #48

@ElBrad
Copy link

ElBrad commented May 19, 2018

Any update on this? I'm trying to get the EPG right for my IPTV stream but can't edit the EPG channel line up because plex says the DVR is offline. Great work on this project so far guys i've been waiting for this since Live TV & DVR was announced this will be the final piece of the jigsaw

@hazcod
Copy link
Contributor

hazcod commented May 19, 2018

Plex saying its offline is related to the SSDP issue.

@ElBrad ElBrad mentioned this issue May 20, 2018
@hazcod
Copy link
Contributor

hazcod commented May 24, 2018

Merged to master, please build a version yourself or wait for the next release.

@hazcod hazcod closed this as completed May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants