mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-22 13:06:34 +00:00
Use list.append
instead of list.extend
This commit is contained in:
parent
26e545a399
commit
7002cb458b
@ -170,11 +170,11 @@ def get_media_info(url, /, *, days=None, info_json=None):
|
||||
})
|
||||
default_postprocessors = user_set('postprocessors', default_opts.__dict__, list())
|
||||
postprocessors = user_set('postprocessors', opts, default_postprocessors)
|
||||
postprocessors.extend((dict(
|
||||
postprocessors.append(dict(
|
||||
key='Exec',
|
||||
when='playlist',
|
||||
exec_cmd="/usr/bin/env bash /app/full_playlist.sh '%(id)s' '%(playlist_count)d'",
|
||||
),))
|
||||
))
|
||||
cache_directory_path = Path(user_set('cachedir', opts, '/dev/shm'))
|
||||
playlist_infojson = 'postprocessor_[%(id)s]_%(n_entries)d_%(playlist_count)d_temp'
|
||||
outtmpl = dict(
|
||||
|
Loading…
Reference in New Issue
Block a user