Req Navigate to letter in playlist via JSON? Any new way to achieve this? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174) +---- Thread: Req Navigate to letter in playlist via JSON? Any new way to achieve this? (/showthread.php?tid=359370) |
Navigate to letter in playlist via JSON? Any new way to achieve this? - houser - 2020-12-26 I know this has been up from time to time, but I noted some text in the lates 18.9 Leia release that made me try to revisit this over the holidays as I have some time on my hands. it looks like this feature will be in V12 of the API and V19.xx Matrix with the 5.7.2 Input.ButtonEvent ? Have been wanting to do this for years but never got around to it. Is there any current way under Leia 18.xx to send Shift+Letter via a JSON command? I simply want to jump to letter in large libraries. Anyone? If not I'll wait and hope for v19 Matrix Many thanks and best wishes for 2021! RE: Navigate to letter in playlist via JSON? Any new way to achieve this? - houser - 2021-05-11 Has anyone been able to use a JSON command to go to letter in a list yet? As I understood it, it might make the Matrix API.. Many thanks! RE: Navigate to letter in playlist via JSON? Any new way to achieve this? - houser - 2022-02-17 Hello, Just a final stab at this, as I would really like to add this to my iRule client before their servers go dark soon. I would like to send a JSON string that is the equivalent of shift-letter to go the corresponding letter in long lists in Kodi. I am trying to use the 5.7.2 Input.ButtonEvent from this page: https://kodi.wiki/view/JSON-RPC_API/v12#Input.ButtonEvent and this: https://kodi.wiki/view/Keymap#Keyboards By probably making up a keymap.xml for all letters shift-a, shift-b etc. and then assigning a JSON command to each. Can this be done? Many thanks for any helpful comments or examples on formatting. RE: Navigate to letter in playlist via JSON? Any new way to achieve this? - User 405025 - 2022-08-13 Hm.. Did you consider using the built-in action 'JumpSMS' <2-9>Jump through a list using SMS-style input (eg press 2 twice to jump to the B's.) - https://kodi.wiki/view/Action_IDs Input.ExecuteAction -> input.action labels / numbers will skipped if no item exist in lib sms2 - a,b,c,2 sms3 - d,e,f,3 sms4 - g,h,i,4 sms5 - j,k,l,5 sms6 - m,n,o,6 sms7 - p,q,r,s,7 sms8 - t,u,v,8 sms9 - x,y,z,9 Or build your keymap for the Input.ButtonEvent e.g.
RE: Navigate to letter in playlist via JSON? Any new way to achieve this? - houser - 2022-10-08 (2022-08-13, 19:52)mardukL Wrote: Hm.. Did you consider using the built-in action 'JumpSMS' <2-9>Jump through a list using SMS-style input (eg press 2 twice to jump to the B's.) - https://kodi.wiki/view/Action_IDs Dear @mardukL Apologies for late feedback to your kind reply. Missed the notification at the time for some reason. Anyway. This was pretty much exactly what I wanted. Up and running with your suggestion and very, very happy. Kudos!! |