Add issue template

This commit is contained in:
Lovi 2025-01-06 10:47:37 +01:00
parent 75e6ffc5b0
commit 90adae0c3e
2 changed files with 28 additions and 2 deletions

26
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,26 @@
---
name: Bug Report
about: Report a bug you encountered
title: "[BUG] Brief description of the issue"
labels: bug
assignees: ''
---
**Checklist before submitting**
Please make sure to check the following:
- [ ] You are using the latest version of the project/repository.
- [ ] The issue relates to a website or a specific functionality.
- [ ] If the issue is related to a website, you have verified that the URL works correctly in your browser.
**Describe the issue**
Provide a clear and complete description of the problem.
**Expected behavior**
Explain what you expected to happen.
**Screenshots**
If applicable, attach screenshots that illustrate the issue.
**Additional context**
Add any other relevant information that could help in diagnosing the problem.

View File

@ -199,7 +199,7 @@ class M3U8_Ts_Estimator:
if TQDM_USE_LARGE_BAR: if TQDM_USE_LARGE_BAR:
speed_data = self.get_average_speed() speed_data = self.get_average_speed()
logging.debug(f"Speed data for progress bar: {speed_data}") #logging.debug(f"Speed data for progress bar: {speed_data}")
if len(speed_data) >= 2: if len(speed_data) >= 2:
average_internet_speed = speed_data[0] average_internet_speed = speed_data[0]
@ -223,7 +223,7 @@ class M3U8_Ts_Estimator:
) )
progress_counter.set_postfix_str(progress_str) progress_counter.set_postfix_str(progress_str)
logging.debug(f"Updated progress bar: {progress_str}") #logging.debug(f"Updated progress bar: {progress_str}")
except Exception as e: except Exception as e:
logging.error(f"Error updating progress bar: {str(e)}") logging.error(f"Error updating progress bar: {str(e)}")