'Returns the TLID of the track that will be played if calling
:meth:`mopidy.core.PlaybackController.previous()`.
For normal playback this is the previous track in the tracklist. If
random and/or consume is enabled it should return the current track
instead.
:rtype: :class:`int` or :class:`None`
.. versionadded:: 1.1'

def get_previous_tlid(self):

    current_tl_track = self.core.playback.get_current_tl_track()
    return getattr(self.previous_track(current_tl_track), u'tlid', None)
