tubearchivist / tubearchivist-jf-plugin

Metadata for your TubeArchivist library on Jellyfin.
GNU General Public License v3.0
72 stars 5 forks source link

[Bug]: Jellyfin is not receiving any metadata from TubeArchivist #16

Open BobHassok opened 2 weeks ago

BobHassok commented 2 weeks ago

I've read the documentation

Operating System

Docker

Your Bug Report

Describe the bug

Jellyfin is receiving no metadata from TubeArchivist. I have Jellyfin 10.9.7 and TubeArchivist 0.4.8 and tubearchivist-jf-plugin 1.3.0

Steps To Reproduce

Follow the setup guide on this plug-in's github page

Expected behavior

Jellyfin would receive metadata from TubeArchivist.

Relevant Jellyfin log output

System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Entities.PersonInfo.set_Type(System.String)'.
   at Jellyfin.Plugin.TubeArchivistMetadata.Providers.SeriesMetadataProvider.GetMetadata(SeriesInfo info, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Jellyfin.Plugin.TubeArchivistMetadata.Providers.SeriesMetadataProvider.GetMetadata(SeriesInfo info, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, Boolean replaceData, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
[01:08:47] [ERR] [13] MediaBrowser.Providers.TV.SeriesMetadataService: Error in TubeArchivist
System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Entities.PersonInfo.set_Type(System.String)'.
   at Jellyfin.Plugin.TubeArchivistMetadata.Providers.SeriesMetadataProvider.GetMetadata(SeriesInfo info, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Jellyfin.Plugin.TubeArchivistMetadata.Providers.SeriesMetadataProvider.GetMetadata(SeriesInfo info, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, Boolean replaceData, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
[01:08:47] [ERR] [24] MediaBrowser.Providers.TV.SeriesMetadataService: Error in TubeArchivist
System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Entities.PersonInfo.set_Type(System.String)'.
   at Jellyfin.Plugin.TubeArchivistMetadata.Providers.SeriesMetadataProvider.GetMetadata(SeriesInfo info, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Jellyfin.Plugin.TubeArchivistMetadata.Providers.SeriesMetadataProvider.GetMetadata(SeriesInfo info, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, Boolean replaceData, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
[01:08:47] [ERR] [26] MediaBrowser.Providers.TV.SeriesMetadataService: Error in TubeArchivist
System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Entities.PersonInfo.set_Type(System.String)'.
   at Jellyfin.Plugin.TubeArchivistMetadata.Providers.SeriesMetadataProvider.GetMetadata(SeriesInfo info, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Jellyfin.Plugin.TubeArchivistMetadata.Providers.SeriesMetadataProvider.GetMetadata(SeriesInfo info, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, Boolean replaceData, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)

Anything else?

No response

kidwellj commented 1 week ago

Same issue for me. I'm using plugin 1.30.0, errors are:

[2024-07-04 21:20:06.188 +01:00] [INF] [77] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "http://192.168.1.208:8005/api/video/H35dC2jLszY/: Forbidden"
[2024-07-04 21:20:06.188 +01:00] [INF] [77] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "Getting images for video:  (H35dC2jLszY)"
[2024-07-04 21:20:06.188 +01:00] [INF] [77] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "Thumb URI: "
[2024-07-04 21:20:06.195 +01:00] [INF] [77] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/data/youtube/UCVtz3s3FUxVxBgPl2OWtIJQ/gkoqN8QiuwY.mp4\" -threads 8 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-07-04 21:20:06.311 +01:00] [INF] [64] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "http://192.168.1.208:8005/api/video/gkoqN8QiuwY/: Forbidden"
[2024-07-04 21:20:06.311 +01:00] [INF] [64] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "Getting metadata for video:  (gkoqN8QiuwY)"
[2024-07-04 21:20:06.311 +01:00] [INF] [64] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "Received metadata: 
null"
[2024-07-04 21:20:06.314 +01:00] [INF] [64] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "http://192.168.1.208:8005/api/video/gkoqN8QiuwY/: Forbidden"
[2024-07-04 21:20:06.314 +01:00] [INF] [64] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "Getting images for video:  (gkoqN8QiuwY)"
[2024-07-04 21:20:06.314 +01:00] [INF] [64] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "Thumb URI: "
[2024-07-04 21:20:06.321 +01:00] [INF] [64] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/data/youtube/UCVtz3s3FUxVxBgPl2OWtIJQ/ZxNXA7QwcnM.mp4\" -threads 8 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-07-04 21:20:06.431 +01:00] [INF] [77] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "http://192.168.1.208:8005/api/video/ZxNXA7QwcnM/: Forbidden"
[2024-07-04 21:20:06.432 +01:00] [INF] [77] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "Getting metadata for video:  (ZxNXA7QwcnM)"
[2024-07-04 21:20:06.432 +01:00] [INF] [77] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "Received metadata: 
null"
[2024-07-04 21:20:06.434 +01:00] [INF] [77] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "http://192.168.1.208:8005/api/video/ZxNXA7QwcnM/: Forbidden"
[2024-07-04 21:20:06.434 +01:00] [INF] [77] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "Getting images for video:  (ZxNXA7QwcnM)"
[2024-07-04 21:20:06.434 +01:00] [INF] [77] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "Thumb URI: "
[2024-07-04 21:20:06.447 +01:00] [INF] [77] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/data/youtube/UCVtz3s3FUxVxBgPl2OWtIJQ/YiiHhT7NdGk.mp4\" -threads 8 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-07-04 21:20:06.535 +01:00] [INF] [77] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "http://192.168.1.208:8005/api/video/YiiHhT7NdGk/: Forbidden"
[2024-07-04 21:20:06.536 +01:00] [INF] [77] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "Getting metadata for video:  (YiiHhT7NdGk)"
[2024-07-04 21:20:06.536 +01:00] [INF] [77] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: "Received metadata: 
null"
KoendeHaas commented 1 day ago

Same issue here.

Jellyfin is giving the follwing error:

Jellyfin.Plugin.TubeArchivistMetadata.Plugin: https://local.tubearchivist.com/api/video/fyqe5csPLRA/: Forbidden
Jellyfin.Plugin.TubeArchivistMetadata.Plugin: Getting metadata for video:  (fyqe5csPLRA)
Jellyfin.Plugin.TubeArchivistMetadata.Plugin: Received metadata: null
Jellyfin.Plugin.TubeArchivistMetadata.Plugin: https://local.tubearchivist.com/api/video/fyqe5csPLRA/: Forbidden
Jellyfin.Plugin.TubeArchivistMetadata.Plugin: Getting images for video:  (fyqe5csPLRA)
Jellyfin.Plugin.TubeArchivistMetadata.Plugin: Thumb URI: 

TubeArchivist output:

[pid: 55|app: 0|req: 630/630] 172.0.0.2 () {46 vars in 702 bytes} [Thu Jul 11 17:39:03 2024] GET /api/video/fyqe5csPLRA/ => generated 59 bytes in 7 msecs (HTTP/1.1 403) 8 headers in 270 bytes (1 switches on core 0)
[pid: 55|app: 0|req: 631/631] 172.0.0.2 () {46 vars in 702 bytes} [Thu Jul 11 17:39:03 2024] GET /api/video/fyqe5csPLRA/ => generated 59 bytes in 6 msecs (HTTP/1.1 403) 8 headers in 270 bytes (1 switches on core 0)
aaroncoffey commented 38 minutes ago

@kidwellj Turn on django debugging and you'll probably see that it's probably getting rejected because you are using the wrong host. Do you have 192.168.1.208 set as your host in the docker compose conf, or env var?

Same for @KoendeHaas but for local.tubearchivist.com