alano-i / mbot-plugins Goto Github PK
View Code? Open in Web Editor NEWMovie Robot 插件,以及一些企业微信微通知脚本。
License: MIT License
Movie Robot 插件,以及一些企业微信微通知脚本。
License: MIT License
A佬 麻烦问下 我mr中播客源点击图片没有跳转播客是咋回事
大佬,电子书整理插件,mac os点击图片可跳转播客app,ios和pad os点击图片没反应,safari只能选择移动模式,点击作者有弹窗,复制url等,但是点击“在播客中打开”也是无反应
麻烦想问一下,使用工具箱为媒体添加海报信息后,想解锁还原成原来的海报样式。尝试使用工具中的“解锁”,可以成功还原,但睡一觉起来,Plex又会变成带信息的海报样式。所以想知道一个还原的正确流程,谢谢。
A佬,插件安装完成以后,在快捷插件不显示,看下wiki是依赖不完全导致。pip install mutagen cn2an ffmpeg-python安装以后正常了,但是不是每次重启都要安装,
wecom_proxy 和content_source_url以及name不知道填什么参数 好像现在域名是要到企业微信认证的?
MBotExecutor_@ - ERROR:1每天6@秒读世界]推送[执点新闻]消息异常,原因: RetryError[<Future at 0x7f5dfc6841c0 state=finished raised JSONDecodeError>
报错如下。
快1年了。实在么找到怎么办。 麻烦大大看看 ,抱歉。
自动安装失败,日志如下。手工运行pip install zhdate
安装成功
2024/03/25 14:51:44 - MainThread - ERROR: 「每天60秒读懂世界 - 安装依赖脚本」没有找到需要的依赖库: zhdate 现在开始安装!
2024/03/25 14:51:44 - MainThread - INFO: 「每天60秒读懂世界 - 安装依赖脚本」正在安装依赖 + zhdate
2024/03/25 14:51:44 - MainThread - INFO: pip install zhdate -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/zhdate/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/zhdate/
[2024-03-25 14:51:47] [INFO ] discord.gateway: Shard ID None has connected to Gateway (Session ID: a474148a0020f54bb3c34273b93bc4a3).
2024/03/25 14:51:47 - DiscordBot - INFO: Shard ID None has connected to Gateway (Session ID: a474148a0020f54bb3c34273b93bc4a3).
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/zhdate/
2024/03/25 14:51:49 - DiscordBot - INFO: 没有设置频道id,无法发送错误日志,跳过
2024/03/25 14:51:49 - DiscordBot - INFO: 已登录:mbot#1328
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/zhdate/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/zhdate/
ERROR: Could not find a version that satisfies the requirement zhdate (from versions: none)
ERROR: No matching distribution found for zhdate
2024/03/25 14:51:53 - MainThread - INFO: 「每天60秒读懂世界 - 安装依赖脚本」安装依赖日志如下:
Looking in indexes: http://pypi.douban.com/simple/
2024/03/25 14:51:53 - MainThread - WARNING: 「每天60秒读懂世界 - 安装依赖脚本」如果下方报错:依赖库 zhdate 安装失败导致插件载入失败,请手动进入 MR 命令行安装,安装命令:pip install zhdate
2024/03/25 14:51:53 - MainThread - ERROR: 加载类失败:plugins.daily_news
Traceback (most recent call last):
File "mbot/core/plugins/pluginloader.py", line 96, in mbot.core.plugins.pluginloader.PluginLoader.import_mod
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/data/plugins/daily_news/__init__.py", line 2, in <module>
from .daily_news import *
File "/data/plugins/daily_news/daily_news.py", line 19, in <module>
from zhdate import ZhDate
ModuleNotFoundError: No module named 'zhdate'
我想请问一下这个添加海报信息的逻辑是啥呢,例如有些海报第一遍不行,后面又跑了一遍又可以了,或者部分mp4不行,我重新混流成mkv又可以,但是有些无论是刷新元数据,调海报还是重新就死活都不行,提示路径不对,请问有没有什么解决办法呢
例如下面这个五等分的前篇
第一遍就提示路径不对,我刷新了一下元数据,然后又跑了一遍
结果就可以了,但是以下还有两个
就无论怎么操作都无法成功获取海报信息
下附其中一个的mediainfo
General
Unique ID : 246116993666695982147401113437176811282 (0xB92868A6A07F371CE1ED73D6C0BB4F12)
Complete name : 剧场版 Fate kaleid liner 魔法少女☆伊莉雅 Licht 无名的少女 (2021) 1080p FLAC.mkv
Format : Matroska
Format version : Version 4
File size : 7.18 GiB
Duration : 1 h 34 min
Overall bit rate mode : Variable
Overall bit rate : 10.8 Mb/s
Frame rate : 23.976 FPS
Encoded date : 2022-04-02 08:59:54 UTC
Writing application : mkvmerge v48.0.0 ('Fortress Around Your Heart') 64-bit
Writing library : libebml v1.4.0 + libmatroska v1.6.0
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main [email protected]@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 34 min
Bit rate : 9 423 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.190
Stream size : 6.24 GiB (87%)
Writing library : x265 3.5+2-g2b25c9ba0+94-g095f84f59:[Windows][clang 13.0.1][64 bit] Yuuki 10bit+8bit+12bit
Encoding settings : rc=crf / crf=14.5000 / qcomp=0.75 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=32000 / vbv-bufsize=44000 / vbv-init=0.9 / min-vbv-fullness=50.0 / max-vbv-fullness=80.0 / crf-max=0.0 / crf-min=0.0 / no-lossless / no-cu-lossless / aq-mode=3 / aq-strength=0.95 / cbqpoffs=-2 / crqpoffs=-2 / ipratio=1.20 / pbratio=1.20 / psy-rd=2.50 / psy-rdoq=1.20 / deblock=-1:-1 / ref=5 / limit-refs=1 / no-limit-modes / bframes=8 / b-adapt=2 / bframe-bias=0 / b-pyramid / b-intra / weightp / weightb / min-keyint=1 / max-keyint=240 / rc-lookahead=80 / gop-lookahead=0 / scenecut=40 / hist-scenecut=0 / radl=0 / max-cu-size=32 / min-cu-size=8 / me=3 / subme=5 / merange=57 / rdoq-level=1 / rd=5 / rdpenalty=0 / dynamic-rd=0.00 / no-rd-refine / ----- / cutree / no-sao / rect / no-amp / no-open-gop / wpp / no-pmode / no-pme / no-psnr / no-ssim / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-tu-size=16 / tu-inter-depth=4 / tu-intra-depth=4 / limit-tu=0 / qg-size=16 / qpmax=69 / qpmin=0 / ----- / cpuid=1111039 / frame-threads=4 / numa-pools=+ / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / no-allow-non-conformance / no-repeat-headers / no-aud / no-hrd / info / hash=0 / no-temporal-layers / lookahead-slices=0 / no-splice / no-intra-refresh / no-ssim-rd / signhide / no-tskip / max-merge=4 / temporal-mvp / no-frame-dup / no-hme / no-analyze-src-pics / no-sao-non-deblock / selective-sao=0 / no-early-skip / no-rskip / no-fast-intra / no-tskip-fast / no-splitrd-skip / zone-count=0 / no-strict-cbr / no-rc-grain / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : FLAC
Format/Info : Free Lossless Audio Codec
Codec ID : A_FLAC
Duration : 1 h 34 min
Bit rate mode : Variable
Bit rate : 1 408 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 11.719 FPS (4096 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 955 MiB (13%)
Title : Main Audio
Writing library : libFLAC 1.3.2 (2017-01-01)
Language : Japanese
Default : Yes
Forced : No
MD5 of the unencoded content : 8CE174FC74044D885A3D84CFD32CA596
Menu
00:00:00.000 : en:Chapter 01
00:09:04.419 : en:Chapter 02
00:15:01.943 : en:Chapter 03
00:22:36.272 : en:Chapter 04
00:29:55.961 : en:Chapter 05
00:34:32.112 : en:Chapter 06
00:35:59.199 : en:Chapter 07
00:37:26.286 : en:Chapter 08
00:44:37.216 : en:Chapter 09
00:47:35.352 : en:Chapter 10
00:48:23.109 : en:Chapter 11
00:49:59.496 : en:Chapter 12
00:58:19.079 : en:Chapter 13
00:59:49.336 : en:Chapter 14
01:04:44.881 : en:Chapter 15
01:12:34.850 : en:Chapter 16
01:20:06.135 : en:Chapter 17
01:26:18.840 : en:Chapter 18
01:30:27.589 : en:Chapter 19
下面网上找的API
长文图片:https://api.jun.la/60s.php?format=image
输出地址是使用百度图床(我也不能保证有效时间有多少)
长文图片JSON:https://api.jun.la/60s.php?format=imgapi
imageUrl => 长文原图地址
imageBaidu => 长文百度图库地址
imageTime => 长文更新日期
版本:
tautulli:v2.10.5 (2022-11-07)
wxapp_nofity.py:最新版
相关操作:
卸载重装tautulli容器
开启/关闭 更新日志谷歌翻译
错误信息:
2022-12-01 16:13:01 - DEBUG :: Thread-15 (run) : Tautulli ActivityHandler :: Session 9 started by user 178524650 (Fim) with ratingKey 236005 (点燃我,温暖你 - 点燃我,温暖你(2022)).
2022-12-01 16:13:01 - DEBUG :: Thread-2 (process_queue) : Tautulli NotificationHandler :: Notifiers enabled for notify_action 'on_play'.
2022-12-01 16:13:01 - DEBUG :: Thread-2 (process_queue) : Tautulli NotificationHandler :: Checking global notification conditions.
2022-12-01 16:13:01 - DEBUG :: Thread-2 (process_queue) : Tautulli NotificationHandler :: Global notification conditions evaluated to 'True'.
2022-12-01 16:13:01 - DEBUG :: Thread-2 (process_queue) : Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 6.
2022-12-01 16:13:01 - DEBUG :: Thread-2 (process_queue) : Tautulli NotificationHandler :: {1} username | is not | 'Tet' or 'EnY' > 'Fim' > True
2022-12-01 16:13:01 - DEBUG :: Thread-2 (process_queue) : Tautulli NotificationHandler :: Condition logic [blank]: {1} > True
2022-12-01 16:13:01 - DEBUG :: Thread-2 (process_queue) : Tautulli NotificationHandler :: Custom conditions evaluated to 'True'. Conditions: [True].
2022-12-01 16:13:01 - INFO :: Thread-2 (process_queue) : Tautulli NotificationHandler :: Preparing notification for notifier_id 6.
2022-12-01 16:13:01 - DEBUG :: Thread-2 (process_queue) : Tautulli Notifiers :: Trying to run notify script: /config/script/wxapp_nofity.py, arguments: ['/library/metadata/235985/art/1668925874', 'https://www.themoviedb.org/tv/134331', '
2022-12-01 16:13:02 - DEBUG :: Thread-2 (process_queue) : Tautulli Notifiers :: Full script is: ['/usr/bin/python3', '/config/script/wxapp_nofity.py', '/library/metadata/235985/art/1668925874', 'https://www.themoviedb.org/tv/134331', '
2022-12-01 16:13:02 - DEBUG :: Thread-2 (process_queue) : Tautulli Notifiers :: Executing script in a new thread.
2022-12-01 16:13:04 - DEBUG :: Thread-18 (run_script) : Tautulli Notifiers :: Subprocess returned with status code 1.
**```
2022-12-01 16:13:04 - ERROR :: Thread-18 (run_script) : Tautulli Notifiers :: Script error:
Traceback (most recent call last):
File "/app/tautulli/lib/simplejson/scanner.py", line 37, in _scan_once
nextchar = string[idx]
IndexError: string index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/tautulli/lib/requests/models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "/app/tautulli/lib/simplejson/init.py", line 525, in loads
return _default_decoder.decode(s)
File "/app/tautulli/lib/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/app/tautulli/lib/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
File "/app/tautulli/lib/simplejson/scanner.py", line 79, in scan_once
return _scan_once(string, idx)
File "/app/tautulli/lib/simplejson/scanner.py", line 39, in _scan_once
raise JSONDecodeError(errmsg, string, idx)
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/script/wxapp_nofity.py", line 581, in
resp = handler.push(config[service], args)
File "/config/script/wxapp_nofity.py", line 502, in push
where = self.get_ip_info(ip_address, appcode)
File "/config/script/wxapp_nofity.py", line 185, in get_ip_info
if response.json()['code'] == 200:
File "/app/tautulli/lib/requests/models.py", line 917, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value] : 0
2022-12-01 16:13:04 - DEBUG :: Thread-18 (run_script) : Tautulli Notifiers :: Script returned:
reading config from: /config/script/config.yml
启用企业微信发送通知,下面开始处理
未设置微信白名单代理,使用官方 api 地址
Tautulli 传递过来的原始消息如下:
————————————————————————————————————————————————
['/library/metadata/235985/art/1668925874', 'https://www.themoviedb.org/tv/134331', '▶️点燃我,温暖你 S01·E19', '3526', '0:0:0', '60', '***.***.***.***', 'Plex · Hot TV · 4k · bitrate! · SDR · 49分钟', '@Fi********m ⤷ Direct Play ⤷ Original · SDR', 'progress! 60%', '播放时间:2022-12-01 周4 16:13', '观看进度:00:29(60%) 剩余20分钟', '单集标题:点燃我,温暖你(2022)', '文件大小:1.20 GB', '播放设备:HKAI · Plex for Windows', '设备地址:***.***.***.***whereareyou!']
————————————————————————————————————————————————
参数传递数量正确,开始处理通知数据!
已配置 appcode,处理IP归属地!
2022-12-01 16:13:04 - INFO :: Thread-18 (run_script) : Tautulli Notifiers :: Script notification sent.
a佬 昨天我下载了一些红叶官种 我用生成播客源 指定了父文件夹进行处理 发现处理失败 于是我进入有声书内部查看 发现这些官种有声书 没有元数据信息 封面等 所以导致处理失败,但是有的有声书有这些元数据也直接跳过处理了
请问一下音乐播放时该怎么添加那个默认图进去呢,我翻了一下readme里面好像只有服务器更新时获取图片id填入config的教程,并没有音乐播放的
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.