diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/models/video/formatter/video-format-utils.ts | 2 |
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() |