- project = ", ".join([t.data for t in audio.getall('PRIV')
- if t.owner == 'wolnelektury.pl?project'])
- funded_by = ", ".join([t.data for t in audio.getall('PRIV')
- if t.owner == 'wolnelektury.pl?funded_by'])
- except:
+ license = ', '.join(tag.url for tag in audio.getall('WCOP'))
+ project = ", ".join([
+ t.data.decode('utf-8') for t in audio.getall('PRIV')
+ if t.owner == 'wolnelektury.pl?project'])
+ funded_by = ", ".join([
+ t.data.decode('utf-8') for t in audio.getall('PRIV')
+ if t.owner == 'wolnelektury.pl?funded_by'])
+ except MutagenError: