-
Notifications
You must be signed in to change notification settings - Fork 26
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
raspbian on rPI 2 B #2
Comments
UPDATE: I was getting previous error messages when I was on old version of node.js (0.12). Once I upgraded to latest version of node.js (5.2.0) and npm (3.5.2) I'm getting these errors: dlnacast --listRenderer osmc@osmc:~$ dlnacast --listRenderer TypeError: Cannot read property 'root' of undefined and dlnacast --address ipaddress /path/to/file osmc@osmc:~$ dlnacast --address 192.168.2.86 /home/osmc/test/test4.mp4 |
Could you try: |
Hello,
I'm trying to install dlnacast on latest Raspbian on my Raspberry PI 2 B but I'm unable to get the version 0.3 working. Version 0.2, which I can get from npm is working with Kodi, but not with my LG TV. So I tried to install 0.3 from this github, but now I'm getting following errors.
dlnacast --listRenderer will show me this:
[TV][LG]Bar: http://192.168.2.86:1489/
[TV][LG]Bar: http://192.168.2.86:1489/
http.js:1839
if (options.protocol && options.protocol !== 'http:') {
^
TypeError: Cannot read property 'protocol' of undefined
at Object.exports.request (http.js:1839:14)
at Object.exports.get (http.js:1847:21)
at fetch1 (/usr/local/lib/node_modules/dlnacast/node_modules/renderer-finder/src/RendererFinder.js:12:18)
at getDeviceDescription (/usr/local/lib/node_modules/dlnacast/node_modules/renderer-finder/src/RendererFinder.js:87:3)
at Socket. (/usr/local/lib/node_modules/dlnacast/node_modules/renderer-finder/src/RendererFinder.js:141:11)
at Socket.emit (events.js:98:17)
at UDP.onMessage (dgram.js:440:8)
dlnacast --address 192.168.2.86 /path/to/file will show this:
Request failed
playing: test4.mp4
use your space-key to toggle between play and pause
events.js:72
throw er; // Unhandled 'error' event
^
Error: Request failed
at ClientRequest. (/usr/local/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/index.js:551:18)
at ClientRequest.g (events.js:180:16)
at ClientRequest.emit (events.js:95:17)
at HTTPParser.parserOnIncomingClient as onIncoming
at HTTPParser.parserOnHeadersComplete as onHeadersComplete
at Socket.socketOnData as ondata
at TCP.onread (net.js:527:27)
and playback is not working... Any change you can point me to the right direction what might be the problem?
Thank you in advance!
The text was updated successfully, but these errors were encountered: