Kodi REWIND/FASTFORWARD not working

Something like this?

Video:

curl -su <USER>:<PASSWORD> -H "Content-type: application/json" -X POST -d '{"jsonrpc":"2.0","method":"Player.GetProperties","params":{"playerid":1,"properties":["currentvideostream"]},"id":1}' http://<IP>:8080/jsonrpc
{"id":1,"jsonrpc":"2.0","result":{"currentvideostream":"codec":"mpeg4","height":384,"index":0,"language":"","name":"","width":512}}}

Audio:

curl -su <USER>:<PASSWORD> -H "Content-type: application/json" -X POST -d '{"jsonrpc":"2.0","method":"Player.GetProperties","params":{"playerid":1,"properties":["currentaudiostream"]},"id":1}' http://<IP>:8080/jsonrpc
{"id":1,"jsonrpc":"2.0","result":{"currentaudiostream":{"bitrate":138848,"channels":2,"codec":"mp3float","index":0,"language":"","name":"Stereo"}}}

Awesome will try this shortly is this how the other channels are populated? If so could this be added to the binding so we have the same features as the old Xbmc binding?

Yes, it is. Which codec do you need? Audio or video or both? I will think about adding channels for those data.

Audio as a priority but both would be great

Hi wondering if you have had a chance to review these for channels?

Hi Andrew,

I have to admit that I have not touched this topic yet. But it is still on my to-do list. I will keep you posted.

Champion, thanks

Andrew,

I finally found a minute to implement the new codec channels. Feel free to test them and give me feedback.

Hi Christoph,

Thanks for the new codec channels, they are working well for me and now allow me to retire my xbmc binding.

One question though, I’m having an issue with polling and item updates being rather slow. Is the connection refresh interval being used? I currently have it set to 10 secs, but the items can take from 30 secs to minutes to update. The log seems to reflect this too.

Thanks,
Jeremy

2018-10-17 17:04:41.511 [DEBUG] [i.internal.protocol.KodiClientSocket] - callMethod returns {"id":602,"jsonrpc":"2.0","result":{"favourites":null,"limits":{"end":0,"start":0,"total":0}}}
2018-10-17 17:07:06.001 [DEBUG] [i.internal.protocol.KodiClientSocket] - send message: {"jsonrpc":"2.0","id":603,"method":"Application.GetProperties","params":{"properties":["version","name"]}}
2018-10-17 17:07:06.003 [DEBUG] [i.internal.protocol.KodiClientSocket] - Message received from server: {"id":603,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":17,"minor":6,"revision":"a9a7a20","tag":"stable"}}}
2018-10-17 17:07:06.004 [DEBUG] [i.internal.protocol.KodiClientSocket] - callMethod returns {"id":603,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":17,"minor":6,"revision":"a9a7a20","tag":"stable"}}}
2018-10-17 17:11:10.586 [DEBUG] [i.internal.protocol.KodiClientSocket] - send message: {"jsonrpc":"2.0","id":604,"method":"Application.GetProperties","params":{"properties":["version","name"]}}
2018-10-17 17:11:10.589 [DEBUG] [i.internal.protocol.KodiClientSocket] - Message received from server: {"id":604,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":17,"minor":6,"revision":"a9a7a20","tag":"stable"}}}
2018-10-17 17:11:10.590 [DEBUG] [i.internal.protocol.KodiClientSocket] - callMethod returns {"id":604,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":17,"minor":6,"revision":"a9a7a20","tag":"stable"}}}
2018-10-17 17:11:10.591 [DEBUG] [i.internal.protocol.KodiClientSocket] - send message: {"jsonrpc":"2.0","id":605,"method":"Favourites.GetFavourites","params":{"properties":["path","window","windowparameter"]}}
2018-10-17 17:11:10.594 [DEBUG] [i.internal.protocol.KodiClientSocket] - Message received from server: {"id":605,"jsonrpc":"2.0","result":{"favourites":null,"limits":{"end":0,"start":0,"total":0}}}
2018-10-17 17:11:10.595 [DEBUG] [i.internal.protocol.KodiClientSocket] - callMethod returns {"id":605,"jsonrpc":"2.0","result":{"favourites":null,"limits":{"end":0,"start":0,"total":0}}}
2018-10-17 17:13:34.276 [DEBUG] [i.internal.protocol.KodiClientSocket] - send message: {"jsonrpc":"2.0","id":606,"method":"Application.GetProperties","params":{"properties":["version","name"]}}
2018-10-17 17:13:34.279 [DEBUG] [i.internal.protocol.KodiClientSocket] - Message received from server: {"id":606,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":17,"minor":6,"revision":"a9a7a20","tag":"stable"}}}
2018-10-17 17:13:34.280 [DEBUG] [i.internal.protocol.KodiClientSocket] - callMethod returns {"id":606,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":17,"minor":6,"revision":"a9a7a20","tag":"stable"}}}
2018-10-17 17:17:40.194 [DEBUG] [i.internal.protocol.KodiClientSocket] - send message: {"jsonrpc":"2.0","id":607,"method":"Application.GetProperties","params":{"properties":["version","name"]}}
2018-10-17 17:17:40.197 [DEBUG] [i.internal.protocol.KodiClientSocket] - Message received from server: {"id":607,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":17,"minor":6,"revision":"a9a7a20","tag":"stable"}}}
2018-10-17 17:17:40.199 [DEBUG] [i.internal.protocol.KodiClientSocket] - callMethod returns {"id":607,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":17,"minor":6,"revision":"a9a7a20","tag":"stable"}}}
2018-10-17 17:17:40.200 [DEBUG] [i.internal.protocol.KodiClientSocket] - send message: {"jsonrpc":"2.0","id":608,"method":"Favourites.GetFavourites","params":{"properties":["path","window","windowparameter"]}}
2018-10-17 17:17:40.203 [DEBUG] [i.internal.protocol.KodiClientSocket] - Message received from server: {"id":608,"jsonrpc":"2.0","result":{"favourites":null,"limits":{"end":0,"start":0,"total":0}}}
2018-10-17 17:17:40.204 [DEBUG] [i.internal.protocol.KodiClientSocket] - callMethod returns {"id":608,"jsonrpc":"2.0","result":{"favourites":null,"limits":{"end":0,"start":0,"total":0}}}
2018-10-17 17:20:06.574 [DEBUG] [i.internal.protocol.KodiClientSocket] - send message: {"jsonrpc":"2.0","id":609,"method":"Application.GetProperties","params":{"properties":["version","name"]}}
2018-10-17 17:20:06.577 [DEBUG] [i.internal.protocol.KodiClientSocket] - Message received from server: {"id":609,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":17,"minor":6,"revision":"a9a7a20","tag":"stable"}}}
2018-10-17 17:20:06.579 [DEBUG] [i.internal.protocol.KodiClientSocket] - callMethod returns {"id":609,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":17,"minor":6,"revision":"a9a7a20","tag":"stable"}}}

Yes, it is. For me it is working fine. Did you try a restart of Kodi binding? Which hardware / OS do you use?

Thanks for the confirmation. I’ve tried a restart and I’m still only seeing logs every 4 minutes or so, although I’m not certain if I should see them every 10 secs as per the refresh interval?

OH is on a Celeron NUC running Ubuntu 16.04. I’m still on 2.3 stable release.

I’ll keep looking, maybe a packet capture to see the actual frequency of the outbound requests and see if they align with the debug log.

Thanks again!