commit 77ef7319a162a852ccc0298c5e2fab5ba6171946 Author: QiuChenly Date: Sun Dec 31 17:54:10 2023 +0800 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bb06551 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.DS_Store +*.iml +.idea +.vscode +.ruby-lsp +IACPLHttpTransferClient \ No newline at end of file diff --git a/Adobe说明.md b/Adobe说明.md new file mode 100644 index 0000000..bcadbe0 --- /dev/null +++ b/Adobe说明.md @@ -0,0 +1,61 @@ +# Adobe 套件的使用方法 + +## 以LR CC为例: + +___ + +1. 卸载已经安装的acc:AdobeCreativeCloudCleanerTool Mac.dmg + + https://www.123pan.com/s/X5tA-Eyuwh.html + +2. 从adobe网站下载acc 5.9.0,然后断网安装它。 + + 下载地址: + + Intel: + https://trials.adobe.com/AdobeProducts/KCCC/CCD/5_9_0/osx10/ACCCx5_9_0_373.dmg + + ARM: + https://trials.adobe.com/AdobeProducts/KCCC/CCD/5_9_0/macarm64/ACCCx5_9_0_373.dmg + + +3. **下载adobe packager** + +1 + +3.1 从以下地址clone后下载这个adobe packager + +https://github.com/Drovosek01/adobe-packager + +下载方法是看下图,先点击绿色的code,再点击“Download ZIP”。 + +3.2 解压后直接双击运行ccdl.command + + +2 + +4. 下载并安装Lightroom CC软件 + + 4.1 根据屏幕提示输入 v6 然后回车,输入y然后回车。然后稍作等待 ,然后弹出adobe套件代码的列表之后。 + +3 + + +4.2 输入现在要下载的Lightroom CC 套件,查询列表可以知道代码是LRCC + + 然后我们输入LRCC,并回车,选择版本输入6.5并回车;选择语言默认是中文 直接回车。 + +4 + + +然后弹出窗口选择下载到哪个文件夹,我们下载到桌面。点击选取。 + +5 + + +然后双击这个install开头的安装包就可以安装了。 + +(可选:这里也可以把products文件提取出来 +替换到脚本安装器来安装,用这个方法就不限制acc或者anticc的版本:https://www.123pan.com/s/X5tA-kyuwh.html) + +5. 然后运行脚本注入补丁。 即可完美享受,不受时间限制。 diff --git a/EmbyServer/Emby.Web.dll b/EmbyServer/Emby.Web.dll new file mode 100644 index 0000000..22fbdef Binary files /dev/null and b/EmbyServer/Emby.Web.dll differ diff --git a/EmbyServer/embypremiere.js b/EmbyServer/embypremiere.js new file mode 100644 index 0000000..62648f2 --- /dev/null +++ b/EmbyServer/embypremiere.js @@ -0,0 +1,312 @@ +define([ + "exports", + "./../modules/viewmanager/baseview.js", + "./../modules/emby-elements/emby-input/emby-input.js", + "./../modules/emby-elements/emby-button/emby-button.js", + "./../modules/emby-elements/emby-collapse/emby-collapse.js", + "./../modules/common/globalize.js", + "./../modules/loading/loading.js", + "./../modules/registrationservices/registrationservices.js", + "./../modules/common/dialogs/confirm.js", + "./../modules/emby-apiclient/connectionmanager.js", +], function ( + _exports, + _baseview, + _embyInput, + _embyButton, + _embyCollapse, + _globalize, + _loading, + _registrationservices, + _confirm, + _connectionmanager +) { + function load(page) { + var apiClient; + _loading.default.show(), + (apiClient = ApiClient) + .getJSON(apiClient.getUrl("Plugins/SecurityInfo")) + .then(function (info) { + info.IsMBSupporter = true; + (page.querySelector(".txtSupporterKey").value = + info.SupporterKey || ""), + info.SupporterKey && !info.IsMBSupporter + ? (page + .querySelector(".txtSupporterKey") + .classList.add("invalidEntry"), + page.querySelector(".notSupporter").classList.remove("hide")) + : (page + .querySelector(".txtSupporterKey") + .classList.remove("invalidEntry"), + page.querySelector(".notSupporter").classList.add("hide")), + info.IsMBSupporter + ? (page + .querySelector(".supporterContainer") + .classList.add("hide"), + (function (key) { + key = "key=" + key + "&serverId=" + ApiClient.serverId(); + return new Promise((resolve) => + resolve({ + deviceStatus: 0, + planType: "超级会员", + subscriptions: [ + { + autoRenew: true, + store: "秋城落叶", + feature: "all", + planType: "超级会员", + expDate: "且会员资格永远不会失效", + }, + ], + }) + ); + })(info.SupporterKey).then(function (statusInfo) { + if (statusInfo) { + var statusLine, + indicator = page.querySelector( + ".status-indicator .listItemIcon" + ), + extendedPlans = page.querySelector(".extended-plans"); + switch ( + ((extendedPlans.innerHTML = _globalize.default.translate( + "MessagePremiereExtendedPlans", + '', + "" + )), + statusInfo.deviceStatus) + ) { + case 2: + (statusLine = _globalize.default.translate( + "MessagePremiereStatusOver", + statusInfo.planType + )), + indicator.classList.add("expiredBackground"), + indicator.classList.remove("nearExpiredBackground"), + (indicator.innerHTML = ""), + indicator.classList.add("autortl"), + extendedPlans.classList.remove("hide"); + break; + case 1: + (statusLine = _globalize.default.translate( + "MessagePremiereStatusClose", + statusInfo.planType + )), + indicator.classList.remove("expiredBackground"), + indicator.classList.add("nearExpiredBackground"), + (indicator.innerHTML = ""), + indicator.classList.add("autortl"), + extendedPlans.classList.remove("hide"); + break; + default: + (statusLine = _globalize.default.translate( + "MessagePremiereStatusGood", + statusInfo.planType + )), + indicator.classList.remove("expiredBackground"), + indicator.classList.remove("nearExpiredBackground"), + (indicator.innerHTML = ""), + indicator.classList.remove("autortl"), + extendedPlans.classList.add("hide"); + } + page.querySelector(".premiere-status").innerHTML = + statusLine; + var subsElement = page.querySelector(".premiere-subs"); + statusInfo.subscriptions && + 0 < statusInfo.subscriptions.length + ? ((page.querySelector( + ".premiere-subs-content" + ).innerHTML = + ((subs = statusInfo.subscriptions), + (key = info.SupporterKey), + subs.map(function (item) { + var itemHtml = "", + makeLink = + item.autoRenew && "Stripe" === item.store, + tagName = makeLink ? "button" : "div"; + return ( + itemHtml + + (("button" == tagName + ? '