caryyu / jellyfin-plugin-opendouban

Douban metadata provider for Jellyfin
188 stars 15 forks source link

Fix unsupported-roles #36

Closed caryyu closed 2 years ago

caryyu commented 2 years ago

Fix https://github.com/caryyu/jellyfin-plugin-opendouban/issues/35

caryyu commented 2 years ago

v1.0.15-beta

caryyu commented 2 years ago

@cxfksword 能否帮忙测试一下该版本?

cxfksword commented 2 years ago

@caryyu Movie的正常的,但season和series还不可以,看了下代码,也有同样的处理

caryyu commented 2 years ago

@cxfksword 再试试 v1.0.15-rc

cxfksword commented 2 years ago

@caryyu 都正常了👍

还有我发现https://raw.githubusercontent.com/caryyu/jellyfin-plugin-repo/master/manifest-us.json的version字段带有beta/rc等非数字,会解析出错,导致插件目录没法加载

stdout: [06:00:52] [ERR] [26] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /Packages.
stdout: System.FormatException: Input string was not in a correct format.
stdout:    at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
stdout:    at System.Number.ParseInt32(ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)
stdout:    at System.Version.TryParseComponent(ReadOnlySpan`1 component, String componentName, Boolean throwOnFailure, Int32& parsedComponent)
stdout:    at System.Version.ParseVersion(ReadOnlySpan`1 input, Boolean throwOnFailure)
stdout:    at System.Version.Parse(String input)
stdout:    at VersionSetter(Object , String )
stdout:    at System.Text.Json.JsonPropertyInfo`1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader)
caryyu commented 2 years ago

@cxfksword 你插件怎么安装的?也就是说版本列表可以选择,但实际下载下来重启 Jellyfin 就会有问题?

cxfksword commented 2 years ago

版本列表出不来,jellyfin接口500了,我是另外放到gists中改了一下json

caryyu commented 2 years ago

@cxfksword 谢谢告知,目前相应的后缀版本已经抹除,能否帮忙再测试一下,谢谢。

cxfksword commented 2 years ago

@cxfksword 谢谢告知,目前相应的后缀版本已经抹除,能否帮忙再测试一下,谢谢。

试过,已经正常了