Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
Lovi-0 committed Feb 28, 2024
1 parent fec9df9 commit d90a951
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions Src/Lib/FFmpeg/my_m3u8.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,7 @@ def get_req_ts(self, ts_url):

url_number = self.segments.index(ts_url)

is_valid = True
for failde_seg in failed_segments:
if str(failde_seg) in ts_url:
is_valid = False
break
is_valid = ( str(url_number) in failed_segments )

if is_valid:

Expand Down Expand Up @@ -312,8 +308,8 @@ def extract_number(file_name):

with open(file_list_path, 'w') as f:
for ts_file in ts_files:
relative_path = os.path.relpath(os.path.join(self.temp_folder, ts_file), current_dir)
f.write(f"file '{relative_path}'\n")
absolute_path = os.path.abspath(os.path.join(self.temp_folder, ts_file), current_dir)
f.write(f"file '{absolute_path}'\n")

console.log("[cyan]Start join all file")
try:
Expand Down
2 changes: 1 addition & 1 deletion Src/Upload/__version__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__title__ = 'Streaming_community'
__version__ = 'v0.8.5'
__version__ = 'v0.8.7'
__author__ = 'Ghost6446'
__description__ = 'A command-line program to download film'
__license__ = 'MIT License'
Expand Down

0 comments on commit d90a951

Please sign in to comment.