Giter VIP home page Giter VIP logo

jellyfin-plugin-douban's Issues

插件不工作

插件完全不工作,下面是log,麻烦看看怎么回事?ubuntu server 18.04 ,jellfin10.5.4,设置中文了。

[2020-04-27 10:11:55.078 +08:00] [ERR] Error in "Douban Movie Provider"
MediaBrowser.Model.Net.HttpException: Forbidden
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.EnsureSuccessStatusCode(HttpResponseMe$
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsyncInternal(HttpRequestOptions o$
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsync(HttpRequestOptions options, $
at Jellyfin.Plugin.Douban.BaseProvider.GetDoubanSubject(String sid, CancellationToken cancellationToken) $
at Jellyfin.Plugin.Douban.BaseProvider.GetMetaFromDouban[T](String sid, String type, CancellationToken ca$
at Jellyfin.Plugin.Douban.MovieProvider.GetMetadata(MovieInfo info, CancellationToken cancellationToken) $
at MediaBrowser.Providers.Manager.MetadataService2.ExecuteRemoteProviders(MetadataResult1 temp, String $

0.6版本插件在jellyfin10.6.0上报错Error loading types from "Jellyfin.Plugin.Douban

如日志所示

[2020-07-21 08:21:33.427 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loaded assembly "Jellyfin.Plugin.Douban, Version=0.6.0.0, Culture=neutral, PublicKeyToken=null" from "/config/plugins/Douban/Jellyfin.Plugin.Douban.dll"
[2020-07-21 08:21:33.428 +00:00] [ERR] [1] Emby.Server.Implementations.ApplicationHost: Error loading types from "Jellyfin.Plugin.Douban, Version=0.6.0.0, Culture=neutral, PublicKeyToken=null".
System.TypeLoadException: Method 'get_ProviderName' in type 'Jellyfin.Plugin.Douban.DoubanExternalId' from assembly 'Jellyfin.Plugin.Douban, Version=0.6.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

不能刮削了,报错

[2021-11-10 13:04:46.692 +00:00] [ERR] [50] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "Douban Movie Provider"
System.NullReferenceException: Object reference not set to an instance of an object.
at Jellyfin.Plugin.Douban.BaseProvider.TransPersonInfo(List1 crewList, String personType) at Jellyfin.Plugin.Douban.BaseProvider.GetMetadata[T](String sid, CancellationToken cancellationToken) at Jellyfin.Plugin.Douban.MovieProvider.GetMetadata(MovieInfo info, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService2.ExecuteRemoteProviders(MetadataResult1 temp, String logName, TIdType id, IEnumerable1 providers, CancellationToken cancellationToken)

如何在pve的lxc下得到支持

在lxc下的/var/lib/jellyfin/plugins存在
config data metadata plugins root transcodes
以上目录,并在plugins下新建Douban并将最新版dll放入,但奇怪的是,jellyfin进程无法启动

root@Jellyfin:~# service jellyfin status

  • jellyfin.service - Jellyfin Media Server
    Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
    `-jellyfin.service.conf
    Active: inactive (dead) since Wed 2022-12-28 14:29:40 UTC; 22s ago
    Process: 202 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_RESTART_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLY>
    Main PID: 202 (code=exited, status=143)
    CPU: 3.911s

Dec 28 14:29:40 Jellyfin jellyfin[202]: at Emby.Server.Implementations.ApplicationHost.GetExports[T](CreationDelegateFactory defaul>
Dec 28 14:29:40 Jellyfin jellyfin[202]: at Emby.Server.Implementations.Plugins.PluginManager.CreatePlugins()
Dec 28 14:29:40 Jellyfin jellyfin[202]: at Emby.Server.Implementations.ApplicationHost.FindParts()
Dec 28 14:29:40 Jellyfin jellyfin[202]: at Emby.Server.Implementations.ApplicationHost.InitializeServices()
Dec 28 14:29:40 Jellyfin jellyfin[202]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
Dec 28 14:29:40 Jellyfin jellyfin[202]: [14:29:40] [INF] Running query planner optimizations in the database... This might take a while
Dec 28 14:29:40 Jellyfin jellyfin[202]: [14:29:40] [INF] Disposing CoreAppHost
Dec 28 14:29:40 Jellyfin jellyfin[202]: [14:29:40] [INF] Received a SIGTERM signal, shutting down
Dec 28 14:29:40 Jellyfin systemd[1]: jellyfin.service: Succeeded.
Dec 28 14:29:40 Jellyfin systemd[1]: jellyfin.service: Consumed 3.911s CPU time.

清除上述操作,再次尝试在jellyfin目录下新建config/plugins/Douban,并将dll放入其中,能启动,但无任何事情发生。

清除上述操作,也尝试过在jellyfin的存储库中添加[https://raw.githubusercontent.com/Libitum/jellyfin-plugin-douban/master/manifest.json],无任何事发生

被豆瓣封IP

使用最新的release版本安装后,现在出现了打开豆瓣网站进行搜索后提示“检测到有异常请求从你的 IP 发出,请 登录 使用豆瓣。”

插件有登录功能或防IP被屏蔽的方法吗

jellyfin 10.6.2 按照一直失败

群晖:6.2
docker:18
jellyfin:10.6.2
问题描述:使用plugins下直接放文件的方式,重启后不显示已安装插件,使用reponsitory的方式,在元数据区不显示豆瓣可安装插件,(fq问题已解决,在容器中可以正常ping google)还是出现下面的问题,希望牛人帮看看,倒腾了大半天都不行。
错误信息:[2020-08-09 17:36:09.535 +00:00] [ERR] [6] Emby.Server.Implementations.Updates.InstallationManager: An error occurred while accessing the plugin manifest: "https://raw.githubusercontent.com/Libitum/jellyfin-plugin-douban/master/manifest.json"
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Security.SslStream.ThrowIfExceptional()
at System.Net.Security.SslStream.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)
at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
at System.Net.Security.SslStream.<>c.b__65_1(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsyncInternal(HttpRequestOptions options, HttpMethod httpMethod)
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsync(HttpRequestOptions options, HttpMethod httpMethod)
at Emby.Server.Implementations.Updates.InstallationManager.GetPackages(String manifest, CancellationToken cancellationToken)

想问一下开发流程

最近想自己做个获取字幕的 plugin,对 .net 开发不是很熟悉,想问一下 plugin 的开发怎么设置断点 debug。
没有找到其他联系方式,只能借助issue提问,请见谅~

安装 Douban 插件后,Jellyfin 启动报错

Jellyfin 版本: 10.4.3
Douban 插件版本:0.3.0
安装平台: Docker

将 douban 插件放到插件相应目录下,重启 jellyfin 失败

[10:19:39] [INF] Loaded assembly Jellyfin.Plugins.Gotify, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Gotify Notification/Jellyfin.Plugins.Gotify.dll
[10:19:39] [FTL] Error while starting server.
System.BadImageFormatException: Bad IL format.
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at Emby.Server.Implementations.ApplicationHost.GetComposablePartAssemblies()+MoveNext()
   at Emby.Server.Implementations.ApplicationHost.GetTypes(IEnumerable`1 assemblies)+MoveNext()
   at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
   at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Emby.Server.Implementations.ApplicationHost.DiscoverTypes()
   at Emby.Server.Implementations.ApplicationHost.InitAsync(IServiceCollection serviceCollection)
   at Jellyfin.Server.Program.StartApp(StartupOptions options)
[10:19:39] [INF] Disposing CoreAppHost

[10:19:39] [FTL] Unhandled Exception
System.NullReferenceException: Object reference not set to an instance of an object.
   at Emby.Server.Implementations.ApplicationHost.Dispose(Boolean dispose)
   at Jellyfin.Server.Program.StartApp(StartupOptions options)
   at Jellyfin.Server.Program.<Main>(String[] args)
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Emby.Server.Implementations.ApplicationHost.Dispose(Boolean dispose)
   at Jellyfin.Server.Program.StartApp(StartupOptions options)
   at Jellyfin.Server.Program.<Main>(String[] args)
Aborted (core dumped)

将 douban 插件删除后,正常

安装2.0rc1版本插件出错

截屏2021-02-22 下午10 29 49

查看后台日志,报错内容如下:

[14:26:19] [ERR] [29] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request. URL: http://192.168.0.105:8096/Packages/Installed/Douban?AssemblyGuid=e325b8d5-5f54-447f-a38a-a951b933d22c&version=2.0.0-rc1
System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
at System.Version.Parse(String input)
at MediaBrowser.Api.PackageService.Post(InstallPackage request)
at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)

上面的问题请看一下。感谢作者,辛苦了。

目前是还未支持jellyfin的手动识别功能么?

在影片详情页右上"..."处选择识别,输入影片名称,会秒返回无结果(除douban刮削外未使用其他刮削器)

未观察到有douban相关api请求,jellyfin的"Items/RemoteSearch/Movie"接口response为"[]"

您好,可否提供一下电影和剧集的 命名规范(更有助于豆瓣抓取信息)

尊敬的作者:
您好,非常感谢您的精品项目。特别实用!
但是发现由于影片资源和电视剧资源命名规范问题,不能更好的抓取到豆瓣的信息。能否提供一下命名规范建议。
比如电影《本杰明·巴顿奇事》,在豆瓣上的全部标题是 本杰明·巴顿奇事 The Curious Case of Benjamin Button (2008) ,那么我在本地的资源文件,应该怎样命名更有利于项目抓取影片信息?

提高准确率

Hi,

似乎是每次从结果中取第一条记录?我今天发现一个 case,豆瓣第一条返回的其实是不准确的。

Screen Shot 2020-08-13 at 1 05 57 PM

你会发现我搜索的是第一季,但是第一条记录是第二季的,所以 Jellyfin 这里直接识别成了第二季。

适配版本:10.8.0

版本:10.8.0

操作系统:Linux

架构:X64

jellyfin    | [23:49:30] [ERR] [1] Emby.Server.Implementations.ApplicationHost: Error creating Jellyfin.Plugin.Douban.ImageProvider
jellyfin    | System.TypeLoadException: Could not load type 'MediaBrowser.Model.Serialization.IJsonSerializer' from assembly 'MediaBrowser.Model, Version=10.8.0.0, Culture=neutral, PublicKeyToken=null'.
jellyfin    |    at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
jellyfin    |    at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|19_0()
jellyfin    |    at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy()
jellyfin    |    at System.Reflection.RuntimeConstructorInfo.GetParameters()
jellyfin    |    at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
jellyfin    |    at Emby.Server.Implementations.ApplicationHost.CreateInstanceSafe(Type type)
jellyfin    | [23:49:30] [ERR] [1] Emby.Server.Implementations.ApplicationHost: Error creating Jellyfin.Plugin.Douban.MovieProvider
jellyfin    | System.TypeLoadException: Could not load type 'MediaBrowser.Model.Serialization.IJsonSerializer' from assembly 'MediaBrowser.Model, Version=10.8.0.0, Culture=neutral, PublicKeyToken=null'.
jellyfin    |    at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
jellyfin    |    at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|19_0()
jellyfin    |    at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy()
jellyfin    |    at System.Reflection.RuntimeConstructorInfo.GetParameters()
jellyfin    |    at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
jellyfin    |    at Emby.Server.Implementations.ApplicationHost.CreateInstanceSafe(Type type)
jellyfin    | [23:49:30] [ERR] [1] Emby.Server.Implementations.ApplicationHost: Error creating Jellyfin.Plugin.Douban.TVProvider
jellyfin    | System.TypeLoadException: Could not load type 'MediaBrowser.Model.Serialization.IJsonSerializer' from assembly 'MediaBrowser.Model, Version=10.8.0.0, Culture=neutral, PublicKeyToken=null'.
jellyfin    |    at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
jellyfin    |    at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|19_0()
jellyfin    |    at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy()
jellyfin    |    at System.Reflection.RuntimeConstructorInfo.GetParameters()
jellyfin    |    at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
jellyfin    |    at Emby.Server.Implementations.ApplicationHost.CreateInstanceSafe(Type type)

关于该插件的替代方案 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

首先,非常感谢原作者的贡献,这边有一个 fork 来进行替代该方案(主要原因是该方案需要依赖 Douban Android 的 API 来做查询,需要提供额外的 API Key - 存在被禁用的风险),替代方案使用自定义 Server 端 + Client 端的方式来做,不再需要额外设置 API Key ,有兴趣的小伙伴可以跳转到该仓库进行参考使用:https://github.com/caryyu/jellyfin-plugin-opendouban/

Windows 平台安装问题

请问Windows平台下怎么安装这个插件?我在Windows平台下安装了jellyfin的安装版和绿色版,都没有找到plugins文件夹,在jellyfin打开的网页端的【插件】那里也没找到安装的方式

无法自动刮削内容

媒体库设置如下,无法自动刮削内容:
image
image
但是我单独识别mo某部影片,输入豆瓣的ID可以刮削,如下图。
image

请问下大佬是不是我哪里设置不对呀?

获取图片报错

看日志有不少报错

[2020-08-09 22:48:56.491 -04:00] [WRN] [86] Jellyfin.Plugin.Douban.ImageProvider: GetImages failed because that the sid is empty: "D坂杀人事件"

[2020-08-09 22:51:17.275 -04:00] [WRN] [55] Jellyfin.Plugin.Douban.ImageProvider: GetImages failed because that the sid is empty: "东京婚约"
[2020-08-09 22:51:27.265 -04:00] [WRN] [87] Jellyfin.Plugin.Douban.ImageProvider: GetImages failed because that the sid is empty: "东京家族"

插件很好用,谢谢大佬

jellyfin用豆瓣,搜刮效率确实比TMDb块很多,但是有些电影识别还是出不来,手动识别电影也会出现识别不出来,这个是豆瓣原因还是其他原因吗?

[10.7.2] Can't install properly

Spec

Version: 10.7.2
Operating System: Linux
Architecture: X64

I've used the official Docker Installation and the repo of https://raw.githubusercontent.com/Libitum/jellyfin-plugin-douban/master/manifest.json couldn't work, All logs seem good, BTW: I have also my own proxy backed

[14:29:50] [INF] [18] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task PluginUpdateTask
[14:29:50] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Update Plugins

Additionally, the first time I hadn't have my proxy setup, then there would've had an exception throwing out, then I decided to add one more env-var(HTTPS_PROXY) at docker run command

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.