-
Notifications
You must be signed in to change notification settings - Fork 23
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
Not Detecting My Panasonic Viera (VT60) #19
Comments
If you use https://www.npmjs.com/package/node-ssdp to scan for all devices does it show up? |
No, the same, no return! I used the example Usage-Client! Thank You |
@soloam You might want to open a ticket on node-ssdp then, since that's what we use as our underlying library. Could be a network issue of some sort. |
Hello @contra actually I was doing something wrong on the node-ssdp, now I can see my tv on the client example of the node-ssdp, but not on the nodecast
|
That looks like something different from a normal DLNA DIAL server - it should be |
yes I have this one also:
|
I also have a kodi device running with TubeCast and it also works great with my youtube app on my mobile, but it's not detected in your library also. |
Ok I found a possible idea for the problem if I run: This does not work (probably the program is ending before it discovers the packages?)
This one works
|
@soloam Yeah it seems like that is the issue after doing some testing, I commented on the ticket you opened on node-ssdp since the issue seems to lie the. If they seem unresponsive I could add a workaround into this library. |
Published a fixed version as 1.0.0 - if node-ssdp fixes their stuff I can remove the hack, but it should be fine. |
Sorry @contra I tested it out and it seams that the find() is broken, I now can see my devices appearing, that works, but it stays in a infinite loop. |
if I run:
I get:
And never jumps to the next device If I run your list example:
I get
It keeps the program open and I have to cancel it with "CTRL+C" |
@soloam Yeah, because it's an asynchronous networking interaction (we send out a blast, and we wait for responses to come in) there's no way to know that we have received all device responses so you have to call Listing apps is only supported for chromecast and roku, so you wouldn't see anything printed for that. Your output looks correct - it found your device and gave you a handle to it. Your first example should work fine. I'm not having that issue on my devices, I just ran the same thing on my work network and got:
|
Ah, I just noticed - your code is doing |
yeh that made it jump to the next device but the movie does not start
shouldn't this start the youtube in both devices? Sorry for all this |
@soloam Yeah that should work, assuming your TV has a youtube app and it accepts those parameters. |
Yes it does... But the films don't start! I don't understand if I'm doing something wrong! |
According to the developer of node-ssdp, it's working as intended, and we should use a settimeout ou setinterval to mantain the session open to capture the packages. Your version now keeps it open forever, I can't close it without a ctrl+c, because I stay locked inside the find function! A god solution would be to be able to inform the find function on the time that it should keep looking for the package, like a timeout time! This would avoid it being locked forever. I don't know if this is the reason why I can't send videos to my devices, but being stuck in a infinit loop does not seems like a good thing. Thank you @contra and hope I helped find a "problem" |
@soloam It's the same thing as a node http server - you open it, you can either |
Hello, I was able to install the package now, thank you, but when I test it out with the list-devices examples, I don't get any return, I own a Panasonic VT60 and I can send movies directly from my Youtube app to my TV. Can it be that I'm doing something wrong?
Thank You
The text was updated successfully, but these errors were encountered: