Seek to a given timestamp in the current track, specified in the
        format of HH:MM:SS or H:MM:SS.

        Raises:
            ValueError: if the given timestamp is invalid.

def seek(self, timestamp):
        """Seek to a given timestamp in the current track, specified in the
        format of HH:MM:SS or H:MM:SS.

        Raises:
            ValueError: if the given timestamp is invalid.
        """
        if not re.match(r'^[0-9][0-9]?:[0-9][0-9]:[0-9][0-9]$', timestamp):
            raise ValueError('invalid timestamp, use HH:MM:SS format')

        self.avTransport.Seek([
            ('InstanceID', 0),
            ('Unit', 'REL_TIME'),
            ('Target', timestamp)
        ])