Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Error processing request: value cannot be null, parameter 'g' - when correcting match #79

Open
moeffju opened this issue Jan 8, 2022 · 6 comments · May be fixed by #80
Open

Error processing request: value cannot be null, parameter 'g' - when correcting match #79

moeffju opened this issue Jan 8, 2022 · 6 comments · May be fixed by #80

Comments

@moeffju
Copy link

moeffju commented Jan 8, 2022

When I try to Auto Organize and it fails because it cannot identify the media, and I try to edit the result manually (using the pencil icon), I get the following error on submitting the form:

Jan 08 19:57:15 mediaserver jellyfin[233639]: [19:57:15] [ERR] Error processing request. URL POST /Library/FileOrganizations/c02cce3f04471059eaf25536f00cdb8d/Episode/Organize.
Jan 08 19:57:15 mediaserver jellyfin[233639]: System.Exception: Value cannot be null. (Parameter 'g')
Jan 08 19:57:15 mediaserver jellyfin[233639]:    at AutoOrganize.Core.FileOrganizationService.PerformOrganization(EpisodeFileOrganizationRequest request)

It doesn't matter whether I try with Movies or Series.

@crobibero
Copy link
Collaborator

What version are you using?

@moeffju
Copy link
Author

moeffju commented Jan 8, 2022

Version 12.0.0.0 of the plugin.

From what I've googled this seems to point to a null GUID value somewhere, but I don't know how/why that would happen here as I'm trying to add an episode or movie that has no prior library references. It's also been happening since installation (back then with v10 of the plugin didn't do anything so I updated to v11).

@moeffju
Copy link
Author

moeffju commented Jan 8, 2022

This is an example JSON request body:

{"SeriesId":null,
"SeasonNumber":"1",
"EpisodeNumber":"1",
"EndingEpisodeNumber":"2",
"RememberCorrection":false,
"NewSeriesProviderIds":{"Tmdb":"124579"},
"NewSeriesName":"Farscape: The Peacekeeper Wars",
"TargetFolder":"/srv/storage/Series"}

@moeffju
Copy link
Author

moeffju commented Jan 8, 2022

In addition, as the server throws 500, the AutoOrganize frontend only throws up an error page saying "Error", with no content, and a button "Got it", which is not very helpful :D

@moeffju
Copy link
Author

moeffju commented Jan 8, 2022

And as for Jellyfin I was using 10.7.7 at first, then updated to 10.8.0 alpha 3 to be able to use v11 of the autoorganize plugin, and now run 10.8.0alpha5. This issue has been around the entire time that the AutoOrganize plugin was otherwise working though (i.e. starting from v11 on Jellyfin 10.8.0-alpha3).

@crobibero
Copy link
Collaborator

crobibero commented Jan 8, 2022

I'm not sure how to use this plugin so I attempted to fix by just reading the code...

Hopefully #80 fixes it? I added the prebuilt plugin to the PR for testing

@crobibero crobibero linked a pull request Jan 8, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants