How do I omit separator in file prefix if "episode" substitution parameter is empty?
Hi all,
I've changed my default output filename from:

and that generally gives me much nicer looking filenames.

However when recording programmes which have no <episode> info (e.g. one-off programmes), it gives me an awkward looking filename:

Is there anyway I can avoid this? i.e. have a different naming convention when <episode> is null???
I've defined a preset for this called "single" (for downloading single episodes) and have preset the output filename to simply <name>, but I was wondering if anyone had a more elegant solution that doesn't require using presets?

Many thanks!
Have a read of the wiki:
Many thanks!

Possibly Related Threads...
Thread Author Replies Views Last Post
  Help with File Naming Strategy using Substitution Parameters D6MCK 3 1,294 07-03-2019, 11:25 PM
Last Post: mrg9999
  Episode title must be included in --file-prefix in order to appear in output filename louiscar 4 2,182 19-10-2018, 11:33 AM
Last Post: louiscar
  What is a safe separator character for --listformat format strings? flypig 2 1,724 26-05-2018, 07:04 PM
Last Post: flypig
  How do I set a default file name prefix? jamesgjm 5 3,924 02-05-2017, 09:06 PM
Last Post: jamesgjm