├── .gitignore
├── README.en.md
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | 123
--------------------------------------------------------------------------------
/README.en.md:
--------------------------------------------------------------------------------
1 | # Cloud Media Sync
2 |
3 |
4 | 
5 |
6 | ## [English][[中文]](README.md)
7 |
8 |
9 |
10 | ## Cloud Media Sync Update Notes
11 | > [!IMPORTANT]
12 | > Docker Image: [`cloud-media-sync`](https://hub.docker.com/r/imaliang/cloud-media-sync)
13 | > Help and Documentation: [`Wiki`](https://github.com/guyue2005/CMSHelp/wiki)
14 |
15 | ## Introduction
16 | **cloud-media-sync (CMS)** — Cloud media library synchronization tool
17 |
18 | > Monitors the `115` folder and generates `strm` files recognized by `emby`, supporting incremental updates and `emby302`.
19 |
20 | > This project is based on [`python-115`](https://github.com/ChenyangGao/web-mount-packs), which is very powerful for those who understand the code.
21 |
22 | > Thanks to: `尽贫·禁评` `DDSRem`
23 |
24 | > Thanks to: `Black_Plum` `HuLuXi` for providing container installation tutorials.
25 |
26 | > [**TG Feedback Group**](https://t.me/+v08KwCO7jH0xNjZl)
27 |
28 |
29 | ## cloud-media-sync-0.3.3.4 【PRO required to start this version】 Update Log
30 | 1. Added fast sync mode, syncing 10,000 STRM files in just 10 seconds.
31 | 2. Added custom image download threads.
32 | 3. Added automatic CK refresh toggle.
33 | 4. Supports folder upload event synchronization.
34 | 5. Changed media library refresh method, seems faster now.
35 | 6. Optimized code to improve stability.
36 | 7. Temporarily disabled the free version.
37 |
38 | ## cloud-media-sync-0.3.2 Update Log
39 | 1. Added synchronization record management
40 | 2. Optimized Emby library notification, supporting play and pause notifications
41 | 3. Fixed issue where single episode library notifications failed for some series
42 | 4. Fixed issue where folder creation failed when automatic folder organization was enabled
43 | 5. Made compatible with Aliyun Pan accounts without a nickname for login
44 |
45 |
46 | ## cloud-media-sync-0.3.1.2 Update Log
47 | 1. Automatically notify Emby to scan the library when generating strm files, supporting advanced configuration.
48 | 2. Added CMS synchronization result notifications.
49 | 3. Fixed the issue of duplicate entries when episodes 1-10 already exist.
50 | 4. Fixed the issue of the year filter not working for popular recommended series.
51 | 5. EMBY_HOST_PORT and EMBY_API_KEY are now required fields.
52 |
53 | ## cloud-media-sync-0.3.1 Update Log
54 | 1. Added Emby library import notifications (PRO), set the Emby webhook to `http://172.17.0.1:9527/api/emby/webhook?token=cloud_media_sync`.
55 | 2. Automatically notify Emby to scan the library when generating strm files.
56 | 3. Added Telegram Bot notifications (PRO), adjusted the corporate WeChat configuration page. Please reconfigure and save the core settings (very important).
57 | 4. Added CMS_API_TOKEN variable to specify the CMS API token (default is `cloud_media_sync`).
58 | 5. Fixed the issue where tasks would terminate if the file name is too long.
59 | 6. Fixed the issue of video file move failures.
60 | 7. If updates are not visible on the page, please force refresh the page and clear the cache.
61 |
62 | ## cloud-media-sync-0.3.0.7 Update Log
63 | 1. Repackaged authorization, update is required.
64 |
65 | ## cloud-media-sync-0.3.0.6 Update Log
66 | 1. Fixed the issue of oversized log files. Please delete the `cms.log` file before updating.
67 | 2. The issue of excessive memory usage is still under investigation. If you are experiencing this issue, please contact me privately.
68 |
69 | ## cloud-media-sync-0.3.0.5 Update Log
70 | 1. Fixed the issue where life events synchronization would sometimes fail.
71 | 2. Fixed the issue where sharing Aliyun Drive would fail without a folder.
72 | 3. Changed the variable name for the proxy address. Please reconfigure it in the core settings.
73 |
74 | ## cloud-media-sync-0.3.0.3 Update Log
75 | 1. Fixed the issue where Aliyun Drive was unavailable (please rescan login, create a folder in the resource library again (if path fetching fails, create the folder in the backup disk as per the diagram), and input the new folder ID).
76 | 2. Fixed the issue of duplicate subscriptions.
77 |
78 | ## cloud-media-sync-0.3.0.2 Update Log
79 | 1. Fixed the issue of metadata download failure.
80 | 2. Fixed abnormal time display (only applies to new data).
81 | 3. Attempted to support IPv6.
82 | 4. Attempted to fix Aliyun Drive unavailability.
83 |
84 | ## cloud-media-sync-0.3.0 Update Log
85 | 1. Added real-time log display to the page.
86 | 2. Added download transfer feature, supporting 115 share, magnet links, ed2k, and Aliyun Drive sharing (automatically seeding to 115). Best used with automatic sorting.
87 | 3. Added subscription feature, supporting subscribing to 115 or Aliyun cloud resource channels on TG.
88 | 4. Corporate WeChat now supports receiving transfer/download message formats.
89 |
90 | **Note:** Features 2, 3, and 4 are only available in the PRO version. Free version does not support these.
91 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Cloud Media Sync
2 |
3 |
4 | 
5 |
6 |
7 | ## [中文][[English]](README.en.md)
8 |
9 |
10 |
11 | ## Cloud Media Sync 更新说明
12 | > [!IMPORTANT]
13 | > 官方[网站](https://wiki.cmscc.cc)
14 | >
15 | > Docker 地址:[`cloud-media-sync`](https://hub.docker.com/r/imaliang/cloud-media-sync) 帮助 说明查看 [`Wiki`](https://github.com/guyue2005/CMSHelp/wiki)
16 | >
17 | ## 简介
18 | cloud-media-sync(CMS)--- 云端媒体库同步工具
19 |
20 | > 监控`115`文件夹,生成`emby`可以识别的`strm`文件,支持增量,支持`emby302`。
21 |
22 | > 本项目基于 [`python-115`](https://github.com/ChenyangGao/web-mount-packs),懂代码的可以看看,非常强大。
23 |
24 | > 致谢:`尽贫·禁评` `DDSRem`
25 |
26 | > 致谢:`Black_Plum` `HuLuXi` 提供相关容器安装环境教程
27 |
28 | > [!Tip]
29 | > 不要相信任何的咸鱼卖CMS,或者部署CMS的,本程序没有授权给任何人销售。
30 |
31 | > CMS 唯一TG的群 [**TG反馈群**](https://t.me/+v08KwCO7jH0xNjZl)
32 |
33 | ## CMS-0.3.7.11 更新日志
34 | 1. 优化缓存清理
35 | 2. 优化文件夹清空
36 | 3. 增强自动整理识别策略
37 |
38 | ## CMS-0.3.7.10 更新日志
39 | 1. 优化自动整理逻辑,转存文件夹现在可以不和待整理文件夹设置同一个
40 | 2. 增加转存后是否整理开关
41 | 3. 冗余文件夹可以不设置(整理后不会清空待整理,但是有风控的几率,不建议为空)
42 | 4. 增强自动整理识别策略
43 |
44 | ## CMS-0.3.7.9 更新日志
45 | 1. 优化自动整理逻辑,转存文件夹现在可以不和待整理文件夹设置同一个(仍会自动整理)
46 | 2. 增强自动整理识别策略
47 |
48 | ## CMS-0.3.7.7-0.3.7.8 更新日志
49 | 1. 修复移动文件失败的问题
50 | 2. 增强自动整理识别策略
51 |
52 | ## CMS-0.3.7.4-0.3.7.6 更新日志
53 | 1. 快速同步支持同步音乐
54 | 2. 修复openapi回收站无法清空的问题
55 | 3. 修复部分电影会创建Season 01文件夹的问题
56 | 4. 增强自动整理识别策略
57 |
58 | ## CMS-0.3.7.1-0.3.7.3 更新日志
59 | 1. 修复openapi图片下载的问题
60 | 2. 修复使用openapi时部分视频无法播放的问题
61 | 3. 增强自动整理识别策略
62 |
63 | ## CMS-0.3.7.0 更新日志
64 | 1. 支持115 openapi(需要自己准备AppID)(100196XXX)
65 | 看到以下日志内容代表启用成功
66 |
67 | ## CMS-0.3.6.10 更新日志
68 | 1. 优化自动整理识别策略,待整理文件夹名称如果是中文请包含 “整理” 关键字
69 | 2. 二级分类策略 year 支持2000-2024范围匹配
70 |
71 | ## CMS-0.3.6.9 更新日志
72 | 1. 优化自动整理,增强识别,修复剧集整理S00会整理为S01的问题
73 | 2. 优化日志分隔策略
74 |
75 | ## CMS-0.3.6.8 更新日志
76 | 1. 优化实时日志,支持关键词过滤
77 | 2. 优化自动整理以及洗版的逻辑
78 |
79 |
80 | ## CMS-0.3.6.7 更新日志
81 | 1. 优化实时日志,支持关键词过滤
82 | 2. 优化自动整理以及洗版的逻辑
83 | 3. 优化同步逻辑,本地文件大小小于1kb时,会进行重新下载
84 |
85 | ## CMS-0.3.6.6 更新日志
86 | 1. 修复带字幕的剧集整理
87 |
88 | ## CMS-0.3.6.5 更新日志
89 | 1. 优化洗版逻辑,修复共存不起作用
90 | 2. 优化订阅,如果分享是单集,支持保存多个
91 | 3. 机器人保存分享支持隐藏链接
92 | 4. 优化阿里分享保存逻辑
93 |
94 | ## CMS-0.3.6.3-0.3.6.4 更新日志
95 | 1. 自动整理支持自定义洗版策略(洗版是高优先级替换低优先级,请一定的理解这句话,不理解就问下群友)
96 | [#洗版策略](https://github.com/guyue2005/CMSHelp/wiki/6.%E8%87%AA%E5%8A%A8%E6%95%B4%E7%90%86#%E6%B4%97%E7%89%88%E7%AD%96%E7%95%A5)
97 | 2. 频道订阅支持隐藏链接(需要打开小程序或外部网页获取的不行)
98 | 3. 修复媒体库封面生成插件定时任务无法关闭的问题
99 |
100 | ## CMS-0.3.6.2 更新日志
101 | 1. 修复剧集整理时无法补全缺失的集数
102 |
103 | ## CMS-0.3.6.1 更新日志
104 | 1. 自动整理支持自定义洗版策略
105 | 2. 频道订阅支持隐藏链接(需要打开小程序或外部网页获取的不行)
106 | 3. 修复媒体库封面生成插件定时任务无法关闭的问题
107 |
108 | ## CMS-0.3.5.18 更新日志
109 | 1. 优化媒体库封面生成插件,支持自定义字体、大小、背景色、海报位置
110 | 2. 优化自动整理,识别更强了
111 |
112 | ## CMS-0.3.5.17 更新日志
113 | 1. 修复上个版本自动整理的BUG
114 | 2. 修复媒体库封面生成插件的海报选取策略(需要重新选)
115 |
116 | ## CMS-0.3.5.16 更新日志
117 | 1. 增加媒体库封面生成插件(屈大牛逼)
118 | 2. 优化代码
119 |
120 | ## CMS-0.3.5.15 更新日志
121 | 1. 修复文件夹重命名的增量问题
122 | 2. 优化自动整理
123 | 3. 优化二级分类策略
124 |
125 | ## CMS-0.3.5.14 更新日志
126 | 1. 修复图片下载超10分钟就CDN过期(能用1H)
127 |
128 | ## CMS-0.3.5.13 更新日志
129 | 1. 增加网络测试
130 | 2. 分享直连由 /d/s/ 修改为 /s/ (可以使用strm替换插件对已生成的分享直连进行修改)
131 | 3. cms通知(mp插件)增加自动整理选项
132 |
133 | ## CMS-0.3.5.10 更新日志
134 | 1. 支持mp联动cms进行增量同步,用于使用mp整理上传本地资源到115的场景(需要mp增加插件地址 https://github.com/imaliang/MoviePilot-Plugins )
135 | 2. tmdb配置支持多语言
136 | 3. 修复alist同步定时任务
137 |
138 | ## CMS-0.3.5.8 更新日志
139 | 1. 115分享同步支持字幕、nfo下载
140 | 2. 支持缓存清除(在右上角用户名那里)
141 | 3. 增加STRM字符串替换插件
142 | 4. 禁用emby2Alist路由缓存
143 | 5. 修复alist同步定时任务
144 |
145 | ## CMS-0.3.5.7 更新日志
146 | 1. 增加115、阿里云盘的文件夹、回收站定时清理;启用代表启动定时任务
147 | 2. alist同步支持定时任务
148 | 3. 修复Emby搜索有时会搜到演员的问题
149 |
150 | ## CMS-0.3.5.5-0.3.5.6 更新日志
151 | 1. 优化emby里手动删除时同步删除云盘文件(需要神医助手先把通知系统增强打开,再在通知里勾上媒体深度删除)
152 | 2. 修复文件夹重命名同步
153 | 3. 优化自动整理
154 |
155 | 注:慎用,不保证不会误删
156 |
157 | ## CMS-0.3.5.4 更新日志
158 | 1. 增加115分享同步(生成基于分享的strm)
159 | 2. 302日志增加文件名
160 | 3. 修复alist同步不通知emby刷新
161 |
162 | 注意:使用115分享直连播放时会自动保存一份到我的接收,所以请确保待整理文件夹不是我的接收
163 |
164 | ## CMS-0.3.5.3 更新日志
165 | 1. 增加alist同步通知、刷新入库
166 | 2. bot增加alist同步菜单(会同步所有路径)
167 | 3. 优化代码,增加稳定性
168 |
169 | ## CMS-0.3.5.2 更新日志
170 | 1. 修复alist同步视频大小过滤会过滤非视频
171 | 2. alist同步增加请求间隔
172 | 3. 修复115图片同步有时会同步失败的问题
173 | 4. 同步记录支持名称、时间排序
174 |
175 | ## CMS-0.3.5.1 更新日志
176 | 1. 增加alist同步
177 | 2. 全量同步增加最小视频过滤
178 | 3. 一些优化
179 |
180 | ## CMS-0.3.4.13 更新日志
181 | 1. 一些优化 应该是0.3.4最后一个版本了
182 |
183 | ## CMS-0.3.4.12 更新日志
184 | 1. 自动整理支持整理字幕(原字幕名必须为标准命名)
185 | 2. 修复部分情况下episode_name不可用的问题
186 | 3. 优化了中文标题的获取
187 | 4. 优化了阿里秒传的逻辑
188 | 5. 记的备份下cms-online.db文件,回退版本时会用到
189 |
190 | ## CMS-0.3.4.11 更新日志
191 | 1. 修正3410的BUG
192 |
193 | ## CMS-0.3.4.10 更新日志
194 | 1. 增强识别,修复GPT辅助识别的BUG
195 | 2. 命名规则支持 season_name、season_year、episode_name
196 | 3. 二级分类策略支持文件后缀匹配 ext
197 |
198 | ## CMS-0.3.4.9 更新日志
199 | 1. 增强识别
200 | 2. 支持黑名单和大小过滤
201 | 3. 电影名称为英文时,尝试获取中文名
202 | 4. 增加openai辅助识别
203 |
204 | ## CMS--0.3.4.5 → 0.3.4.8 更新日志
205 | 1. 自动整理增强识别
206 |
207 | ##CMS-0.3.4.4 更新日志
208 | 1. 增强识别
209 | 2. 修复剧集有时无法重命名
210 |
211 | ## CMS-0.3.4.3 更新日志
212 | 1. 自动整理去除MP依赖、更改了部分变量、注意先看下变量说明
213 | 2. 修复入库刷新有时会匹配不到数据库的问题
214 | 3. 升级前备份下cms-online.db文件,便于恢复
215 |
216 | ## CMS-0.3.3.13 更新日志
217 | 1. 修复快速模式图片、元数据不下载的问题
218 | 2. 升级P115,优化代码,增加稳定性
219 |
220 | ## CMS-0.3.3.12 更新日志
221 | 1. 分享链接兼容 115cdn.com
222 | 2. 升级P115,优化代码,增加稳定性
223 |
224 | ## CMS-0.3.3.11 更新日志
225 | 1. 剧集通知增加集数信息(需要在神医助手里打开)
226 |
227 | ## CMS-0.3.3.10 更新日志
228 | 1. 增加 IS_HK_VPS 环境变量,用于指定是否为香港VPS, IS_HK_VPS=1 为香港VPS(不是不需要加)
229 | 2. 优化代码,增加稳定性
230 |
231 | ## CMS-0.3.3.9 更新日志
232 | 1. 修改了获取待整理视频逻辑,请将待整理文件夹文件数限制为10000以内(待整理的文件或所在文件夹必须含有电影名称)
233 | 2. 优化代码,增加稳定性
234 |
235 | ## CMS-0.3.3.8 更新日志
236 | 1. 增加阿里秒传115文件夹cid配置
237 | 2. 优化代码,增加稳定性
238 |
239 | ## CMS-0.3.3.7 更新日志
240 | 1. 手动转存不再判断链接是否存在
241 | 2. 优化阿里订阅,不会再重复发送分享已取消
242 | 3. 升级p115,快速同步使用星标,实测20T的库,10000视频没风控(勇者可以试下,可以先备份cms-online.db,以便恢复)
243 | 4. 转存下载兼容32位磁力
244 | 5. 优化代码,增加稳定性
245 |
246 | ## CMS-0.3.3.5 更新日志
247 | 1. 升级p115,更换了一些接口,希望风控好些
248 |
249 | ## CMS-0.3.3.4 【此版本启动需要PRO】更新日志
250 | 1. 增加快速同步模式,10000个STRM只需要10秒(别用这个模式,风控太强现在)
251 | 2. 增加自定义图片下载线程
252 | 3. 增加自动刷新CK开关
253 | 4. 支持文件夹上传事件同步
254 | 5. 更换刷新媒体库方式,似乎更快了
255 | 6. 优化代码,增加稳定性
256 | 7. 暂时关闭免费版本
257 |
258 | ## CMS-0.3.2 更新日志
259 | 1. 增加同步记录管理
260 | 2. 优化emby入库通知,支持播放、暂停类通知
261 | 3. 修复部分剧集单集入库通知失败的问题
262 | 4. 修复自动整理文件夹存在时,创建失败的问题
263 | 5. 兼容没有昵称的阿里云盘账号登录
264 |
265 | ## CMS-0.3.1.2 更新日志
266 | 1. strm生成时自动通知emby进行扫库,支持高级配置
267 | 2. 增加cms同步结果通知
268 | 3. 修复剧集1-10集存在时,重复入库的问题
269 | 4. 修复热门推荐剧集搜索年份不生效的问题
270 | 5. EMBY_HOST_PORT、EMBY_API_KEY改为必填
271 |
272 | ## CMS-0.3.1 更新日志
273 | 1. 增加emby入库通知(PRO),emby通知设为 http://172.17.0.1:9527/api/emby/webhook?token=cloud_media_sync
274 | 2. strm生成时自动通知emby进行扫库
275 | 3. 消息通知增加TG机器人(PRO),调整了企业微信的配置页面,需要重新配置,请重新保存下核心配置(很重要)
276 | 4. 增加CMS_API_TOKEN变量,用于指定cms的api token,默认为cloud_media_sync
277 | 5. 修复文件名过长,导致整个任务直接结束的问题
278 | 6. 修复视频文件移动失败的问题
279 | 7. 如果页面上看不到更新,就强刷下页面,清下缓存
280 |
281 | ## CMS-0.3.0.7 更新日志
282 | 1. 重新打包授权,必须更新
283 |
284 | ## CMS-0.3.0.6 更新日志
285 | 1. 修复日志文件过大的问题,请先删除cms.log这个日志文件,再更新
286 | 2. 内存占用过大的问题没找到原因,请有这个问题的朋友私聊我
287 |
288 | ## CMS-0.3.0.5 更新日志
289 | 1. 修复生活事件同步有时会缺失的问题
290 | 2. 修复阿里云盘分享没有文件夹会失败的问题
291 | 3. 修改代理地址的变量名,请在核心配置里重新配置
292 |
293 | ## CMS-0.3.0.3 更新日志
294 | 1. 修复阿里云盘不可用(请重新扫码登录,重新在资源库创建文件夹(如果获取路径失败就在备份盘创建文件夹,原因看图),并填写新的文件夹id)
295 | 2. 修复重复订阅
296 |
297 | ## CMS-0.3.0.2 更新日志
298 | 1. 修复元数据下载失败
299 | 2. 修复时间显示不正常(只对新数据有效)
300 | 3. 尝试支持ipv6
301 | 4. 尝试修复阿里云盘不可用
302 |
303 | ## CMS-0.3.0 更新日志
304 | 1. 页面增加实时日志显示
305 | 2. 增加转存下载,支持115分享、磁力、ed2k、阿里云盘分享(会自动秒传到115),配合自动整理效果更佳
306 | 3. 增加订阅功能,支持订阅tg的115或阿里云资源频道
307 | 4. 企业微信支持接收转存下载格式的消息
308 | 注:2、3、4为PRO版功能,免费版不支持
309 |
--------------------------------------------------------------------------------