Skip to content

raspbian on rPI 2 B #2

@pastynko

Description

@pastynko

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions