metal3d / idok

A simple command line to stream media to kodi (aka xbmc). Stream youtube, gstreamer output, livestreamer output, and many other media stream.
BSD 3-Clause "New" or "Revised" License
62 stars 9 forks source link

having trouble getting started #7

Open mauzzz opened 9 years ago

mauzzz commented 9 years ago

Hi, I've installed idok on ubuntu trying to send video to an openelec box. I can connect to the Kodi webserver by browser. But I can't get idok to send video. Kodi will show a progress wheel for a while but then nothing happens. Terminal shows:

$ idok Videos/test.mp4 2015/06/20 14:54:21 not schemed 2015/06/20 14:54:21 10.0.2.15 2015/06/20 14:55:01 {"id":1,"jsonrpc":"2.0","result":"OK"}

(target and targetport are in idok.conf)

Any suggestions are appreciated.

metal3d commented 9 years ago

There are several possibilities. At first, I need to know if you're using ssh to stream. If not, have you got firewall opened on your computer ? If kodi tries to connect you computer, and computer didn't open the port, it could fail as you said (Kodi shows a loading status for a while, then it fails)

Maybe I should prevent user that the target port is not opened. But it's complicated to know the port state for the entire OS.

If you can, show me your idok.conf file.

Thanks for the report