Skip to content

Commit

Permalink
Removing debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
sverrirs committed Nov 17, 2022
1 parent dc6d952 commit 5ce4080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ruvsarpur.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def printProgress (iteration, total, prefix = '', suffix = '', decimals = 1, bar
# Downloads all available subtitle files
def downloadSubtitlesFiles(subtitles, local_video_filename, video_display_title, video_item):
for subtitle in subtitles:

# See naming guidelines https://support.plex.tv/articles/200471133-adding-local-subtitles-to-your-media/
subtitle_name = "{0}.{1}".format( Path(local_video_filename).stem, subtitle['name'])
subtitle_filename = "{0}.{1}.vtt".format( local_video_filename.split(".mp4")[0], subtitle['name'])
Expand Down Expand Up @@ -332,7 +332,7 @@ def download_m3u8_playlist_using_ffmpeg(ffmpegexec, playlist_url, playlist_fragm
printProgress(completed_chunks, total_chunks, prefix = 'Downloading:', suffix = 'Starting', barLength = 25)

# Run the app and collect the output
print(prog_args)
# print(prog_args)
ret = subprocess.Popen(prog_args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True, env=my_env)
try:
while True:
Expand Down

0 comments on commit 5ce4080

Please sign in to comment.