Update README.md

This commit is contained in:
cxfksword
2022-10-11 19:12:19 +08:00
parent 861fec9da8
commit b7fe2af51b
2 changed files with 3 additions and 3 deletions

View File

@@ -10,9 +10,9 @@ jellyfin的b站弹幕自动下载插件会匹配b站番剧/电影视频,自
添加插件存储库:
国内加速https://raw.iqiq.io/cxfksword/jellyfin-plugin-danmu/main/manifest.json
国内加速https://ghproxy.com/https://github.com/cxfksword/jellyfin-plugin-danmu/releases/download/manifest/manifest_cn.json
国外访问https://github.com/cxfksword/jellyfin-plugin-danmu/raw/main/manifest.json
国外访问https://github.com/cxfksword/jellyfin-plugin-danmu/releases/download/manifest/manifest.json
## 如何使用

View File

@@ -53,7 +53,7 @@ os.system('sed -i "s/\/danmu\//\/%s\//" %s' % (git_version, jellyfin_repo_file))
# 国内加速
jellyfin_repo_file_cn = jellyfin_repo_file.replace(".json", "_cn.json")
os.system('cp -f %s %s' % (jellyfin_repo_file, jellyfin_repo_file_cn))
os.system('sed "s/github.com/ghproxy.com\/https:\/\/github.com/g" "%s"' % (jellyfin_repo_file_cn))
os.system('sed -i "s/github.com/ghproxy.com\/https:\/\/github.com/g" "%s"' % (jellyfin_repo_file_cn))
print(version)