Yatse Call Plugin does not works properly on Android 8


#1

After upgrading to Android 8, Call Plugin works incorrectly in most cases.

On Android 7, each call properly pause media on my Kodi server.

On Android 8, only about 1 from 3 times plugin pauses media, in most cases nothing happens. Additionally, if I manually pause media during call, plugin successfully resume media after call ends.

Motorola Moto Z Play


#2

As always logs please :slight_smile:

https://yatse.tv/wiki/debug-yatse-kodi-remote


#3

Found this

2018-07-25 11:06:36.592 Verbose/YatseCommandService: [email protected]: Processing : org.leetzone.android.yatsewidget.ACTION_MEDIA_COMMAND - pause - null - -1 - false
2018-07-25 11:06:36.626 Verbose/YatseCommandService: [email protected]: Processing : org.leetzone.android.yatsewidget.ACTION_MEDIA_NOTIFICATION - Incoming call from| Катерина - null - -1 - false
2018-07-25 11:06:36.626 Verbose/EventClient: [email protected]: notification: Incoming call from
2018-07-25 11:06:36.652 Verbose/EventClient: [email protected]: Sending ping
2018-07-25 11:06:36.652 Verbose/KodiLogger: --> POST http://192.168.1.16/jsonrpc (185-byte body)
2018-07-25 11:06:36.652 Verbose/KodiLogger: --> [952] [{“id”:332,“jsonrpc”:“2.0”,“method”:“Player.PlayPause”,“params”:{“play”:false,“playerid”:0}},{“id”:256,“jsonrpc”:“2.0”,“method”:“Player.PlayPause”,“params”:{“play”:false,“playerid”:1}}]
2018-07-25 11:06:37.085 Verbose/KodiLogger: <-- [952] 200 OK http://192.168.1.16/jsonrpc (432ms, 179-byte body)
2018-07-25 11:06:37.086 Verbose/KodiLogger: <-- [952] [{“error”:{“code”:-32100,“message”:“Failed to execute method.”},“id”:332,“jsonrpc”:“2.0”},{“error”:{“code”:-32100,“message”:“Failed to execute method.”},“id”:256,“jsonrpc”:“2.0”}]
2018-07-25 11:06:37.295 Verbose/YatseReceiver: [email protected]: OnReceive: android.intent.action.SCREEN_ON
2018-07-25 11:06:37.296 Verbose/YatseReceiver: [email protected]: Screen On
2018-07-25 11:06:37.300 Verbose/NetworkManager: [email protected]: Network Status Check
2018-07-25 11:06:37.301 Verbose/NetworkManager: [email protected]: Not Wifi Only
2018-07-25 11:06:37.302 Verbose/NetworkManager: [email protected]: Status: true / WIFI

Looks like something wrong on Kodi side
Failed to execute method
But weird thing, it happens not every time


#4

Well with just that small extract and no Kodi logs all I can tell is the same as you :slight_smile:

Kodi refuse to pause the media, but Yatse have done it’s job.