From 2a408c40a99115a33f1712189c724e9bcb3ac519 Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Fri, 9 Jul 2021 12:56:41 +0200 Subject: change audio label, 0p > Audio Changes the audio label in the Download modal. --- server/models/video/formatter/video-format-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models/video') diff --git a/server/models/video/formatter/video-format-utils.ts b/server/models/video/formatter/video-format-utils.ts index 672c671b8..6b1e59063 100644 --- a/server/models/video/formatter/video-format-utils.ts +++ b/server/models/video/formatter/video-format-utils.ts @@ -212,7 +212,7 @@ function videoFilesModelToFormattedJSON ( return { resolution: { id: videoFile.resolution, - label: videoFile.resolution + 'p' + label: videoFile.resolution === 0 ? 'Audio' : `${videoFile.resolution}p` }, magnetUri: includeMagnet && videoFile.hasTorrent() -- cgit v1.2.3