From 345571c7ac77de7918e800a1be8cf2d949aeff01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Kragujevi=C4=87?= Date: Fri, 20 May 2016 11:48:08 +0200 Subject: [PATCH] Added custom port entry to readme I didn't know go-peerflix had this capability so I went to try and implement my own, then I saw it in the source. I think it should be in the readme. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 8108024..2c400a0 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,11 @@ Access the stream on [http://localhost:8080/](http://localhost:8080/) go-peerflix [magnet url|torrent path|torrent url] ``` +To use a custom port, pass the -port flag +```sh +go-peerflix -port 9000 [magent url|torrent path|torrent url] +``` + To start playing in VLC: ```sh go-peerflix -player vlc [magnet url|torrent path|torrent url]