mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-25 12:45:51 +01:00
[orf:radio] Extract series (#20012)
This commit is contained in:
parent
ddff25c5d1
commit
0146c6cde6
@ -176,7 +176,8 @@ def extract_entry_dict(info, title, subtitle):
|
||||
'description': subtitle,
|
||||
'duration': (info['end'] - info['start']) / 1000,
|
||||
'timestamp': info['start'] / 1000,
|
||||
'ext': 'mp3'
|
||||
'ext': 'mp3',
|
||||
'series': data.get('programTitle')
|
||||
}
|
||||
|
||||
entries = [extract_entry_dict(t, data['title'], data['subtitle']) for t in data['streams']]
|
||||
|
Loading…
Reference in New Issue
Block a user