mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-03-27 10:05:57 +00:00
fix 修复消息发送图片
This commit is contained in:
@@ -407,11 +407,12 @@
|
||||
"name": "云盘Strm助手",
|
||||
"description": "实时监控、定时全量增量生成strm文件。",
|
||||
"labels": "云盘",
|
||||
"version": "1.1.7",
|
||||
"version": "1.1.8",
|
||||
"icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/cloudcompanion.png",
|
||||
"author": "thsrite",
|
||||
"level": 1,
|
||||
"history": {
|
||||
"v1.1.8": "修复消息发送图片",
|
||||
"v1.1.7": "取消Strm url方式URL编码",
|
||||
"v1.1.6": "修复消息发送 && Strm格式友好化",
|
||||
"v1.1.5": "生成Strm通知Emby刷新",
|
||||
|
||||
@@ -63,7 +63,7 @@ class CloudStrmCompanion(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/cloudcompanion.png"
|
||||
# 插件版本
|
||||
plugin_version = "1.1.7"
|
||||
plugin_version = "1.1.8"
|
||||
# 插件作者
|
||||
plugin_author = "thsrite"
|
||||
# 作者主页
|
||||
@@ -912,7 +912,7 @@ class CloudStrmCompanion(_PluginBase):
|
||||
# 发送消息
|
||||
self.send_transfer_message(msg_title=season_episode,
|
||||
file_count=file_count,
|
||||
image=mediainfo.backdrop_path if mediainfo.backdrop_path else mediainfo.poster_path if mediainfo else None)
|
||||
image=(mediainfo.backdrop_path if mediainfo.backdrop_path else mediainfo.poster_path) if mediainfo else None)
|
||||
# 发送完消息,移出key
|
||||
del self._medias[medis_title_year_season]
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user