mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 12:05:35 +00:00
Fix pypi
This commit is contained in:
parent
a79b952b6b
commit
2e9699ab01
@ -221,7 +221,10 @@ class M3U8_Segments:
|
|||||||
self.download_interrupted = True
|
self.download_interrupted = True
|
||||||
self.stop_event.set()
|
self.stop_event.set()
|
||||||
|
|
||||||
|
if threading.current_thread() is threading.main_thread():
|
||||||
signal.signal(signal.SIGINT, interrupt_handler)
|
signal.signal(signal.SIGINT, interrupt_handler)
|
||||||
|
else:
|
||||||
|
print("Signal handler must be set in the main thread")
|
||||||
|
|
||||||
def make_requests_stream(self, ts_url: str, index: int, progress_bar: tqdm, backoff_factor: float = 1.5) -> None:
|
def make_requests_stream(self, ts_url: str, index: int, progress_bar: tqdm, backoff_factor: float = 1.5) -> None:
|
||||||
"""
|
"""
|
||||||
|
@ -4,7 +4,6 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import glob
|
import glob
|
||||||
import asyncio
|
|
||||||
import logging
|
import logging
|
||||||
import platform
|
import platform
|
||||||
import argparse
|
import argparse
|
||||||
@ -110,7 +109,7 @@ def initialize():
|
|||||||
|
|
||||||
# Get system info
|
# Get system info
|
||||||
os_summary = OsSummary()
|
os_summary = OsSummary()
|
||||||
asyncio.run(os_summary.get_system_summary())
|
os_summary.get_system_summary()
|
||||||
|
|
||||||
# Set terminal size for win 7
|
# Set terminal size for win 7
|
||||||
if platform.system() == "Windows" and "7" in platform.version():
|
if platform.system() == "Windows" and "7" in platform.version():
|
||||||
|
2
setup.py
2
setup.py
@ -11,7 +11,7 @@ with open("requirements.txt", "r", encoding="utf-8-sig") as f:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="StreamingCommunity",
|
name="StreamingCommunity",
|
||||||
version="1.9.0",
|
version="1.9.1",
|
||||||
long_description=read_readme(),
|
long_description=read_readme(),
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
author="Lovi-0",
|
author="Lovi-0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user