|
@@ -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)
|