31/10/2014, 16:03:27
Merci pour ta réponse.
Je vais tester pour le point 1.
Pour le point 2, si tu as le temps de faire un widget çà serait formidable parce que moi je ne sais pas faire cela. Il y a toutes les infos, c'est très bien documenté coté kodi (ex :XBMC).
Voici le résumé des actions télécommandes :
Quit {"jsonrpc":"2.0","method":"Application.Quit","id":1}
Home {"jsonrpc":"2.0","method":"Input.Home","id":1}
Update Vid {"jsonrpc":"2.0","method":"VideoLibrary.Scan","id":1}
Clean Vid {"jsonrpc":"2.0","method":"VideoLibrary.Clean","id":1}
30Sec Forward {"jsonrpc":"2.0","id":1,"method":"Player.Seek","params":{"playerid":1,"value":"smallforward"}}
30Sec Back {"jsonrpc":"2.0","id":1,"method":"Player.Seek","params":{"playerid":1,"value":"smallbackward"}}
10Min Forward {"jsonrpc":"2.0","id":1,"method":"Player.Seek","params":{"playerid":1,"value":"bigforward"}}
10Min Back {"jsonrpc":"2.0","id":1,"method":"Player.Seek","params":{"playerid":1,"value":"bigbackward"}}
Play/Pause {"jsonrpc":"2.0","id":1,"method":"Player.PlayPause","params":{"playerid":1}}
Stop {"jsonrpc":"2.0","id":1,"method":"Player.Stop","params":{"playerid":1}}
FF {"jsonrpc":"2.0","id":1,"method":"Player.SetSpeed","params":{"playerid":1,"speed":"increment"}}
Rew {"jsonrpc":"2.0","id":1,"method":"Player.SetSpeed","params":{"playerid":1,"speed":"decrement"}}
Enter {"jsonrpc":"2.0","method":"Input.Select","id":1}
Up {"jsonrpc":"2.0","method":"Input.Up","id":1}
Down {"jsonrpc":"2.0","method":"Input.Down","id":1}
Left {"jsonrpc":"2.0","method":"Input.Left","id":1}
Right {"jsonrpc":"2.0","method":"Input.Right","id":1}
Back {"jsonrpc":"2.0","method":"Input.Back","id":1}
Subtitle Off {"jsonrpc":"2.0","id":1,"method":"Player.SetSubtitle","params":{"playerid":1,"subtitle":"off"}}
Subtitle On {"jsonrpc":"2.0","id":1,"method":"Player.SetSubtitle","params":{"playerid":1,"subtitle":"on"}}
Select {"jsonrpc":"2.0","method":"Input.Select","id":1}
Suspend {"jsonrpc":"2.0","method":"System.Suspend","id":1}
Menu {"jsonrpc":"2.0","method":"Input.ContextMenu","id":1}
Info {"jsonrpc":"2.0","method":"Input.Info","id":1}
Show OSD {"jsonrpc":"2.0","method":"Input.ShowOSD","id":1}
et le lien vers toutes les méthodes possibles : http://kodi.wiki/view/JSON-RPC_API/v6
Du coup je me pose une autre question, si il a un widget pourra t'on faire des scénarios du type "je clique sur pause et j’allume la lumière"?
Votre outil est formidable, c'est déjà bcp de temps. La documentation c'est tres long à ecrire...du moment qu'il y a de bonnes ames pour répondre aux questions tout va bien
Merci beaucoup
Cerize
Je vais tester pour le point 1.
Pour le point 2, si tu as le temps de faire un widget çà serait formidable parce que moi je ne sais pas faire cela. Il y a toutes les infos, c'est très bien documenté coté kodi (ex :XBMC).
Voici le résumé des actions télécommandes :
Quit {"jsonrpc":"2.0","method":"Application.Quit","id":1}
Home {"jsonrpc":"2.0","method":"Input.Home","id":1}
Update Vid {"jsonrpc":"2.0","method":"VideoLibrary.Scan","id":1}
Clean Vid {"jsonrpc":"2.0","method":"VideoLibrary.Clean","id":1}
30Sec Forward {"jsonrpc":"2.0","id":1,"method":"Player.Seek","params":{"playerid":1,"value":"smallforward"}}
30Sec Back {"jsonrpc":"2.0","id":1,"method":"Player.Seek","params":{"playerid":1,"value":"smallbackward"}}
10Min Forward {"jsonrpc":"2.0","id":1,"method":"Player.Seek","params":{"playerid":1,"value":"bigforward"}}
10Min Back {"jsonrpc":"2.0","id":1,"method":"Player.Seek","params":{"playerid":1,"value":"bigbackward"}}
Play/Pause {"jsonrpc":"2.0","id":1,"method":"Player.PlayPause","params":{"playerid":1}}
Stop {"jsonrpc":"2.0","id":1,"method":"Player.Stop","params":{"playerid":1}}
FF {"jsonrpc":"2.0","id":1,"method":"Player.SetSpeed","params":{"playerid":1,"speed":"increment"}}
Rew {"jsonrpc":"2.0","id":1,"method":"Player.SetSpeed","params":{"playerid":1,"speed":"decrement"}}
Enter {"jsonrpc":"2.0","method":"Input.Select","id":1}
Up {"jsonrpc":"2.0","method":"Input.Up","id":1}
Down {"jsonrpc":"2.0","method":"Input.Down","id":1}
Left {"jsonrpc":"2.0","method":"Input.Left","id":1}
Right {"jsonrpc":"2.0","method":"Input.Right","id":1}
Back {"jsonrpc":"2.0","method":"Input.Back","id":1}
Subtitle Off {"jsonrpc":"2.0","id":1,"method":"Player.SetSubtitle","params":{"playerid":1,"subtitle":"off"}}
Subtitle On {"jsonrpc":"2.0","id":1,"method":"Player.SetSubtitle","params":{"playerid":1,"subtitle":"on"}}
Select {"jsonrpc":"2.0","method":"Input.Select","id":1}
Suspend {"jsonrpc":"2.0","method":"System.Suspend","id":1}
Menu {"jsonrpc":"2.0","method":"Input.ContextMenu","id":1}
Info {"jsonrpc":"2.0","method":"Input.Info","id":1}
Show OSD {"jsonrpc":"2.0","method":"Input.ShowOSD","id":1}
et le lien vers toutes les méthodes possibles : http://kodi.wiki/view/JSON-RPC_API/v6
Du coup je me pose une autre question, si il a un widget pourra t'on faire des scénarios du type "je clique sur pause et j’allume la lumière"?
Votre outil est formidable, c'est déjà bcp de temps. La documentation c'est tres long à ecrire...du moment qu'il y a de bonnes ames pour répondre aux questions tout va bien
Merci beaucoup
Cerize