From c4149a0b6fe8b6497b36231a88b7e85b9b7cae30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ous50=20=7C=20ousfifty=20=7C=20=E6=AC=A7=E5=BC=8Ffifty?= <36183551+ous50@users.noreply.github.com> Date: Tue, 14 Jan 2025 00:26:01 +0800 Subject: [PATCH] Separate BiliBili International from stream_hk (#53) Co-authored-by: Sukka --- Build/build-stream-service.ts | 5 +++-- Source/stream.ts | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Build/build-stream-service.ts b/Build/build-stream-service.ts index f88256be..b7b2217b 100644 --- a/Build/build-stream-service.ts +++ b/Build/build-stream-service.ts @@ -2,7 +2,7 @@ import type { Span } from './trace'; import { task } from './trace'; -import { ALL, NORTH_AMERICA, EU, HK, TW, JP, KR } from '../Source/stream'; +import { ALL, NORTH_AMERICA, EU, HK, TW, JP, KR, BILI_INTL } from '../Source/stream'; import { SHARED_DESCRIPTION } from './constants/description'; import { RulesetOutput } from './lib/create-file'; @@ -42,6 +42,7 @@ export const buildStreamService = task(require.main === module, __filename)(asyn createRulesetForStreamService(span, 'stream_tw', 'Taiwan', TW), createRulesetForStreamService(span, 'stream_jp', 'Japan', JP), // createRulesetForStreamService('stream_au', 'Oceania', AU), - createRulesetForStreamService(span, 'stream_kr', 'Korean', KR) + createRulesetForStreamService(span, 'stream_kr', 'Korean', KR), // createRulesetForStreamService('stream_south_east_asia', 'South East Asia', SOUTH_EAST_ASIA) + createRulesetForStreamService(span, 'stream_biliintl', 'Bilibili International', BILI_INTL) ])); diff --git a/Source/stream.ts b/Source/stream.ts index 534c0cf3..ea6f77fe 100644 --- a/Source/stream.ts +++ b/Source/stream.ts @@ -880,7 +880,7 @@ export const HK: StreamService[] = [ VIUTV, MYTV_SUPER, HBO_ASIA, - BILIBILI_INTL + // BILIBILI_INTL ]; export const TW: StreamService[] = [ @@ -956,3 +956,7 @@ export const SOUTH_EAST_ASIA = [ // TV360 VN // B-Global VN ]; + +export const BILI_INTL = [ + BILIBILI_INTL +];