aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2021-07-09 12:56:41 +0200
committerChocobozzz <chocobozzz@cpy.re>2021-07-12 15:34:32 +0200
commit2a408c40a99115a33f1712189c724e9bcb3ac519 (patch)
tree96f5bfa86fb9c50bca62e8ab9196a8d7ffc01e0c /server
parentbd873df0649fee2627250b17a9c41eca1aaeef39 (diff)
downloadPeerTube-2a408c40a99115a33f1712189c724e9bcb3ac519.tar.gz
PeerTube-2a408c40a99115a33f1712189c724e9bcb3ac519.tar.zst
PeerTube-2a408c40a99115a33f1712189c724e9bcb3ac519.zip
change audio label, 0p > Audio
Changes the audio label in the Download modal.
Diffstat (limited to 'server')
-rw-r--r--server/models/video/formatter/video-format-utils.ts2
1 files changed, 1 insertions, 1 deletions
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 (
212 return { 212 return {
213 resolution: { 213 resolution: {
214 id: videoFile.resolution, 214 id: videoFile.resolution,
215 label: videoFile.resolution + 'p' 215 label: videoFile.resolution === 0 ? 'Audio' : `${videoFile.resolution}p`
216 }, 216 },
217 217
218 magnetUri: includeMagnet && videoFile.hasTorrent() 218 magnetUri: includeMagnet && videoFile.hasTorrent()