[GH-ISSUE #13] [Bug]: PersonInfo Method not found. #12

Closed
opened 2026-03-23 20:34:37 +00:00 by mirror · 8 comments
Owner

Originally created by @talontsi07 on GitHub (May 21, 2024).
Original GitHub issue: https://github.com/tubearchivist/tubearchivist-jf-plugin/issues/13

I've read the documentation

Operating System

Linux

Your Bug Report

Describe the bug

When using the TubeArchivist Jellyfin plugin, an error occurs related to the PersonInfo.set_Type method, resulting in metadata fetching failure for episodes.

Steps To Reproduce

Install the TubeArchivist Jellyfin plugin.
Configure the plugin with the required settings.
Attempt to fetch metadata for an episode.
Observe the error in the Jellyfin logs.

Expected behavior

The metadata for episodes should be fetched and processed without errors, and the PersonInfo should be correctly handled according to the Jellyfin API.

Relevant Jellyfin log output

[ERR] Error in "TubeArchivist"
System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Entities.PersonInfo.set_Type(System.String)'.
   at Jellyfin.Plugin.TubeArchivistMetadata.Providers.EpisodeMetadataProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Jellyfin.Plugin.TubeArchivistMetadata.Providers.EpisodeMetadataProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)

Anything else?

I rebuilt the plugin after changing Type = Data.Enums.PersonKind.Actor, to Type = Data.Enums.PersonKind.Unknown, in EpisodeMetadataProvider.cs and that has seemed to band aid fix it.

Jellyfin: 10.9.2
TubeArchivistMetadata: 1.3.0.0 from repository TubeArchivistMetadata
TubeArchivist: v0.4.7

Originally created by @talontsi07 on GitHub (May 21, 2024). Original GitHub issue: https://github.com/tubearchivist/tubearchivist-jf-plugin/issues/13 ### I've read the documentation - [X] I'm running the latest version of tubearchivist-jf-plugin. - [X] I have read the [how to open an issue](https://github.com/tubearchivist/tubearchivist/blob/master/CONTRIBUTING.md#how-to-open-an-issue) guide, particularly the [bug report](https://github.com/tubearchivist/tubearchivist/blob/master/CONTRIBUTING.md#bug-report) section. ### Operating System Linux ### Your Bug Report ## Describe the bug When using the TubeArchivist Jellyfin plugin, an error occurs related to the PersonInfo.set_Type method, resulting in metadata fetching failure for episodes. ## Steps To Reproduce Install the TubeArchivist Jellyfin plugin. Configure the plugin with the required settings. Attempt to fetch metadata for an episode. Observe the error in the Jellyfin logs. ## Expected behavior The metadata for episodes should be fetched and processed without errors, and the PersonInfo should be correctly handled according to the Jellyfin API. ### Relevant Jellyfin log output ```shell [ERR] Error in "TubeArchivist" System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Entities.PersonInfo.set_Type(System.String)'. at Jellyfin.Plugin.TubeArchivistMetadata.Providers.EpisodeMetadataProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Jellyfin.Plugin.TubeArchivistMetadata.Providers.EpisodeMetadataProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken) ``` ### Anything else? I rebuilt the plugin after changing `Type = Data.Enums.PersonKind.Actor,` to `Type = Data.Enums.PersonKind.Unknown,` in `EpisodeMetadataProvider.cs` and that has seemed to band aid fix it. Jellyfin: 10.9.2 TubeArchivistMetadata: 1.3.0.0 from repository TubeArchivistMetadata TubeArchivist: v0.4.7
Author
Owner

@DarkFighterLuke commented on GitHub (May 27, 2024):

Mmh, I have some doubts:
First, the solution attempt you found is not logically correct :)
Second, the exception is very strange, because it resembles to one that I saw when using the plugin on an old Jellyfin version. Are you 100% sure about your Jellyfin and plugin versions? Please check them from Jellyfin Dashboard UI.

On my side I am not able to reproduce the issue btw :(

<!-- gh-comment-id:2134035911 --> @DarkFighterLuke commented on GitHub (May 27, 2024): Mmh, I have some doubts: First, the solution attempt you found is not logically correct :) Second, the exception is very strange, because it resembles to one that I saw when using the plugin on an old Jellyfin version. Are you 100% sure about your Jellyfin and plugin versions? Please check them from Jellyfin Dashboard UI. On my side I am not able to reproduce the issue btw :(
Author
Owner

@Emporea commented on GitHub (May 30, 2024):

I experienced the same issue since I upgraded from jellyfin 10.8.13 to 10.9.3.

TubeArchivistMetadata Plugin was still installed on version 1.2.3.0, since in the manifest.json the highest compatible version is 10.9.1 so my guess is that it didn't upgrade automatically.

When I scanned the tubearchivist's library the logs got flooded with:

[ERR] [11] MediaBrowser.Providers.TV.EpisodeMetadataService: Error in TubeArchivist
System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Entities.PersonInfo.set_Type(System.String)'.
   at Jellyfin.Plugin.TubeArchivistMetadata.Providers.EpisodeMetadataProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Jellyfin.Plugin.TubeArchivistMetadata.Providers.EpisodeMetadataProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)

Newly added videos were displayed in a "Season 1" or "Season 2" (probably more) folders with their title just being the video id.

I had to manually click on the plugin Catalog, install 1.3.0.0, remove the old version, and restart.
Now its working.

<!-- gh-comment-id:2139510835 --> @Emporea commented on GitHub (May 30, 2024): I experienced the same issue since I upgraded from jellyfin 10.8.13 to 10.9.3. TubeArchivistMetadata Plugin was still installed on version 1.2.3.0, since in the [manifest.json](https://github.com/tubearchivist/tubearchivist-jf-plugin/raw/master/manifest.json) the highest compatible version is 10.9.1 so my guess is that it didn't upgrade automatically. When I scanned the tubearchivist's library the logs got flooded with: ``` [ERR] [11] MediaBrowser.Providers.TV.EpisodeMetadataService: Error in TubeArchivist System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Entities.PersonInfo.set_Type(System.String)'. at Jellyfin.Plugin.TubeArchivistMetadata.Providers.EpisodeMetadataProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Jellyfin.Plugin.TubeArchivistMetadata.Providers.EpisodeMetadataProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken) ``` Newly added videos were displayed in a "Season 1" or "Season 2" (probably more) folders with their title just being the video id. I had to manually click on the plugin Catalog, install 1.3.0.0, remove the old version, and restart. Now its working.
Author
Owner

@talontsi07 commented on GitHub (May 30, 2024):

First, the solution attempt you found is not logically correct :):
That could be however "Unknown" is an option for "PersonKind".

Second, the exception is very strange, because it resembles to one that I saw when using the plugin on an old Jellyfin version.:
I checked and included all the version numbers in my post.

PersonKind.cs


public enum PersonKind
{
    //
    // Summary:
    //     An unknown person kind.
    Unknown,
    //
    // Summary:
    //     A person whose profession is acting on the stage, in films, or on television.
    Actor,
    //
    // Summary:
    //     A person who supervises th actors and other staff in a film, play, or similar
    //     production.
    Director,
    
<!-- gh-comment-id:2139796104 --> @talontsi07 commented on GitHub (May 30, 2024): First, the solution attempt you found is not logically correct :): That could be however "Unknown" is an option for "PersonKind". Second, the exception is very strange, because it resembles to one that I saw when using the plugin on an old Jellyfin version.: I checked and included all the version numbers in my post. PersonKind.cs ``` public enum PersonKind { // // Summary: // An unknown person kind. Unknown, // // Summary: // A person whose profession is acting on the stage, in films, or on television. Actor, // // Summary: // A person who supervises th actors and other staff in a film, play, or similar // production. Director, ```
Author
Owner

@DarkFighterLuke commented on GitHub (May 30, 2024):

@Emporea yes, you are right, I will give a look at the supported version in the manifest, but anyway I am not sure that plugins get automatically updated with the whole Jellyfin.

@talontsi07 yes, Unknown is a valid PersonKind, but not the correct one to set :)

<!-- gh-comment-id:2140831819 --> @DarkFighterLuke commented on GitHub (May 30, 2024): @Emporea yes, you are right, I will give a look at the supported version in the manifest, but anyway I am not sure that plugins get automatically updated with the whole Jellyfin. @talontsi07 yes, Unknown is a valid PersonKind, but not the correct one to set :)
Author
Owner

@Emporea commented on GitHub (May 30, 2024):

@DarkFighterLuke well I am not 100% sure either, but all other plugins I had were automatically upgraded, just tubearchivist was not.

<!-- gh-comment-id:2140838592 --> @Emporea commented on GitHub (May 30, 2024): @DarkFighterLuke well I am not 100% sure either, but all other plugins I had were automatically upgraded, just tubearchivist was not.
Author
Owner

@DarkFighterLuke commented on GitHub (May 30, 2024):

@DarkFighterLuke well I am not 100% sure, but all other plugins i had were automatically upgraded aswell, just tubearchivist not.

Nice to know 💯
I will check the manifest and fix it.
Thanks for noticing 🙂

<!-- gh-comment-id:2140842707 --> @DarkFighterLuke commented on GitHub (May 30, 2024): > @DarkFighterLuke well I am not 100% sure, but all other plugins i had were automatically upgraded aswell, just tubearchivist not. Nice to know 💯 I will check the manifest and fix it. Thanks for noticing 🙂
Author
Owner

@Enoril commented on GitHub (Oct 21, 2024):

I have exactly encountered this bug.

After check of this plugin version in Jellyfin, it seems something goes wrong as i was still at the version 1.2.3.0.

My Jellyfin version is up-to-date (10.9.11) et Jellyfin log on startup display the message regarding auto extension update (in 1 sec) but that doesn't seems to be true.

Could it be because we actively select which version we install during the installation process of the plugin ?
The version 1.2.3 release date is approximately when I've installed TA... We don't have a "latest" version choice anyway. But the timing could match here.

[PS: Uninstalling manually then reinstalling it at the latest version totally fixed the pb]

<!-- gh-comment-id:2427886967 --> @Enoril commented on GitHub (Oct 21, 2024): I have exactly encountered this bug. After check of this plugin version in Jellyfin, it seems something goes wrong as i was still at the version 1.2.3.0. My Jellyfin version is up-to-date (10.9.11) et Jellyfin log on startup display the message regarding auto extension update (in 1 sec) but that doesn't seems to be true. Could it be because we actively select which version we install during the installation process of the plugin ? The version 1.2.3 release date is approximately when I've installed TA... We don't have a "latest" version choice anyway. But the timing could match here. [PS: Uninstalling manually then reinstalling it at the latest version totally fixed the pb]
Author
Owner

@DarkFighterLuke commented on GitHub (Oct 23, 2024):

@Enoril i spoke with the guys at Jellyfin and it seems that my manifest is totally correct about the version, so nothing we can do here :)
Glad you solved!

<!-- gh-comment-id:2431313631 --> @DarkFighterLuke commented on GitHub (Oct 23, 2024): @Enoril i spoke with the guys at Jellyfin and it seems that my manifest is totally correct about the version, so nothing we can do here :) Glad you solved!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tubearchivist/archived-tubearchivist-jf-plugin#12
No description provided.