api/create-filename: don't add dub name when it doesn't exist
This commit is contained in:
parent
2068bba4ee
commit
3295afdaae
1 changed files with 3 additions and 1 deletions
|
@ -24,7 +24,9 @@ export default (f, style, isAudioOnly, isAudioMuted) => {
|
|||
default:
|
||||
case "classic":
|
||||
if (isAudioOnly) {
|
||||
if (f.youtubeDubName) {
|
||||
infoBase.push(f.youtubeDubName);
|
||||
}
|
||||
return `${infoBase.join("_")}_audio`;
|
||||
}
|
||||
filename = classicTags.join("_");
|
||||
|
|
Loading…
Reference in a new issue