'The track that will be played after the given track.
Not necessarily the same track as :meth:`next_track`.
:param tl_track: the reference track
:type tl_track: :class:`mopidy.models.TlTrack` or :class:`None`
:rtype: :class:`mopidy.models.TlTrack` or :class:`None`'

def eot_track(self, tl_track):

    deprecation.warn(u'core.tracklist.eot_track', pending=True)
    ((tl_track is None) or validation.check_instance(tl_track, TlTrack))
    if (self.get_single() and self.get_repeat()):
        return tl_track
    elif self.get_single():
        return None
    return self.next_track(tl_track)
