Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,8 @@ def create_master_playlist(output_paths):
|
|
50 |
for path in output_paths:
|
51 |
f.write(f"#EXT-X-STREAM-INF:BANDWIDTH={1000*1000},RESOLUTION={path.stem.split('_')[-1]}\n")
|
52 |
f.write(f"{path.name}\n")
|
53 |
-
return
|
|
|
54 |
|
55 |
def convert_video(video_file, quality, aspect_ratio, video_url):
|
56 |
input_path = get_input_path(video_file, video_url)
|
|
|
50 |
for path in output_paths:
|
51 |
f.write(f"#EXT-X-STREAM-INF:BANDWIDTH={1000*1000},RESOLUTION={path.stem.split('_')[-1]}\n")
|
52 |
f.write(f"{path.name}\n")
|
53 |
+
return master_playlist_path # make sure this is a single Path object
|
54 |
+
|
55 |
|
56 |
def convert_video(video_file, quality, aspect_ratio, video_url):
|
57 |
input_path = get_input_path(video_file, video_url)
|