mafintosh / peerflix

Streaming torrent client for node.js
MIT License
6.19k stars 672 forks source link

Can't stream on other ports except default #237

Open Faraonul opened 9 years ago

Faraonul commented 9 years ago

I'm trying to use peerflix on other ports, but it doesn't seem to stream. The port opens and the first time I access the page ( let's say localhost:1337 ) I get an empty video player. However, if I press play or refresh it, the page returns a ERR_EMPTY_RESPONSE. Any ideas?

Video streaming on 8888 works, though and is really useful. Thanks!

mafintosh commented 9 years ago

Could you share the commands / the snippet you use?

Faraonul commented 9 years ago

peerflix "magnet:....." --port 8887 -w

fixfluxservices commented 8 years ago

You can change the default folder by modifying the index of "torrent-stream" the variable "TMP" (index.js:35). Can change a value of the variable for './torrents' for example, and start xampp server and run a terminal from the "htdocs" folder and start peerflix, all downloaded torrents will be here in (htdocs/torrents) (localhost/torrents).

Sorry I am still learning English!