'Given an AlbumMatch or TrackMatch object or an action constant,
indicates that an action has been selected for this task.'

def set_choice(self, choice):

    assert (choice != action.APPLY)
    if (choice in (action.SKIP, action.ASIS, action.TRACKS, action.ALBUMS, action.RETAG)):
        self.choice_flag = choice
        self.match = None
    else:
        self.choice_flag = action.APPLY
        self.match = choice
