[YoutubeDL] Improve _format_note
[youtube-dl] / youtube_dl / YoutubeDL.py
index 2dfdea032d1c3eb5639ce758f363efeca4a2e06e..b3391088f9003c3a94daa2acd4e130c6f5223cd2 100755 (executable)
@@ -1856,7 +1856,9 @@ class YoutubeDL(object):
         if fdict.get('vbr') is not None:
             res += '%4dk' % fdict['vbr']
         if fdict.get('fps') is not None:
-            res += ', %sfps' % fdict['fps']
+            if res:
+                res += ', '
+            res += '%sfps' % fdict['fps']
         if fdict.get('acodec') is not None:
             if res:
                 res += ', '