diff --git a/_plugin/DGJ.md b/_plugin/DGJ.md deleted file mode 100644 index b1ddd9f..0000000 --- a/_plugin/DGJ.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -hide: true -title: 点歌姬 -auther: -plugin_author: -plugin_name: 点歌姬 -plugin_desc: -plugin_version: 2.0.0 -plugin_update_datetime: 2017-08-04 16:47:00 +0800 -#plugin_update_desc: |- -# 扒拉扒拉扒拉测试 -# 测试,测试测试。 -# 换行。 -plugin_dllink: "about:blank" -#plugin_dlnote: 看这个页面右侧的使用说明! ---- - -点歌姬v2已停止维护无法使用,不再提供下载。 diff --git a/_plugin/DGJv3.md b/_plugin/DGJv3.md deleted file mode 100644 index 2e1766b..0000000 --- a/_plugin/DGJv3.md +++ /dev/null @@ -1,133 +0,0 @@ ---- -hide: true -title: 点歌姬 -auther: 宅急送队长 -plugin_author: 宅急送队长 -plugin_name: 点歌姬 (v3) -plugin_desc: 用弹幕来播放歌曲吧 -plugin_version: 3.0.5 -plugin_update_datetime: 2019-05-30 00:00:00 +0800 -#plugin_update_desc: |- -# 扒拉扒拉扒拉测试 -# 测试,测试测试。 -# 换行。 -plugin_dllink: /resource/DGJv3/DGJv3.7z -#plugin_dlnote: 看这个页面右侧的使用说明! ---- - -## 点歌姬v3已停止维护 - -### 点歌姬v3已停止维护,内置的搜索模块已经不能使用,如需使用可以配合西井开发的拓展模块 - -如果你想自行修改维护点歌姬v3,可以在这里获取源码: https://github.com/Bililive/DGJv3 - -下面的使用文档仅作为参考保留 - -
作者信息: -插件作者:宅急送队长 -插件使用说明:https://www.danmuji.org/plugins/DGJ -问题反馈QQ群:95349372- -
更新日志: -2018-8-31 : 3.0.0 - * 点歌姬重做 - -2017-8-4 : 正式版 2.0.0 - + 增加投票切歌功能 - + 增加优先歌曲功能 - + 增加日志输出文件功能 - * 在点歌姬界面添加歌曲时,点歌人名字改为 “主播” - * 歌词搜索默认开启,并取消开关 - * 搜索功能内置进点歌姬 - * 不再从 “曲源” 文件夹中加载搜索模块 - * 播放时,歌曲文件都假设为 mp3 播放 - * 其他内部细节修改 - -2017-2-10 : 正式版 1.5.4 - * 修改搜素模块系统代码中的typo - * 搜索模块“LWLAPI”同步更新到1.0版本,支持了多个歌曲平台 - 注:使用新版LWLAPI需要点歌姬本体版本1.5.4或以上 - -2017-2-5 : 正式版 1.5.3 - * 修复部分歌曲在Win7上播放出错的问题 - -2017-2-2 : 正式版 1.5.2 - + 所有弹幕命令都支持繁体了 - + 关闭弹幕姬时清空输出文本 - + 在界面上添加了“切歌”按钮 - * “播放暂停”按钮的图标分成“播放”和“暂停”两个图标 - * 过滤了歌曲缓存文件名中的非法字符 - * 修改了版本更新提醒中的更新日期,现在只有年月日,没有时间 - -2016-12-06 : 正式版 1.5.1 - * 修复自定义文本输出“歌曲上限”无效的问题 - * 修复自定义文本输出中有空行的问题 - -2016-12-01 : 正式版 1.5.0 - + 歌曲信息格式可以自定义了 - + 播放方式现在会保存了 - + 增加设置选项“只输出一行歌词” - * 细节修改 - -2016-11-02 : 正式版 1.4.1 - # 这是一个可选更新的问题修复更新 - * 修复部分人同时打开QQ音乐和弹幕姬会导致弹幕姬崩溃问题 - * 彻底修复了切换输出方式/刷新设备处可能导致崩溃的问题 - -2016-10-28 : 正式版 1.4 - * 同步初始化流程修改,报错信息调整。 - * 修复切换输出方式到DirectSound时弹幕姬崩溃的问题 - *调整DirectSound为默认播放方式 - * 修复获取其他播放器歌名偶然出现迷之字符的BUG - * 禁用了歌曲列表的排序,防止显示混乱 - * 配合网站,修改插件检查新版本的接口 - 注:1.3及以前版本在11月17日后将获取 - 不到更新提醒,请尽快更新到新版本 - -2016-10-20 : 正式版 1.3 - + 下载防卡死,自动取消没速度的下载 - + 删除正在下载的歌曲时取消下载 - + 获取其他播放器歌名显示到输出文本中(暂时只支持QQ和网易云) - * 修复选择DirectSound输出方式时刷新设备会崩溃的问题 - * 其他并没感觉的细节修改 - -2016-9-18 : 正式版 1.2 - * 修复版本检查失败会崩溃弹幕姬的ZZ BUG(MDZZ - * 修复快速拖动播放进度条有可能崩溃弹幕姬的BUG(MDZZZZZZZ - 注:再给点歌姬加功能应该会是十月份以后了。。 - -2016-8-24 : 正式版 1.1 - * 修复“允许弹幕控制”开关反了(打开就不能控制了)的问题 - * 修复播放输出设备在部分电脑上错位或出错的问题 - + 新增一个播放方法DirectSound(原先的为WaveOutEvent) - + 新增对非MP3格式音频文件播放的支持(暂时没有什么用处) - -2016-8-20 : 正式版 1.0 -2016-8-14 : 内测版 a0.6 -2016-8-10 : 内测版 a0.5 -2016-8-09 : 内测版 a0.4 -2016-8-06 : 内测版 a0.3 -2016-7-26 : 内测版 a0.2 -2016-7-22 : 内测版 a0.1 -- - \ No newline at end of file diff --git a/resource/DGJ/docu.png b/resource/DGJ/docu.png deleted file mode 100644 index c6a3d34..0000000 Binary files a/resource/DGJ/docu.png and /dev/null differ diff --git a/resource/DGJ/obss.png b/resource/DGJ/obss.png deleted file mode 100644 index b98d92e..0000000 Binary files a/resource/DGJ/obss.png and /dev/null differ diff --git a/resource/DGJv3/DGJv3.7z b/resource/DGJv3/DGJv3.7z deleted file mode 100644 index b9d275d..0000000 Binary files a/resource/DGJv3/DGJv3.7z and /dev/null differ diff --git a/resource/DGJv3/install.png b/resource/DGJv3/install.png deleted file mode 100644 index 5148c7a..0000000 Binary files a/resource/DGJv3/install.png and /dev/null differ diff --git a/resource/DGJv3/output.png b/resource/DGJv3/output.png deleted file mode 100644 index d1d0872..0000000 Binary files a/resource/DGJv3/output.png and /dev/null differ diff --git a/resource/FollowAlert/FollowAlert1.2.1.zip b/resource/FollowAlert/FollowAlert1.2.1.zip deleted file mode 100644 index 7cf5453..0000000 Binary files a/resource/FollowAlert/FollowAlert1.2.1.zip and /dev/null differ diff --git a/resource/FollowAlert/archives/FollowAlert1.1.0.zip b/resource/FollowAlert/archives/FollowAlert1.1.0.zip deleted file mode 100644 index 3ae9d0e..0000000 Binary files a/resource/FollowAlert/archives/FollowAlert1.1.0.zip and /dev/null differ diff --git a/resource/FollowAlert/archives/FollowAlert1.1.1.zip b/resource/FollowAlert/archives/FollowAlert1.1.1.zip deleted file mode 100644 index 4abd556..0000000 Binary files a/resource/FollowAlert/archives/FollowAlert1.1.1.zip and /dev/null differ diff --git a/resource/FollowAlert/archives/FollowAlert1.2.0.zip b/resource/FollowAlert/archives/FollowAlert1.2.0.zip deleted file mode 100644 index 49495a2..0000000 Binary files a/resource/FollowAlert/archives/FollowAlert1.2.0.zip and /dev/null differ diff --git a/resource/FollowAlert/archives/FollowAlert100.zip b/resource/FollowAlert/archives/FollowAlert100.zip deleted file mode 100644 index b61eabc..0000000 Binary files a/resource/FollowAlert/archives/FollowAlert100.zip and /dev/null differ diff --git a/resource/FollowAlert/pic.png b/resource/FollowAlert/pic.png deleted file mode 100644 index fdd5152..0000000 Binary files a/resource/FollowAlert/pic.png and /dev/null differ diff --git a/resource/LoginCenter/1.png b/resource/LoginCenter/1.png deleted file mode 100644 index 5f09b09..0000000 Binary files a/resource/LoginCenter/1.png and /dev/null differ diff --git a/resource/LoginCenter/LoginCenter.zip b/resource/LoginCenter/LoginCenter.zip deleted file mode 100644 index 5837a36..0000000 Binary files a/resource/LoginCenter/LoginCenter.zip and /dev/null differ diff --git a/resource/Lottery/DMPlugin_Lottery.zip b/resource/Lottery/DMPlugin_Lottery.zip deleted file mode 100644 index 3d981dd..0000000 Binary files a/resource/Lottery/DMPlugin_Lottery.zip and /dev/null differ diff --git a/resource/Lottery/GUI.png b/resource/Lottery/GUI.png deleted file mode 100644 index fbbd2a8..0000000 Binary files a/resource/Lottery/GUI.png and /dev/null differ diff --git a/resource/SendDanmaku/1.png b/resource/SendDanmaku/1.png deleted file mode 100644 index f465705..0000000 Binary files a/resource/SendDanmaku/1.png and /dev/null differ diff --git a/resource/SendDanmaku/SendDanmaku.zip b/resource/SendDanmaku/SendDanmaku.zip deleted file mode 100644 index 64fa955..0000000 Binary files a/resource/SendDanmaku/SendDanmaku.zip and /dev/null differ diff --git a/webhook/index.js b/webhook/index.js deleted file mode 100644 index 6addd98..0000000 --- a/webhook/index.js +++ /dev/null @@ -1,109 +0,0 @@ -#!/usr/bin/env node - -const hook = require('githubhook'), - child_process = require('child_process'), - fs = require('fs'), - path = require("path"), - minify = require('html-minifier').minify, - cleancss = new(require('clean-css'))({ - level: 2 - }); - -const options = { - hook: { - port: 12451, - secret: "[SECRET]" - }, - execSync_options: { - cwd: "/opt/www/Bililive_dm_Website/", - }, - build: "build", - refresh: "cdn", - buildoptions: { - src: "/opt/www/Bililive_dm_Website/", - dist: "/opt/www/output/" - }, - minify_options: { - collapseBooleanAttributes: true, - collapseWhitespace: true, - minifyCSS: true, - minifyJS: true, - removeAttributeQuotes: true, - removeComments: true, - removeEmptyAttributes: true, - removeScriptTypeAttributes: true, - removeStyleLinkTypeAttributes: true, - sortAttributes: true, - sortClassName: true, - } -}; - -// process.on('uncaughtException', err => dolog('Caught exception: ' + err)); - -var push = function (data) { - dolog("开始操作"); - - child_process.execSync("sudo git clean -fdx", options.execSync_options); - - dolog(child_process.execSync("sudo git fetch --all", options.execSync_options)); - - dolog(child_process.execSync("sudo git reset --hard origin/master", options.execSync_options)); - - if (new RegExp(options.build).test(data.head_commit.message)) { - var build_cmd = "sudo bundle exec jekyll build --source " + options.buildoptions.src + " --destination " + options.buildoptions.dist; - dolog(child_process.execSync(build_cmd, options.execSync_options)); - - // 压缩代码文件 - readFileList(options.buildoptions.dist).filter(w => w.endsWith('.html')) - .forEach(file => - fs.writeFileSync(file, - minify(fs.readFileSync(file, { - encoding: "utf8" - }), options.minify_options) - ) - ); - - readFileList(options.buildoptions.dist).filter(w => w.endsWith('.css')) - .forEach(file => - fs.writeFileSync(file, - cleancss.minify(fs.readFileSync(file, { - encoding: "utf8" - })).styles - ) - ); - - dolog("代码文件压缩完毕\n"); - } else { - dolog("不需要 Build\n"); - } - - if (new RegExp(options.refresh).test(data.head_commit.message)) { - var refresh_cmd = "qcloudcli cdn RefreshCdnDir --dirs '[\"https://www.danmuji.org/\",\"http://www.danmuji.org/\"]'"; - dolog(child_process.execSync(refresh_cmd, options.execSync_options)); - } else { - dolog("不需要 RefreshCDN\n"); - } - - dolog("操作结束\n"); -} - -const readFileList = (dir) => - fs.readdirSync(dir).reduce((files, file) => - fs.statSync(path.join(dir, file)).isDirectory() ? - files.concat(readFileList(path.join(dir, file))) : - files.concat(path.join(dir, file)), []); - -function dolog(text) { - var logdate = new Date(); - var logfile = "/opt/www/log/" + logdate.getFullYear() + "-" + ('0' + (logdate.getMonth() + 1)).slice(-2) + "-" + ('0' + logdate.getDate()).slice(-2) + ".log"; - fs.appendFileSync(logfile, "[" + logdate.getFullYear() + "-" + (logdate.getMonth() + 1) + "-" + logdate.getDate() + - " " + logdate.getHours() + ":" + logdate.getMinutes() + ":" + logdate.getMinutes() + "] - " + text); -} - -var github = hook(options.hook); -github.listen(); -github.on('push:Bililive_dm_Website:refs/heads/master', function (data) { - process.nextTick(function () { - push(data) - }) -}); \ No newline at end of file diff --git a/webhook/package.json b/webhook/package.json deleted file mode 100644 index 63a8ad6..0000000 --- a/webhook/package.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "bililive_dm_website_autobuild", - "version": "1.0.0", - "description": "", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "Genteure", - "private": true, - "dependencies": { - "clean-css": "^4.1.9", - "githubhook": "^1.9.1", - "html-minifier": "^3.5.5" - } -}