def identify_audio_cd(self):
    '\n        Get the title for audio cds to use for the logfile name.\n\n        Needs the job class passed into it so it can be forwarded to mb\n\n        return - only the logfile - setup_logging() adds the full path\n        '
    disc_id = music_brainz.get_disc_id(self)
    mb_title = music_brainz.get_title(disc_id, self)
    if (mb_title == 'not identified'):
        self.label = self.title = 'not identified'
        logfile = 'music_cd.log'
        new_log_file = f'music_cd_{round((time.time() * 100))}.log'
    else:
        logfile = f'{mb_title}.log'
        new_log_file = f'{mb_title}_{round((time.time() * 100))}.log'
    temp_log_full = os.path.join(cfg['LOGPATH'], logfile)
    logfile = (new_log_file if os.path.isfile(temp_log_full) else logfile)
    return logfile
Get the title for audio cds to use for the logfile name.

Needs the job class passed into it so it can be forwarded to mb

return - only the logfile - setup_logging() adds the full path
def identify_audio_cd(self):
    '\n        Get the title for audio cds to use for the logfile name.\n\n        Needs the job class passed into it so it can be forwarded to mb\n\n        return - only the logfile - setup_logging() adds the full path\n        '
    disc_id = music_brainz.get_disc_id(self)
    mb_title = music_brainz.get_title(disc_id, self)
    if (mb_title == 'not identified'):
        self.label = self.title = 'not identified'
        logfile = 'music_cd.log'
        new_log_file = f'music_cd_{round((time.time() * 100))}.log'
    else:
        logfile = f'{mb_title}.log'
        new_log_file = f'{mb_title}_{round((time.time() * 100))}.log'
    temp_log_full = os.path.join(cfg['LOGPATH'], logfile)
    logfile = (new_log_file if os.path.isfile(temp_log_full) else logfile)
    return logfile