commit
3c54358f93
@ -40,7 +40,7 @@ RUN echo "deb https://mirrors.aliyun.com/debian/ bookworm main contrib non-free
|
||||
deb-src https://mirrors.aliyun.com/debian-security/ bookworm-security main contrib non-free non-free-firmware\n" \
|
||||
> /etc/apt/sources.list
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends cron
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends cron ffmpeg
|
||||
|
||||
RUN if [ "$LITE" = False ]; then apt-get install -y --no-install-recommends chromium chromium-driver; fi \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
@ -603,7 +603,7 @@ async def process_sort_channel_list(data, ipv6=False, callback=None):
|
||||
open_filter_speed = config.open_filter_speed
|
||||
open_filter_resolution = config.open_filter_resolution
|
||||
min_speed = config.min_speed
|
||||
min_resolution = config.min_resolution
|
||||
min_resolution = config.min_resolution_value
|
||||
for cate, obj in data.items():
|
||||
for name, info_list in obj.items():
|
||||
info_list = sort_urls(name, info_list, supply=open_supply, filter_speed=open_filter_speed,
|
||||
|
@ -299,7 +299,7 @@ async def get_speed(url, ipv6_proxy=None, filter_resolution=config.open_filter_r
|
||||
|
||||
|
||||
def sort_urls(name, data, supply=config.open_supply, filter_speed=config.open_filter_speed, min_speed=config.min_speed,
|
||||
filter_resolution=config.open_filter_resolution, min_resolution=config.min_resolution,
|
||||
filter_resolution=config.open_filter_resolution, min_resolution=config.min_resolution_value,
|
||||
logger=None):
|
||||
"""
|
||||
Sort the urls with info
|
||||
|
Loading…
x
Reference in New Issue
Block a user