chanjunkai 5 жил өмнө
parent
commit
e09e144006
1 өөрчлөгдсөн 13 нэмэгдсэн , 13 устгасан
  1. 13 13
      Object/m3u8generate.py

+ 13 - 13
Object/m3u8generate.py

@@ -74,17 +74,17 @@ class PlaylistGenerator(object):
         return self._generate()
 
 #
-playlist_entries = [
-    {
-        'name':  "Awesomevideo_001.mp4",
-        'duration': '10.04',
-    },
-    {
-        'name': "xxx.ts",
-        'duration': '30'
-    }
-
-]
-playlist = PlaylistGenerator(playlist_entries).generate()
+# playlist_entries = [
+#     {
+#         'name':  "Awesomevideo_001.mp4",
+#         'duration': '10.04',
+#     },
+#     {
+#         'name': "xxx.ts",
+#         'duration': '30'
+#     }
 #
-print(playlist)
+# ]
+# playlist = PlaylistGenerator(playlist_entries).generate()
+# #
+# print(playlist)