+ } for i, s in enumerate(sources)]
+ for i, s in enumerate(sources):
+ orig_url = s['file'].replace('.h264_base.mp4', '')
+ if s['file'] != orig_url:
+ formats.append({
+ 'format_id': 'original-%s' % i,
+ 'format_note': s.get('label'),
+ 'url': orig_url,
+ 'preference': 1,
+ })