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

Can't get it to work #3

Open
cristian100 opened this issue Jan 22, 2016 · 1 comment
Open

Can't get it to work #3

cristian100 opened this issue Jan 22, 2016 · 1 comment

Comments

@cristian100
Copy link

When I use this command:
dlnacast --listRenderer

It list (twice) my tv in the same network:
[LG] webOS TV: undefined
[LG] webOS TV: undefined
|

And hangs in there for a long time until I kill it.

@simonbru
Copy link

simonbru commented Aug 7, 2016

The issue can be fixed by changing msg.Location to msg.location in index.js at line 185:

diff --git a/index.js b/index.js
index 6e0a79a..cb318e3 100755
--- a/index.js
+++ b/index.js
@@ -182,7 +182,7 @@ if (require.main === module) {
         console.log(err)
         process.exit()
       }
-      console.log(desc.device.friendlyName + ': ' + msg.Location)
+      console.log(desc.device.friendlyName + ': ' + msg.location)
     })
   } else {
     module.exports.renderMedia(opts._[0], opts.type, opts.address, opts.subtitle)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants