Coder Social home page Coder Social logo

dlnacast's People

Contributors

manrueda avatar xat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dlnacast's Issues

raspbian on rPI 2 B

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!

Can't get it to work

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.

Using command to send media to Sony SRS X88

The command works fine with my samsung tv, but for my home automation system i want to start playing music on the SRS X88, i used the ip adress, but it doesnt work.

dlnacast --address 192.168.0.16 'Daft Punk - Get Funky.mp3'
[Error: device not found]

Maybe i should use a different port? Any idea?

Not able to stream big files

Hi,

I have been doing some test with several files and I am able to stream a 200MB mkv file to my Panasonic Viera.

The only problem I found was when trying to stream a 1GB. It seems the tv is reading the complete stream to know the file size before start playing, as the longer the file, the longer it takes to load it.

I guess the problem could be the http-headers served by the smfs, but I am not sure...

I found this link, explaining HTTP Streaming, we can use it to start testing..
https://gist.github.com/CMCDragonkai/6bfade6431e9ffb7fe88

Do you have any idea of what is going wrong, am I completely wrong?.

Cheers.

doesn't work

I installed as instructed, only added sudo so that it could write to system:

sudo npm install dlnacast -g

listRenderer doesn't seem to be implemented in the version I got from npm:

$ dlnacast --listRenderer
Usage: dlnacast [--type <mime>] [--address <tv-ip>] <file>

And playing a file always ends with this error:

$ dlnacast --listRenderer --address 123.45.67.89 "/some-path/some-file.mp3"
[Error: device not found]

please help. I want a CLI dlna control point, Upplay works but it's GUI based.

Unhandled 'error' event

After installing, it does this when I try to run it.

silent@TERMINAL-BMRF-9 ~/Video $ dlnacast Yellowbeard.avi
events.js:141
throw er; // Unhandled 'error' event
^

Error: Service urn:upnp-org:serviceId:AVTransport not provided by device
at /usr/lib64/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/index.js:189:17
at /usr/lib64/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/index.js:48:5
at /usr/lib64/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/index.js:556:7
at ConcatStream. (/usr/lib64/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/node_modules/concat-stream/index.js:36:43)
at emitNone (events.js:72:20)
at ConcatStream.emit (events.js:166:7)
at finishMaybe (/usr/lib64/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:460:14)
at afterWrite (/usr/lib64/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:340:3)
at /usr/lib64/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:327:9
at nextTickCallbackWith0Args (node.js:420:9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.