diff --git a/src/components/EventFetcherStatusCard.vue b/src/components/EventFetcherStatusCard.vue
new file mode 100644
index 0000000..ec18259
--- /dev/null
+++ b/src/components/EventFetcherStatusCard.vue
@@ -0,0 +1,28 @@
+
+
+
+
+
+ EVENT-FETCHER 状态
+
+
+
+
+ 这是一个可以持续监听直播间内的 Superchat 和上舰事件并上传到本站进行记录的 Nodejs/.Net 程序
+
+ 事件上传到本站后允许按照自定义范围进行查询, 并导出为 CSV 之类的表格
+
+
+
+ {{ accountInfo?.eventFetcherOnline ? (accountInfo?.eventFetcherStatus == 'ok' ? '正常' : `异常: ${accountInfo.eventFetcherStatus}`) : '未连接' }}
+
+
+ 关于 EVENT-FETCHER
+
+
diff --git a/src/data/DanmakuClient.ts b/src/data/DanmakuClient.ts
index 412118e..d3aa9b3 100644
--- a/src/data/DanmakuClient.ts
+++ b/src/data/DanmakuClient.ts
@@ -180,7 +180,7 @@ export default class DanmakuClient {
console.log('[OPEN-LIVE] 正在停止弹幕客户端')
this.client.stop()
} else {
- console.warn('[OPEN-LIVE] 弹幕客户端未被启动')
+ console.warn('[OPEN-LIVE] 弹幕客户端未被启动, 忽略')
}
clearInterval(this.timer)
this.events = {
diff --git a/src/views/manage/DashboardView.vue b/src/views/manage/DashboardView.vue
index 817233e..136054f 100644
--- a/src/views/manage/DashboardView.vue
+++ b/src/views/manage/DashboardView.vue
@@ -9,6 +9,7 @@ import { ACCOUNT_API_URL, TURNSTILE_KEY } from '@/data/constants'
import { Question24Regular } from '@vicons/fluent'
import VueTurnstile from 'vue-turnstile'
import { BiliAuthCodeStatusType } from '@/api/api-models'
+import EventFetcherStatusCard from '@/components/EventFetcherStatusCard.vue'
const token = ref()
const turnstile = ref()
@@ -227,6 +228,7 @@ async function ChangeBili() {
进行绑定
+
请注意保管, 这个东西可以完全操作你的账号
diff --git a/src/views/manage/EventView.vue b/src/views/manage/EventView.vue
index 9ed200f..cbb6a28 100644
--- a/src/views/manage/EventView.vue
+++ b/src/views/manage/EventView.vue
@@ -37,6 +37,7 @@ import { computed, onMounted, ref } from 'vue'
import { saveAs } from 'file-saver'
import { List } from 'linqts'
import { isDarkMode } from '@/Utils'
+import EventFetcherStatusCard from '@/components/EventFetcherStatusCard.vue'
enum EventType {
Guard,
@@ -174,11 +175,7 @@ onMounted(() => {
使用此功能前你需要先认证Bilibili账号
-
-
- {{ accountInfo?.eventFetcherOnline ? (accountInfo?.eventFetcherStatus == 'ok' ? '正常' : `异常: ${accountInfo.eventFetcherStatus}`) : '未连接' }}
-
-
+
diff --git a/src/views/manage/SongRequestManage.vue b/src/views/manage/SongRequestManage.vue
index 722aee4..1781db9 100644
--- a/src/views/manage/SongRequestManage.vue
+++ b/src/views/manage/SongRequestManage.vue
@@ -9,7 +9,9 @@ const accountInfo = useAccount()
let client = new DanmakuClient(null)
onMounted(() => {
- client.Start()
+ if(accountInfo.value?.eventFetcherOnline != true){
+ client.Start()
+ }
})
onUnmounted(() => {
client.Stop()
diff --git a/src/views/open_live/MusicRequest.vue b/src/views/open_live/MusicRequest.vue
index 9c9c933..3270797 100644
--- a/src/views/open_live/MusicRequest.vue
+++ b/src/views/open_live/MusicRequest.vue
@@ -825,8 +825,8 @@ onUnmounted(() => {
前往登录或注册
-
-
+
+
不要同时开多个页面, 会导致点歌重复! 可以考虑使用
VtsuruEventFetcher
, 部署后还可以记录SC和上舰历史