'Returns the beatport source weight and the maximum source weight
for individual tracks.'

def track_distance(self, item, track_info):

    dist = Distance()
    if (track_info.data_source == 'Beatport'):
        dist.add('source', self.config['source_weight'].as_number())
    return dist
