mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[orf:radio] Extract series (#20012)
This commit is contained in:
parent
ddff25c5d1
commit
0146c6cde6
1 changed files with 2 additions and 1 deletions
|
@ -176,7 +176,8 @@ def extract_entry_dict(info, title, subtitle):
|
||||||
'description': subtitle,
|
'description': subtitle,
|
||||||
'duration': (info['end'] - info['start']) / 1000,
|
'duration': (info['end'] - info['start']) / 1000,
|
||||||
'timestamp': 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']]
|
entries = [extract_entry_dict(t, data['title'], data['subtitle']) for t in data['streams']]
|
||||||
|
|
Loading…
Reference in a new issue