youtube-dl-server
youtube-dl-server copied to clipboard
selective output template
Is there any way that I can automatically select output template?
For example, If I try to download one video not belonging to any playlist, then 'YDL_OUTPUT_TEMPLATE': '/youtube-dl/%(title)s [%(id)s].%(ext)s'
But if I want to download a playlist, then 'YDL_OUTPUT_TEMPLATE': '/youtube-dl/%(playlist)s/%(playlist_index)02d - %(title)s [%(id)s].%(ext)s'