GilangAlRusliadi commited on
Commit
da65dfc
·
1 Parent(s): 3e4e56a
Files changed (1) hide show
  1. trailer.py +2 -2
trailer.py CHANGED
@@ -12,7 +12,7 @@ def trailer(url):
12
  os.makedirs(thumbnail_dir)
13
 
14
  # Set the path to the video directory
15
- video_dir = "/home/user/app/Trailer/Hasil Download"
16
  if not os.path.exists(thumbnail_dir):
17
  os.makedirs(thumbnail_dir)
18
  response = requests.get(url)
@@ -75,7 +75,7 @@ def trailer(url):
75
 
76
  print("==================================================================================")
77
  # Mengkonversi video
78
- convert_videos(720, video_dir)
79
  print("==================================================================================")
80
  # Menggabungkan video
81
  output_file = join_video()
 
12
  os.makedirs(thumbnail_dir)
13
 
14
  # Set the path to the video directory
15
+ video_dir = "/home/user/app/Hasil Download"
16
  if not os.path.exists(thumbnail_dir):
17
  os.makedirs(thumbnail_dir)
18
  response = requests.get(url)
 
75
 
76
  print("==================================================================================")
77
  # Mengkonversi video
78
+ output_file = convert_videos(720, video_dir)
79
  print("==================================================================================")
80
  # Menggabungkan video
81
  output_file = join_video()