This, for example, never gets executed
but the event comes through in the log
2015-10-26 18:07:22.640 Kodi: (Minix) Event: 'Video - The Walking Dead [S6E3], Thank You'.
Moderator: leecollings
2015-10-26 18:07:22.640 Kodi: (Minix) Event: 'Video - The Walking Dead [S6E3], Thank You'.
and this when turning off2015-10-27 20:18:10.437 Error: Kodi: (Minix) Message error, unknown type in OnPlay message: 'unknown' from '{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"type":"unknown"},"player":{"playerid":0,"speed":1}},"sender":"xbmc"}}{"jsonrpc":"2.0","method":"Application.OnVolumeChanged","params":{"data":{"muted":false,"volume":46.6666717529296875},"sender":"xbmc"}}{"jsonrpc":"2.0","method":"Playlist.OnAdd","params":{"data":{"item":{"id":1590,"type":"episode"},"playlistid":1,"position":0},"sender":"xbmc"}}{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"id":1590,"type":"episode"},"player":{"playeri'
2015-10-27 20:18:10.439 Error: Kodi: (Minix) Code -32100 Text 'Failed to execute method.' ID '1003' Request '{"jsonrpc":"2.0","method":"Player.GetItem","id":1003,"params":{"playerid":1,"properties":["artist","album","year","channel","showtitle","season","episode","title"]}}'
2015-10-27 20:18:10.511 Kodi: (Minix) Event: 'Video - , 4x01. Green Arrow'.
2015-10-27 20:18:15.017 Kodi: (Minix) Event: 'On'.
2015-10-27 20:18:15.961 Error: Kodi: (Minix) Message error, unknown type in OnPlay message: 'unknown' from '{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"type":"unknown"},"player":{"playerid":0,"speed":1}},"sender":"xbmc"}}'
2015-10-27 20:18:15.985 Kodi: (Minix) Event: 'Audio - , theme.mp3'.
2015-10-27 20:18:51.504 Kodi: (Minix) Event: 'On'.
How can I help you fix this?2015-10-27 21:37:40.406 Kodi: (Minix) Starting thread.
2015-10-27 21:37:40.507 Kodi: Starting I/O service thread.
2015-10-27 21:37:40.507 Error: Kodi: (Minix) Async Read Exception: 125, Operation canceled
2015-10-27 21:37:40.507 Kodi: (Minix) Event: 'Off'.
Kodi is running on Minix, an android machine. What do you mean by control? I use an IR remote control. Kodi came from google play store.2015-10-29 15:39:05.233 Kodi: (Minix) Starting thread.
2015-10-29 15:39:05.233 Kodi: (Minix) Entering work loop.
2015-10-29 15:39:05.335 Kodi: Starting I/O service thread.
2015-10-29 15:39:31.459 Hardware Monitor: Fetching data (System sensors)
2015-10-29 15:39:50.633 Kodi: (Minix) Connected to '192.168.1.28:-9090'.
2015-10-29 15:39:50.634 Kodi: (Minix) Event: 'On'.
2015-10-29 15:39:50.643 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"System.GetProperties","params":{"properties":["canhibernate","cansuspend","canshutdown"]},"id":1007}'
2015-10-29 15:39:51.644 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"JSONRPC.Ping","id":1001}'
2015-10-29 15:39:57.854 Kodi: Restarting I/O service thread.
2015-10-29 15:39:57.854 Kodi: (Minix) Parsing data: '{"id":1007,"jsonrpc":"2.0","result":{"canhibernate":false,"canshutdown":false,"cansuspend":false}}{"id":1001,"jsonrpc":"2.0","result":"pong"}'.
2015-10-29 15:39:57.854 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetActivePlayers","id":1005}'
2015-10-29 15:39:57.862 Kodi: (Minix) Parsing data: '{"id":1005,"jsonrpc":"2.0","result":[]}'.
2015-10-29 15:40:01.575 Hardware Monitor: Fetching data (System sensors)
2015-10-29 15:40:01.654 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"JSONRPC.Ping","id":1001}'
2015-10-29 15:40:01.656 Kodi: (Minix) Parsing data: '{"id":1001,"jsonrpc":"2.0","result":"pong"}'.
2015-10-29 15:40:03.062 Kodi: (Minix) Event: 'Off'.
2015-10-29 15:40:03.072 Kodi: (Minix) Disonnected.
2015-10-29 15:40:11.675 Kodi: (Minix) Connected to '192.168.1.28:-9090'.
2015-10-29 15:40:11.675 Kodi: (Minix) Event: 'On'.
2015-10-29 15:40:11.684 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"System.GetProperties","params":{"properties":["canhibernate","cansuspend","canshutdown"]},"id":1007}'
2015-10-29 15:40:12.686 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"JSONRPC.Ping","id":1001}'
2015-10-29 15:40:18.896 Kodi: Restarting I/O service thread.
2015-10-29 15:40:18.896 Kodi: (Minix) Parsing data: '{"id":1007,"jsonrpc":"2.0","result":{"canhibernate":false,"canshutdown":false,"cansuspend":false}}{"id":1001,"jsonrpc":"2.0","result":"pong"}'.
2015-10-29 15:40:18.896 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetActivePlayers","id":1005}'
2015-10-29 15:40:18.908 Kodi: (Minix) Parsing data: '{"id":1005,"jsonrpc":"2.0","result":[]}'.
2015-10-29 15:40:22.697 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"JSONRPC.Ping","id":1001}'
2015-10-29 15:40:22.697 Kodi: (Minix) Parsing data: '{"id":1001,"jsonrpc":"2.0","result":"pong"}'.
2015-10-29 15:40:26.904 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"VideoLibrary.OnScanFinished","params":{"data":null,"sender":"xbmc"}}'.
2015-10-29 15:40:26.904 Kodi: (Minix) Message warning, unhandled method: 'VideoLibrary.OnScanFinished'
2015-10-29 15:40:29.903 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Playlist.OnAdd","params":{"data":{"item":{"type":"unknown"},"playlistid":0,"position":0},"sender":"xbmc"}}'.
2015-10-29 15:40:29.903 Kodi: (Minix) Message warning, unhandled method: 'Playlist.OnAdd'
2015-10-29 15:40:29.914 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Application.OnVolumeChanged","params":{"data":{"muted":false,"volume":50},"sender":"xbmc"}}'.
2015-10-29 15:40:29.914 Kodi: (Minix) Volume changed to 50.00000, Muted: false.
2015-10-29 15:40:30.180 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"type":"unknown"},"player":{"playerid":0,"speed":1}},"sender":"xbmc"}}'.
2015-10-29 15:40:30.180 Error: Kodi: (Minix) Message error, unknown type in OnPlay message: 'unknown' from '{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"type":"unknown"},"player":{"playerid":0,"speed":1}},"sender":"xbmc"}}'
2015-10-29 15:40:30.180 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetItem","id":1003,"params":{"playerid":0,"properties":["artist","album","year","channel","showtitle","season","episode","title"]}}'
2015-10-29 15:40:30.202 Kodi: (Minix) Parsing data: '{"id":1003,"jsonrpc":"2.0","result":{"item":{"album":"","artist":[],"label":"theme.mp3","title":"theme.mp3","type":"song","year":0}}}'.
2015-10-29 15:40:30.202 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetProperties","id":1002,"params":{"playerid":0,"properties":["live","percentage","speed"]}}'
2015-10-29 15:40:30.204 Kodi: (Minix) Parsing data: '{"id":1002,"jsonrpc":"2.0","result":{"live":false,"percentage":-0.058685444295406341553,"speed":1}}'.
2015-10-29 15:40:30.205 Kodi: (Minix) Event: 'Audio - , theme.mp3'.
2015-10-29 15:40:30.459 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Application.OnVolumeChanged","params":{"data":{"muted":false,"volume":46.6666717529296875},"sender":"xbmc"}}'.
2015-10-29 15:40:30.459 Kodi: (Minix) Volume changed to 46.66667, Muted: false.
2015-10-29 15:40:31.691 Hardware Monitor: Fetching data (System sensors)
2015-10-29 15:40:32.707 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetProperties","id":1002,"params":{"playerid":0,"properties":["live","percentage","speed"]}}'
2015-10-29 15:40:32.708 Kodi: (Minix) Parsing data: '{"id":1002,"jsonrpc":"2.0","result":{"live":false,"percentage":6.9584169387817382812,"speed":1}}'.
2015-10-29 15:40:36.158 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Playlist.OnAdd","params":{"data":{"item":{"id":1590,"type":"episode"},"playlistid":1,"position":0},"sender":"xbmc"}}'.
2015-10-29 15:40:36.158 Kodi: (Minix) Message warning, unhandled method: 'Playlist.OnAdd'
2015-10-29 15:40:36.647 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"id":1590,"type":"episode"},"player":{"playerid":1,"speed":1}},"sender":"xbmc"}}'.
2015-10-29 15:40:36.648 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetItem","id":1003,"params":{"playerid":1,"properties":["artist","album","year","channel","showtitle","season","episode","title"]}}'
2015-10-29 15:40:36.708 Kodi: (Minix) Parsing data: '{"id":1003,"jsonrpc":"2.0","result":{"item":{"album":"","artist":[],"episode":-1,"label":"4x01. Green Arrow","season":-1,"showtitle":"","title":"","type":"unknown","year":0}}}'.
2015-10-29 15:40:36.708 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetProperties","id":1002,"params":{"playerid":1,"properties":["live","percentage","speed"]}}'
2015-10-29 15:40:36.722 Kodi: (Minix) Parsing data: '{"id":1002,"jsonrpc":"2.0","result":{"live":false,"percentage":0.00525962095707654953,"speed":1}}'.
2015-10-29 15:40:36.723 Kodi: (Minix) Event: 'Video - , 4x01. Green Arrow'.
2015-10-29 15:40:37.187 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Application.OnVolumeChanged","params":{"data":{"muted":false,"volume":100},"sender":"xbmc"}}'.
2015-10-29 15:40:37.187 Kodi: (Minix) Volume changed to 100.00000, Muted: false.
2015-10-29 15:40:42.717 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetProperties","id":1002,"params":{"playerid":1,"properties":["live","percentage","speed"]}}'
2015-10-29 15:40:42.719 Kodi: (Minix) Parsing data: '{"id":1002,"jsonrpc":"2.0","result":{"live":false,"percentage":0.22557494044303894043,"speed":1}}'.
2015-10-29 15:40:52.733 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetProperties","id":1002,"params":{"playerid":1,"properties":["live","percentage","speed"]}}'
2015-10-29 15:40:52.735 Kodi: (Minix) Parsing data: '{"id":1002,"jsonrpc":"2.0","result":{"live":false,"percentage":0.61329537630081176758,"speed":1}}'.
2015-10-29 15:41:01.824 Hardware Monitor: Fetching data (System sensors)
2015-10-29 15:41:02.747 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetProperties","id":1002,"params":{"playerid":1,"properties":["live","percentage","speed"]}}'
2015-10-29 15:41:02.752 Kodi: (Minix) Parsing data: '{"id":1002,"jsonrpc":"2.0","result":{"live":false,"percentage":1.0118882656097412109,"speed":1}}'.
2015-10-29 15:41:12.757 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetProperties","id":1002,"params":{"playerid":1,"properties":["live","percentage","speed"]}}'
2015-10-29 15:41:12.760 Kodi: (Minix) Parsing data: '{"id":1002,"jsonrpc":"2.0","result":{"live":false,"percentage":1.4046328067779541016,"speed":1}}'.
2015-10-29 15:41:21.074 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Player.OnStop","params":{"data":{"end":false,"item":{"id":1590,"type":"episode"}},"sender":"xbmc"}}'.
2015-10-29 15:41:21.074 Kodi: (Minix) Event: 'On'.
2015-10-29 15:41:21.712 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Playlist.OnClear","params":{"data":{"playlistid":0},"sender":"xbmc"}}'.
2015-10-29 15:41:21.713 Kodi: (Minix) Message warning, unhandled method: 'Playlist.OnClear'
2015-10-29 15:41:21.713 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Playlist.OnAdd","params":{"data":{"item":{"type":"unknown"},"playlistid":0,"position":0},"sender":"xbmc"}}'.
2015-10-29 15:41:21.713 Kodi: (Minix) Message warning, unhandled method: 'Playlist.OnAdd'
2015-10-29 15:41:21.718 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Application.OnVolumeChanged","params":{"data":{"muted":false,"volume":50},"sender":"xbmc"}}'.
2015-10-29 15:41:21.718 Kodi: (Minix) Volume changed to 50.00000, Muted: false.
2015-10-29 15:41:21.749 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":1590,"type":"episode"}},"sender":"xbmc"}}'.
2015-10-29 15:41:21.749 Kodi: (Minix) Message warning, unhandled method: 'VideoLibrary.OnUpdate'
2015-10-29 15:41:21.949 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"type":"unknown"},"player":{"playerid":0,"speed":1}},"sender":"xbmc"}}'.
2015-10-29 15:41:21.949 Error: Kodi: (Minix) Message error, unknown type in OnPlay message: 'unknown' from '{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"type":"unknown"},"player":{"playerid":0,"speed":1}},"sender":"xbmc"}}'
2015-10-29 15:41:21.949 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetItem","id":1003,"params":{"playerid":0,"properties":["artist","album","year","channel","showtitle","season","episode","title"]}}'
2015-10-29 15:41:21.976 Kodi: (Minix) Parsing data: '{"id":1003,"jsonrpc":"2.0","result":{"item":{"album":"","artist":[],"label":"theme.mp3","title":"theme.mp3","type":"song","year":0}}}'.
2015-10-29 15:41:21.976 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetProperties","id":1002,"params":{"playerid":0,"properties":["live","percentage","speed"]}}'
2015-10-29 15:41:21.977 Kodi: (Minix) Parsing data: '{"id":1002,"jsonrpc":"2.0","result":{"live":false,"percentage":-0.22356359660625457764,"speed":1}}'.
2015-10-29 15:41:21.978 Kodi: (Minix) Event: 'Audio - , theme.mp3'.
2015-10-29 15:41:22.332 Kodi: (Minix) Parsing data: '{"jsonrpc":"2.0","method":"Application.OnVolumeChanged","params":{"data":{"muted":false,"volume":46.6666717529296875},"sender":"xbmc"}}'.
2015-10-29 15:41:22.332 Kodi: (Minix) Volume changed to 46.66667, Muted: false.
2015-10-29 15:41:22.767 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetProperties","id":1002,"params":{"playerid":0,"properties":["live","percentage","speed"]}}'
2015-10-29 15:41:22.768 Kodi: (Minix) Parsing data: '{"id":1002,"jsonrpc":"2.0","result":{"live":false,"percentage":2.0679633617401123047,"speed":1}}'.
2015-10-29 15:41:31.941 Hardware Monitor: Fetching data (System sensors)
2015-10-29 15:41:32.777 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetProperties","id":1002,"params":{"playerid":0,"properties":["live","percentage","speed"]}}'
2015-10-29 15:41:32.778 Kodi: (Minix) Parsing data: '{"id":1002,"jsonrpc":"2.0","result":{"live":false,"percentage":30.066509246826171875,"speed":1}}'.
2015-10-29 15:41:42.787 Kodi: (Minix) Sending data: '{"jsonrpc":"2.0","method":"Player.GetProperties","id":1002,"params":{"playerid":0,"properties":["live","percentage","speed"]}}'
2015-10-29 15:41:42.788 Kodi: (Minix) Parsing data: '{"id":1002,"jsonrpc":"2.0","result":{"live":false,"percentage":58.0147552490234375,"speed":1}}'.
Unless you have logged onto the command line of your Kodi and changed the config in an editor to look like this:Do not change any of these web server settings in an attempt to make this plugin work. It does not use the Kodi Webserver so it will make no difference.
Code: Select all
<jsonrpc>
<compactoutput>false</compactoutput>
<tcpport>8086</tcpport>
</jsonrpc>
Dnpwwo wrote:To me this looks like you have specified the webserver port.
Have a look at http://www.domoticz.com/wiki/Kodi#Kodi_Settings, As it says:
Unless you have logged onto the command line of your Kodi and changed the config in an editor to look like this:Do not change any of these web server settings in an attempt to make this plugin work. It does not use the Kodi Webserver so it will make no difference.then the port to use is 9090.Code: Select all
<jsonrpc> <compactoutput>false</compactoutput> <tcpport>8086</tcpport> </jsonrpc>
Thanks for looking into this matter for meDnpwwo wrote:Hi Jake, sorry to hear you are having issues.
The Kodi functionality has not been touched in the last 3 weeks so the problem is most likely at your end. I've tested it with both Kodi 14 & 15 and it seems ok.
Couple or questions:If those don't work, follow the troubleshooting guide on the wiki and post some results
- Did you change anything around that time? A major Kodi version change resets some settings, check your Kodi against the requirements on the wiki page, particularly around letting external programs control your Kodi
- Does you your Kodi have a fixed IP address? If not, DHCP may have allocated it a new one, compare the Kodi network settings to the device you created in Domoticz
Code: Select all
2015-11-21 11:06:09.241 Kodi: (Kodi Media Center) Starting thread.
2015-11-21 11:06:09.241 Kodi: (Kodi Media Center) Entering work loop.
2015-11-21 11:06:09.341 Kodi: Starting I/O service thread.
Code: Select all
2015-11-21 11:20:14.177 Error: Kodi: (Kodi Media Center) Data not sent to NULL socket: '{"jsonrpc":"2.0","method":"System.GetProperties","params":{"properties":["canhibernate","cansuspend","canshutdown"]},"id":1004}'
2015-11-21 11:20:14.177 Kodi: (Kodi Media Center) Shutdown requested but is probably not supported.
Users browsing this forum: No registered users and 0 guests