mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 12:05:35 +00:00
fix version
This commit is contained in:
parent
fec9df9695
commit
d90a951dbf
@ -194,11 +194,7 @@ class M3U8_Segments:
|
||||
|
||||
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:
|
||||
|
||||
@ -312,8 +308,8 @@ class M3U8_Segments:
|
||||
|
||||
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:
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user