TwinFan / LiveTraffic

LiveTraffic is an X-Plane multiplayer plugin, which fills your sky with live air traffic based on public flight tracking data.
https://twinfan.gitbook.io/livetraffic/
Other
99 stars 24 forks source link

Channel status should not stay disabled after being stopped due to errors #215

Closed TwinFan closed 3 years ago

TwinFan commented 3 years ago

Describe the bug Channels are stopped when producing too many errors. That is a sensible safety measure. It may even affect all channels if the internet connection is broken.

However, this is saved as a disabled channel in the config file when exiting from LiveTraffic, causing LiveTraffic to restart with not all channels enabled, potentially even with none.

Though starting with no channel is actually the least concern as LiveTraffic spits errors and messages that no channel is enabled. Keeping an individual channel disabled is way more likely to go unnoticed.

To Reproduce Disconnect internet, wait for all channels to stop, then exit from LiveTraffic/X-Plane. Reconnect internet. Restart LiveTraffic/X-Plane.

Expected behavior The stored configuration should not change. All previously activated channels should be activated upon restart. There must be a way (button in settings/info wnd?) for retrying a temporarily stopped channel.

Technical Info: