def METHOD_NAME(self, line):
    if line.startswith("file "):
        full_file = line[5:]
        file1 = os.path.basename(full_file)
        file2 = os.path.splitext(file1)[0]
        self._tags.update({"file": full_file})
        self._tags.update({"file1": file1})
        self._tags.update({"file2": file2})
        return
    name, key, value = (line.split(" ", 2) + [None, None])[:3]
    if name == "status":
        self._status = key
    if name == "tag":
        self._tags.update({key: value})
    if name in ["duration", "position"]:
        self._tags.update({name: util.format.duration(int(key))})
    if name == "set" and key == "repeat":
        self._repeat = value == "true"
    if name == "set" and key == "shuffle":
        self._shuffle = value == "true"