mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 05:56:37 +00:00
Pass a tuple to extend
This commit is contained in:
parent
b30999747b
commit
a241550748
@ -158,11 +158,11 @@ def get_media_info(url, days=None):
|
|||||||
'temp': str(temp_dir_path),
|
'temp': str(temp_dir_path),
|
||||||
})
|
})
|
||||||
postprocessors = opts.get('postprocessors', default_opts.get('postprocessors', list()))
|
postprocessors = opts.get('postprocessors', default_opts.get('postprocessors', list()))
|
||||||
postprocessors.extend(dict(
|
postprocessors.extend((dict(
|
||||||
key='Exec',
|
key='Exec',
|
||||||
when='playlist',
|
when='playlist',
|
||||||
exec_cmd='/usr/bin/env sh /app/full_playlist.sh %(playlist_count)d %(n_entries)d',
|
exec_cmd='/usr/bin/env sh /app/full_playlist.sh %(playlist_count)d %(n_entries)d',
|
||||||
))
|
),))
|
||||||
opts.update({
|
opts.update({
|
||||||
'ignoreerrors': False, # explicitly set this to catch exceptions
|
'ignoreerrors': False, # explicitly set this to catch exceptions
|
||||||
'ignore_no_formats_error': False, # we must fail first to try again with this enabled
|
'ignore_no_formats_error': False, # we must fail first to try again with this enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user