xbmc / Official-Kodi-Remote-iOS

Full-featured remote control for XBMC Media Center. It features library browsing, now playing informations and a direct remote control.
Other
222 stars 104 forks source link

Enhancement: Select Kodi instance in custom URL handler #75

Open christianTF opened 8 years ago

christianTF commented 8 years ago

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

kambala-decapitator commented 3 years ago

if possible, please test: https://github.com/kambala-decapitator/Official-Kodi-Remote-iOS/tree/custom-url-select-server

URL examples:

PR will be created later.