Skip to content

Commit 15cab24

Browse files
committed
Fix #407 1 / 2
1 parent f9a5a0e commit 15cab24

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

StreamingCommunity/Lib/Downloader/DASH/segments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def _get_bar_format(self, description: str) -> str:
369369
Generate platform-appropriate progress bar format.
370370
"""
371371
return (
372-
f"{Colors.YELLOW}- DASH{Colors.CYAN} {description}{Colors.WHITE}: "
372+
f"{Colors.YELLOW}DASH{Colors.CYAN} {description}{Colors.WHITE}: "
373373
f"{Colors.MAGENTA}{{bar:40}} "
374374
f"{Colors.LIGHT_GREEN}{{n_fmt}}{Colors.WHITE}/{Colors.CYAN}{{total_fmt}} {Colors.LIGHT_MAGENTA}TS {Colors.WHITE}"
375375
f"{Colors.DARK_GRAY}[{Colors.YELLOW}{{elapsed}}{Colors.WHITE} < {Colors.CYAN}{{remaining}}{Colors.DARK_GRAY}] "

StreamingCommunity/Lib/M3U8/estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __del__(self):
4242
def add_ts_file(self, size: int):
4343
"""Add a file size to the list of file sizes."""
4444
if size <= 0:
45-
logging.error(f"Invalid input values: size={size}")
45+
logging.error(f"\nInvalid input values: size={size}")
4646
return
4747

4848
with self.lock:

config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"ita",
3535
"eng"
3636
],
37+
"limit_segment": 0,
3738
"cleanup_tmp_folder": true,
3839
"get_only_link": false
3940
},

0 commit comments

Comments
 (0)