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

-sshuser -sshpass not working #13

Open sandro213 opened 7 years ago

sandro213 commented 7 years ago

Hi, thank you for this project. I have this issue:

I have a standard kodi osmc installation, but I can't make idok work.

If I try (from my macbook) idok -ssh -sshuser=osmc -sshpass=osmc -target= 6 ~/Desktop/musica/Awolnation\ Sail.mp3 2017/01/21 14:56:26 Added RSA key 2017/01/21 14:56:27 Listening port on raspberry: 11674 2017/01/21 14:56:27 Post http://:80/jsonrpc: dial tcp 192.168.1.106:80: getsockopt: connection refused

Similarly, I can't connect either with id_rsa SSH key...

Am I doing something wrong?

Ciao Alex

metal3d commented 7 years ago

Wow, strange problem. Your kodi jsonrpc is listening on 80 port ?

sandro213 commented 7 years ago

I think I've tried both 80 and 8080 but I am not sure; I understood that port number was not an issue with SSH so I did not investigate much in that direction.

EDIT: Yes it is 80. In any case it works nicely via HTTP so I am happy now.

BTW: is the process supposed to terminate itself at the end of an mp3 stream? When I send an mp3 to my kodi, I have to ctrl-c at the end to terminate the process and send another one. I am going to make some scripting on my mac, but the fact that the process remains active makes this a little bit harder...

Thank you for this fantastic piece of s/w.