Win FrontView+ -Info for 2nd Screen - iMon replacement
(2017-10-23, 01:25)MKANET Wrote: I had forgotten to enable the option in Kodi for letting other systems remote control it.  Also, I didn't have the username specified.  Thanks!

While I have your attention, I've been meaning to ask you a couple of questions I think you might know the answer to (sorry if they're off topic):

1. I like to play music playlists in kodi in the background (minimized) while playing PC games in fullscreen.  If I press FF/REW to change the song in FrontView+, Kodi steals focus; causing the game to minimize itself to the Windows Taskbar.  I also can reproduce this when sending FF/REW commands via json rpc directly.  Can you think of any way at all to send REW or FF remotely to Kodi (without messing with the current fullscreen application)?

2.  Do you happen to know the json command that pauses/plays DSPlayer?  I can only use the below commandline for the native Kodi player.  I tried asking on the DSPlayer forum thread; but nobody seemed to know the answer; at least, there weren't any responses to my question.

Code:
curl.exe" -i -X POST -d "{\"jsonrpc\": \"2.0\", \"method\": \"Player.PlayPause\", \"params\": { \"playerid\": 0 }, \"id\": 1}" -H "content-type:application/json" http://127.0.0.1:8091/jsonrpc >nul 2>&1

Hi

Sorry for the delay been away.

2.  Is easy - at a guess just remove the player id params altogether, or check you have the right player and should work.  FrontView uses a similar json control method- the log should detail the exact command sent.
https://forum.kodi.tv/showthread.php?tid=157996&page=3
Has some Json control examples.

1.  If Kodi takes back focus after receiving a Json command - then that would be Kodi issue.  Can't imagine there is anyway around it - unless maybe ? EventClient still usable.

Could see if simple python example does not take focus away?  (Different remote control method to Json)  So it may work  (provided EventClient is still supported??)
https://github.com/xbmc/xbmc/blob/master..._action.py

Glenn
Reply


Messages In This Thread
RE: FrontView+ -Info for 2nd Screen - iMon replacement - by GlennNZ - 2017-11-05, 07:28
Logout Mark Read Team Forum Stats Members Help
FrontView+ -Info for 2nd Screen - iMon replacement3