mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 05:26:37 +00:00
Merge pull request #910 from tcely/patch-6
Some checks failed
CI / info (push) Has been cancelled
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.8) (push) Has been cancelled
CI / test (3.9) (push) Has been cancelled
CI / containerise (push) Has been cancelled
Some checks failed
CI / info (push) Has been cancelled
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.8) (push) Has been cancelled
CI / test (3.9) (push) Has been cancelled
CI / containerise (push) Has been cancelled
Add `extractor` so that `id` cannot collide
This commit is contained in:
commit
26e545a399
@ -179,7 +179,7 @@ def get_media_info(url, /, *, days=None, info_json=None):
|
|||||||
playlist_infojson = 'postprocessor_[%(id)s]_%(n_entries)d_%(playlist_count)d_temp'
|
playlist_infojson = 'postprocessor_[%(id)s]_%(n_entries)d_%(playlist_count)d_temp'
|
||||||
outtmpl = dict(
|
outtmpl = dict(
|
||||||
default='',
|
default='',
|
||||||
infojson='%(id)s.%(ext)s' if paths.get('infojson') else '',
|
infojson='%(extractor)s/%(id)s.%(ext)s' if paths.get('infojson') else '',
|
||||||
pl_infojson=f'{cache_directory_path}/infojson/playlist/{playlist_infojson}.%(ext)s',
|
pl_infojson=f'{cache_directory_path}/infojson/playlist/{playlist_infojson}.%(ext)s',
|
||||||
)
|
)
|
||||||
for k in OUTTMPL_TYPES.keys():
|
for k in OUTTMPL_TYPES.keys():
|
||||||
|
Loading…
Reference in New Issue
Block a user