chiark / gitweb /
disobedience/queue.c: Don't ramp up network activity when not playing.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 2 Jun 2020 01:53:29 +0000 (02:53 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 3 Jun 2020 20:49:07 +0000 (21:49 +0100)
commit751f0b576ab425d4a786d5c7c89285370d601235
tree379daab4f7e8c08d007346b60fadfd92618bf8ea
parent6735af5fd1a4ae3978c0c31ac6026f15742c0a90
disobedience/queue.c: Don't ramp up network activity when not playing.

If you paused the current track, or disabled playing, then Disobedience
would send a `queue' command every second, eating about 2.5 kB/s of
network for no good reason.  Fix this.
disobedience/queue.c