thsrite / MoviePilot-Plugins

MoviePilot三方插件仓库
GNU General Public License v3.0
51 stars 22 forks source link

MoviePilot更新检查服务V1.5 报错 #149

Closed cddjr closed 6 days ago

cddjr commented 6 days ago

错误日志:

TypeError: list indices must be integers or slices, not str
                     ~~~~~~~~^^^^^^^^
    description = f"{ver_json['body']}"
  File "/app/app/plugins/moviepilotupdatenotify/__init__.py", line 165, in __get_release_version
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    release_version, description, update_time = self.__get_release_version()
  File "/app/app/plugins/moviepilotupdatenotify/__init__.py", line 79, in __check_server_update
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    server_update = self.__check_server_update() if self._update_types and "后端" in self._update_types else False
  File "/app/app/plugins/moviepilotupdatenotify/__init__.py", line 65, in __check_update
    job["func"](*args, **kwargs)
  File "/app/app/scheduler.py", line 385, in start

根源是 https://[api.github.com/repos/jxxghp/MoviePilot/releases](https://api.github.com/repos/jxxghp/MoviePilot/releases) 返回的是数组json

thsrite commented 6 days ago

1.6