def _succ_idx(self):
        if self.repeat:
            return self.current_index
        if self.random:
            return self._random_idx()
        return self.current_index + 1
Returns the index for the next song to play.
dataset/ETHPy150Open beetbox/beets/beetsplug/bpd/__init__.py/BaseServer._succ_idx