alaingilbert/Turntable-API — Issue #21: Automatically reconnect after connection lost?
Author: atomjack
Created: 2012-01-13 17:33:25+00:00
State: open

Is there a way to make the bot automatically reconnect to turntable if its internet connection goes down temporarily? I run a bot off my home connection, and occasionally it'll go down, maybe for just a few minutes, but when this happens of course the bot leaves turntable, and the only way I can see to have it reconnect is to restart the bot.

My bot is running on my ubuntu box, and I have it set up with an init script so it does automatically restart if it crashes, but this doesn't apply when just losing its internet connection.