Official-Kodi-Remote-iOS
Official-Kodi-Remote-iOS copied to clipboard
Enhancement: Select Kodi instance in custom URL handler
Depending to the commit https://github.com/joethefox/Unofficial-Official-XBMC-Remote/pull/36/commits/c7fee91cb981f567f17dd5f5ad5588f9993d4521 it would be fine to select a configured Kodi instance by the URL, and the App directly connects to that instance.
In the app, there is the list of used Kodi installations. If the URL handler receives a host name or ip, it should search the list and directly connect to that Kodi installation with the specified connection parameters.
My use-case is: I use a home automation app that can call other apps. In the living room, I want to call Kodi Remote with the living room installation, and in the party room with that installation. As the description of the installations may vary from iOS device to iOS device, the key value to look in the installations list should be host name or ip.
Regards and thanks for the cool app! Christian
if possible, please test: https://github.com/kambala-decapitator/Official-Kodi-Remote-iOS/tree/custom-url-select-server
URL examples:
- xbmcremote://Kodi-mini (server description)
- xbmcremote://192.168.1.2 (server IP)
PR will be created later.