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
224 stars 104 forks source link

Rework handling default server port and tcp port #1183

Closed wutschel closed 1 week ago

wutschel commented 3 weeks ago

Description

Resolves an issue reported via TestFlight. The App shows default values for server port (8080) and tcp port (9090) in the placeholders of the text fields. If the values are not set explicitly, these defaults should be used automatically. This was not done for the server port, which resulted in connection errors in this case.

This PR now changes few things to improve the behaviour and maintainability:

Summary for release notes

Improvement: Use port defaults if not explicitly set Maintenance: Centralized definition of port defaults

wutschel commented 1 week ago

Squashed and rebased to master.