]> git.ktnx.net Git - mpd-feeder.git/commit
working re-connection on disconnection
authorDamyan Ivanov <dmn@debian.org>
Thu, 25 Nov 2021 07:44:11 +0000 (07:44 +0000)
committerDamyan Ivanov <dmn@debian.org>
Thu, 25 Nov 2021 07:44:11 +0000 (07:44 +0000)
commit75314ca2df940801910e9fb045db5fb15ac87f93
tree6db0b84fcb75d4b79d742b8e2167d1794d1fdb4c
parent841c96b547cd0896e244747857af7556b2a98e38
working re-connection on disconnection

it is not enough to cancel the idle future and then re-connect.

Net::Async::MPD is just not suited for such a scenario due to its
internal state not refrecting the loss of connection

so, upon disconnect, abandon the N:A:MPD instance and create a new one
lib/App/MPD/Feeder.pm