jwueller / jellyfin-plugin-onepace

Jellyfin metadata and cover art integration for the https://onepace.net/ project
https://onepace.net/
GNU General Public License v3.0
84 stars 5 forks source link

OnePace Plugin Incorrectly Renaming Seasons Across All Shows #76

Open blendstrup opened 3 months ago

blendstrup commented 3 months ago

Issue Description:

I'm encountering an issue with the OnePace plugin where it seems to affect all shows in my library, rather than just OnePace as intended. Specifically, multiple shows have their seasons incorrectly named according to the OnePace naming convention.

Steps Taken:

Despite these steps, the issue persists, and other shows continue to be incorrectly named.

System Information:

Screenshot 2024-08-14 at 22 13 39
jwueller commented 2 months ago

This is very strange considering that the plugin explicitly requires "One Pace" in the path of the files it touches. Maybe there is an issue that I'm not aware of that happens when the API is down like it currently is. I'll investigate. Could you provide your file structure and possibly a log file of it happening?

blendstrup commented 2 months ago

This is very strange considering that the plugin explicitly requires "One Pace" in the path of the files it touches. Maybe there is an issue that I'm not aware of that happens when the API is down like it currently is. I'll investigate. Could you provide your file structure and possibly a log file of it happening?

I do find it quite strange as well, so I appreciate you looking into it.

My folder structure looks like:

Series/
├── Series Name (0000)/ 
│ ├── Season 00/ 
│ │ ├── Series Name S00E01 Episode Title [1080p].mkv
│ │ └── Series Name S00E02 Episode Title [1080p].mkv
│ ├── Season 01/
│ │ ├── Series Name S01E01-E02 Episode Title [1080p].mkv
│ │ ├── Series Name S01E03 Episode Title [1080p].mkv
│ │ └── Series Name S01E04 Episode Title [1080p].mkv
│ └── Season 02/
│   ├── Series Name S02E01 Episode Title [1080p].mkv
│   ├── Series Name S02E02 Episode Title [1080p].mkv
│   └── Series Name S02E03 Episode Title [1080p].mkv
├── One Pace/
│ ├── [One Pace][1-7] Romance Dawn [1080p]/
│ │ ├── [One Pace][1] Romance Dawn 01 S01E01 [1080p][FB72C13F]
│ │ ├── [One Pace][2] Romance Dawn 02 S01E02 [1080p][667784D2]
│ │ ├── [One Pace][3-5] Romance Dawn 03 S01E03 [1080p][8F0ACC44]
│ │ └── [One Pace][5-7] Romance Dawn 04 S01E04 [1080p][9A48E3EB]
│ ├── [One Pace][8-21] Orange Town [1080p]/
│ │ ├── [One Pace][8-11] Orange Town 01 S02E01 [1080p][2388DB63]
│ │ ├── [One Pace][12-19] Orange Town 02 S02E02 [1080p][C0A5D51D]
│ │ └── [One Pace][19-21] Orange Town 03 S02E03 [1080p][86CC0CCF]
│ ├── [One Pace][22,42] Gaimon [1080p]/
│ │ └── [One Pace][22,42] Gaimon 01 S04E01 [1080p][9AA8B637]
│ ├── [One Pace][23-41] Syrup Village [480p]/
│ │ └── …
│ ├── [One Pace][35-75] The Adventures of Buggy's Crew [WIP]/
│ │ └── [One Pace][35-75] The Adventures of Buggy's Crew 01 S07E01 [1080p][E75794DB]
│ └── [One Pace][42-68] Baratie [1080p]/
│ └── …
└── ONE PIECE (2023)/
  └── Season 01/
    ├── ONE PIECE S01E01 ROMANCE DAWN (2023) [1080p]
    ├── ONE PIECE S01E02 THE MAN IN THE STRAW HAT (2023) [1080p]
    ├── ONE PIECE S01E03 TELL NO TALES (2023) [1080p]
    ├── ONE PIECE S01E04 THE PIRATES ARE COMING (2023) [1080p]
    ├── ONE PIECE S01E05 EAT AT BARATIE! (2023) [1080p]
    ├── ONE PIECE S01E06 THE CHEF AND THE CHORE BOY (2023) [1080p]
    ├── ONE PIECE S01E07 THE GIRL WITH THE SAWFISH TATTOO (2023) [1080p]
    └── ONE PIECE S01E08 WORST IN THE EAST (2023) [1080p]

I have checked the logs and found this snippet which might be relevant:

[2024-08-31 09:33:56.112 +00:00] [INF] [35] JWueller.Jellyfin.OnePace.SeriesProvider: Identified Series "{\"Name\":\"Planet Earth II\",\"OriginalTitle\":\"Planet Earth II\",\"Path\":\"/media/Series/Planet Earth II (2016)\",\"MetadataLanguage\":\"en\",\"MetadataCountryCode\":\"DK\",\"ProviderIds\":{\"Tmdb\":\"68595\",\"Imdb\":\"tt5491994\",\"Tvdb\":\"318408\"},\"Year\":2016,\"IndexNumber\":null,\"ParentIndexNumber\":null,\"PremiereDate\":\"2016-11-06T00:00:00Z\",\"IsAutomated\":false}" --> "null"
[2024-08-31 09:33:56.295 +00:00] [INF] [18] JWueller.Jellyfin.OnePace.SeriesProvider: Identified Series "{\"Name\":\"Formula 1: Drive to Survive\",\"OriginalTitle\":\"Formula 1: Drive to Survive\",\"Path\":\"/media/Series/Formula 1 Drive To Survive (2019)\",\"MetadataLanguage\":\"en\",\"MetadataCountryCode\":\"DK\",\"ProviderIds\":{\"Tmdb\":\"87083\",\"Imdb\":\"tt8289930\",\"Tvdb\":\"359913\"},\"Year\":2019,\"IndexNumber\":null,\"ParentIndexNumber\":null,\"PremiereDate\":\"2019-03-08T00:00:00Z\",\"IsAutomated\":false}" --> "null"
[2024-08-31 09:33:56.296 +00:00] [INF] [59] JWueller.Jellyfin.OnePace.SeriesProvider: Identified Series "{\"Name\":\"Love, Death \u0026 Robots\",\"OriginalTitle\":\"Love, Death \u0026 Robots\",\"Path\":\"/media/Series/Love, Death \u0026 Robots (2019)\",\"MetadataLanguage\":\"en\",\"MetadataCountryCode\":\"DK\",\"ProviderIds\":{\"Tmdb\":\"86831\",\"Imdb\":\"tt9561862\",\"Tvdb\":\"357888\"},\"Year\":2019,\"IndexNumber\":null,\"ParentIndexNumber\":null,\"PremiereDate\":\"2019-03-15T00:00:00Z\",\"IsAutomated\":false}" --> "null"
[2024-08-31 09:33:56.309 +00:00] [INF] [32] JWueller.Jellyfin.OnePace.SeriesProvider: Identified Series "{\"Name\":\"Community\",\"OriginalTitle\":\"Community\",\"Path\":\"/media/Series/Community (2009)\",\"MetadataLanguage\":\"en\",\"MetadataCountryCode\":\"DK\",\"ProviderIds\":{\"Tmdb\":\"18347\",\"Imdb\":\"tt1439629\",\"TvRage\":\"22589\",\"Tvdb\":\"94571\"},\"Year\":2009,\"IndexNumber\":null,\"ParentIndexNumber\":null,\"PremiereDate\":\"2009-09-17T00:00:00Z\",\"IsAutomated\":false}" --> "null"
[2024-08-31 09:33:56.397 +00:00] [INF] [18] JWueller.Jellyfin.OnePace.ArcProvider: Identified Arc "{\"SeriesProviderIds\":{\"Tmdb\":\"87083\",\"Imdb\":\"tt8289930\",\"Tvdb\":\"359913\"},\"Name\":\"Romance Dawn\",\"OriginalTitle\":null,\"Path\":\"/media/Series/Formula 1 Drive To Survive (2019)/Season 01\",\"MetadataLanguage\":\"en\",\"MetadataCountryCode\":\"DK\",\"ProviderIds\":{},\"Year\":2019,\"IndexNumber\":1,\"ParentIndexNumber\":null,\"PremiereDate\":\"2019-03-08T00:00:00Z\",\"IsAutomated\":false}" --> "null"
[2024-08-31 09:33:56.477 +00:00] [INF] [18] JWueller.Jellyfin.OnePace.ArcProvider: Identified Arc "{\"SeriesProviderIds\":{\"Tmdb\":\"68595\",\"Imdb\":\"tt5491994\",\"Tvdb\":\"318408\"},\"Name\":\"Romance Dawn\",\"OriginalTitle\":null,\"Path\":\"/media/Series/Planet Earth II (2016)/Season 01\",\"MetadataLanguage\":\"en\",\"MetadataCountryCode\":\"DK\",\"ProviderIds\":{\"Tvdb\":\"684701\"},\"Year\":2016,\"IndexNumber\":1,\"ParentIndexNumber\":null,\"PremiereDate\":\"2016-11-06T00:00:00Z\",\"IsAutomated\":false}" --> "null"
[2024-08-31 09:33:56.485 +00:00] [INF] [35] JWueller.Jellyfin.OnePace.ArcProvider: Identified Arc "{\"SeriesProviderIds\":{\"Tmdb\":\"87083\",\"Imdb\":\"tt8289930\",\"Tvdb\":\"359913\"},\"Name\":\"Orange Town\",\"OriginalTitle\":null,\"Path\":\"/media/Series/Formula 1 Drive To Survive (2019)/Season 02\",\"MetadataLanguage\":\"en\",\"MetadataCountryCode\":\"DK\",\"ProviderIds\":{},\"Year\":2020,\"IndexNumber\":2,\"ParentIndexNumber\":null,\"PremiereDate\":\"2020-02-28T00:00:00Z\",\"IsAutomated\":false}" --> "null"
[2024-08-31 09:33:56.504 +00:00] [INF] [32] JWueller.Jellyfin.OnePace.ArcProvider: Identified Arc "{\"SeriesProviderIds\":{\"Tmdb\":\"18347\",\"Imdb\":\"tt1439629\",\"TvRage\":\"22589\",\"Tvdb\":\"94571\"},\"Name\":\"Romance Dawn\",\"OriginalTitle\":null,\"Path\":\"/media/Series/Community (2009)/Season 01\",\"MetadataLanguage\":\"en\",\"MetadataCountryCode\":\"DK\",\"ProviderIds\":{\"Tvdb\":\"66681\"},\"Year\":2009,\"IndexNumber\":1,\"ParentIndexNumber\":null,\"PremiereDate\":\"2009-09-17T00:00:00Z\",\"IsAutomated\":false}" --> "null"
[2024-08-31 09:33:56.601 +00:00] [INF] [35] JWueller.Jellyfin.OnePace.ArcProvider: Identified Arc "{\"SeriesProviderIds\":{\"Tmdb\":\"87083\",\"Imdb\":\"tt8289930\",\"Tvdb\":\"359913\"},\"Name\":\"Syrup Village\",\"OriginalTitle\":null,\"Path\":\"/media/Series/Formula 1 Drive To Survive (2019)/Season 03\",\"MetadataLanguage\":\"en\",\"MetadataCountryCode\":\"DK\",\"ProviderIds\":{},\"Year\":2021,\"IndexNumber\":3,\"ParentIndexNumber\":null,\"PremiereDate\":\"2021-03-19T00:00:00Z\",\"IsAutomated\":false}" --> "null"

I'm not sure if this is as expected or not, but it seems to happen for every series I've got. I haven’t found any other relevant log entries related to the plugin (searching for "jwueller", "One Pace", etc.). Let me know if you need anything else.

Gnarflord commented 1 month ago

I'm facing the same issue:

grafik

My folder structure shouldn't be an issue, I have sorted it under a seperate library "anime" only containing One Pace so far. Still, series in my library "Shows" are affected. Removing the plugin and refreshing all metadata did not help. One Pace is also not enabled as metadata provider for the "Shows" library, I have no idea how where these season labels come from.

grafik grafik

Interestingly it doesn't seem to happen with newly added shows. I have a feeling that anything added after July (?) 2024 doesn't have the issue.

Any help is appreciated!

michaelBelsanti commented 1 week ago

I've also had this issue. It's only happening to shows with "one" somewhere in the name. In my case that's One Punch Man and Clone High.

Aissasa commented 6 days ago

Im getting the same issue :/ It's matching an anime called Prince Planet that is not event released ¯_(ツ)_/¯