]> p2p-next.cs.pub.ro Git - living-lab-site.git/blobdiff - cis/api/base.py
CIS: torrent creation implemented
[living-lab-site.git] / cis / api / base.py
index cff692fa6cfeb6ffb39e2d100763bdcc7f1521f8..dce1efbd8d2bcfd5fb8aabb13d0c6801a813b592 100644 (file)
@@ -288,8 +288,9 @@ class BaseFileTransferer:
 
 class BaseAVInfo:
     @staticmethod
-    def get_video_duration(input_file):
+    def get_video_duration(input_file, formated=False):
         """
-        Returns the number of seconds of a video (int/float).
+        Returns the number of seconds of a video (int/float) if formated is
+        False and a string for duration formated as [HH:]:mm:ss otherwise.
         """
         pass