[comedycentral] join playlists into one video when requested
This commit is contained in:
parent
7ee7436c6e
commit
6edb1a73ee
@ -203,9 +203,18 @@ class ComedyCentralShowsIE(InfoExtractor):
|
||||
'description': description,
|
||||
})
|
||||
|
||||
playlist_title = show_name + ' ' + title
|
||||
if self._downloader.params.get('joinparts') and len(entries) > 1:
|
||||
return {
|
||||
'id': epTitle,
|
||||
'title': playlist_title,
|
||||
'description': description,
|
||||
'formats': self._entry_formats_to_parts(entries)
|
||||
}
|
||||
|
||||
return {
|
||||
'_type': 'playlist',
|
||||
'entries': entries,
|
||||
'title': show_name + ' ' + title,
|
||||
'title': playlist_title,
|
||||
'description': description,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user