Jellyfin Forum
TVHeadplugin does not work - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: TVHeadplugin does not work (/t-tvheadplugin-does-not-work)



TVHeadplugin does not work - pixel24 - 2023-09-28

Hi@all,

I have TVH set up and it works. Now I wanted to connect Jellyfin to TVH. Now when I go in to the home page of Jellyfin the blue circle is spinning all the time. Without me having configured anything at all.

I have installed the TVH standard. The webinterface runs on:
http://192.168.83.10:9981
On TVH I have created a user 'jellyfin'. When I go into plugin in JF and enter and save this data just nothing happens. After that the mask (TVH data) is empty :-(

What am I doing wrong?

In the log I see:

Code:
Sep 28 18:49:44 media01 jellyfin[766]: System.InvalidOperationException: Sequence contains no elements
Sep 28 18:49:44 media01 jellyfin[766]:    at System.Linq.ThrowHelper.ThrowNoElementsException()
Sep 28 18:49:44 media01 jellyfin[766]:    at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
Sep 28 18:49:44 media01 jellyfin[766]:    at TVHeadEnd.RecordingsChannel.GetService()
Sep 28 18:49:44 media01 jellyfin[766]:    at TVHeadEnd.RecordingsChannel.GetCacheKey(String userId)
Sep 28 18:49:44 media01 jellyfin[766]:    at Emby.Server.Implementations.Channels.ChannelManager.GetChannelDataCachePath(IChannel channel, String userId, String externalFolderId, Nullable`1 sortField, Boolean sortDescending)
Sep 28 18:49:44 media01 jellyfin[766]:    at Emby.Server.Implementations.Channels.ChannelManager.GetChannelItems(IChannel channel, User user, String externalFolderId, Nullable`1 sortField, Boolean sortDescending, CancellationToken cancellationToken)
Sep 28 18:49:44 media01 jellyfin[766]:    at Emby.Server.Implementations.Channels.ChannelManager.GetChannelItemsInternal(InternalItemsQuery query, IProgress`1 progress, CancellationToken cancellationToken)
Sep 28 18:49:44 media01 jellyfin[766]:    at Emby.Server.Implementations.Channels.ChannelManager.RefreshLatestChannelItems(IChannel channel, CancellationToken cancellationToken)
Sep 28 18:49:44 media01 jellyfin[766]:    at Emby.Server.Implementations.Channels.ChannelManager.GetChannelsInternal(ChannelQuery query)
Sep 28 18:49:44 media01 jellyfin[766]:    at Emby.Server.Implementations.LiveTv.LiveTvManager.GetRecordingFolders(User user, Boolean refreshChannels)
Sep 28 18:49:44 media01 jellyfin[766]:    at Emby.Server.Implementations.LiveTv.LiveTvManager.GetEmbyRecordings(RecordingQuery query, DtoOptions dtoOptions, User user)
Sep 28 18:49:44 media01 jellyfin[766]:    at Emby.Server.Implementations.LiveTv.LiveTvManager.GetRecordings(RecordingQuery query, DtoOptions options)
Sep 28 18:49:44 media01 jellyfin[766]:    at Jellyfin.Api.Controllers.LiveTvController.GetRecordings(String channelId, Nullable`1 userId, Nullable`1 startIndex, Nullable`1 limit, Nullable`1 status, Nullable`1 isInProgress, String seriesTimerId, Nullable`1 enableImages, Nullable`1 imageTypeLimit, ImageType[] enableImageTypes, ItemFields[] fields, Nullable`1 enableUserData, Nullable`1 isMovie, Nullable`1 isSeries, Nullable`1 isKids, Nullable`1 isSports, Nullable`1 isNews, Nullable`1 isLibraryItem, Boolean enableTotalRecordCount)
Sep 28 18:49:44 media01 jellyfin[766]:    at lambda_method978(Closure , Object , Object[] )
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
Sep 28 18:49:44 media01 jellyfin[766]: --- End of stack trace from previous location ---
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
Sep 28 18:49:44 media01 jellyfin[766]: --- End of stack trace from previous location ---
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
Sep 28 18:49:44 media01 jellyfin[766]: --- End of stack trace from previous location ---
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
Sep 28 18:49:44 media01 jellyfin[766]:    at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
Sep 28 18:49:44 media01 jellyfin[766]:    at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
Sep 28 18:49:44 media01 jellyfin[766]:    at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
Sep 28 18:49:44 media01 jellyfin[766]:    at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
Sep 28 18:49:44 media01 jellyfin[766]:    at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
Sep 28 18:49:44 media01 jellyfin[766]:    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
Sep 28 18:49:44 media01 jellyfin[766]:    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
Sep 28 18:49:44 media01 jellyfin[766]:    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Sep 28 18:49:44 media01 jellyfin[766]:    at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
Sep 28 18:49:44 media01 jellyfin[766]:    at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
Sep 28 18:49:44 media01 jellyfin[766]:    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
Sep 28 18:49:44 media01 jellyfin[766]:    at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
Sep 28 18:49:44 media01 jellyfin[766]:    at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)