Skip to content

Commit

Permalink
Remove unused line
Browse files Browse the repository at this point in the history
要らんやつ削除
  • Loading branch information
NyaShinn1204 committed Nov 14, 2024
1 parent a089e58 commit 2f87515
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ext/unext.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,13 @@ def decrypt_content(self, keys, input_file, output_file):
with tqdm(total=100, desc="Decrypting Content", unit="%") as pbar:
with subprocess.Popen(mp4decrypt_command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True) as process:
for line in process.stdout:
#print(line.strip()) # 標準出力の内容を表示

# 「イ」の数をカウントして進捗バーを更新
match = re.search(r"(イ+)", line)
if match:
progress_count = len(match.group(1))
pbar.n = progress_count # 現在の進捗に設定
pbar.n = progress_count
pbar.refresh()

process.wait() # 完了まで待機
process.wait()
pbar.close()

def mux_episode(self, video_name, audio_name, output_name):
Expand Down Expand Up @@ -215,7 +212,6 @@ def extract_audio_info(mpd_content, bandwidth_calculation_audio):
root = ET.fromstring(mpd_content)

audio_bandwidth = bandwidth_calculation_audio
print(audio_bandwidth)

audio_adaptation_set = root.find(".//AdaptationSet[@contentType='audio']", namespaces)

Expand Down

0 comments on commit 2f87515

Please sign in to comment.