jellyfin-plugin-tmdbboxsets icon indicating copy to clipboard operation
jellyfin-plugin-tmdbboxsets copied to clipboard

Plug-in ignoring "minimum number of movies" setting.

Open tompwtompw opened this issue 1 year ago • 6 comments

Based on this forum thread

I have the TMDb Box Sets plug-in, with "minimum number of movies" set to three. For collections with 3 or more movies, everything works fine. The issue is that is creates collections with just 2 movies (despite the setting), and then those collections don't have images or metadata. It's like the plugin creates the folder in\Jellyfin\Server\data\collections\ (which JellyFun server then picks up on), but then doesn't do anything with it because it has too few items.

Example of the relevant log entries (after I added The Bourne Identity and later The Bourne Supremacy): [2024-07-17 10:16:51.368 -04:00] [INF] [8] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 3, but there is/are only 1: "The Bourne Identity" --> No collection added (as expected) [2024-07-17 23:09:44.684 -04:00] [INF] [8] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 3, but there is/are only 2: "The Bourne Identity, The Bourne Supremacy" --> Collection added, with no images (not as expected) [2024-07-17 23:12:35.345 -04:00] [INF] [63] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 3, but there is/are only 2: "The Bourne Identity, The Bourne Supremacy" [2024-07-17 23:22:12.918 -04:00] [INF] [45] Jellyfin.Plugin.TMDbBoxSets.ScheduledTasks.RefreshLibraryTask: Starting TMDbBoxSets refresh library task [2024-07-17 23:22:14.758 -04:00] [INF] [45] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Found 67 TMDb collection(s) across all movies .... [2024-07-17 23:22:14.813 -04:00] [INF] [45] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 3, but there is/are only 2: "The Bourne Identity, The Bourne Supremacy" [2024-07-17 23:22:15.400 -04:00] [INF] [45] Jellyfin.Plugin.TMDbBoxSets.ScheduledTasks.RefreshLibraryTask: TMDbBoxSets refresh library task finished [2024-07-17 23:22:15.410 -04:00] [INF] [45] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan library for new box sets" Completed after 0 minute(s) and 2 seconds

Separately, I opened up Jellyfin.Plugin.TMDbBoxSets.dll in Notepad, and found the following text:

  • $('#minimum-movies', page).val(config.MinimumNumberOfMovies || "2");
  • config.MinimumNumberOfMovies = parseInt(minimumNumberOfMovies) || "2";

If I'm reading that right, then it's falling back to 2 because something somewhere isn't (correctly) pulling the value from the configuration page.

I'm running Jellyfin v10.9.6 on a Windows 7 Pro PC (SP1, 64-bit); Jelly BoxSets version 11.0.0.

tompwtompw avatar Jul 18 '24 17:07 tompwtompw

Same issue here.

lldsolitude avatar Jul 27 '24 13:07 lldsolitude

same issue here

Equinox3141 avatar Aug 22 '24 20:08 Equinox3141

I am also having this issue after removing and readding my libraries.

I have it set to 2 but its adding single movies to collections by themselves which is fun. Ended up just disabling grouping under library\display for now.

UPDATE:

Was able to fix by deleting data\collections\ and re-scraping.

bedbug1226 avatar Oct 15 '24 05:10 bedbug1226

UPDATE:

Was able to fix by deleting data\collections\ and re-scraping.

This didn't work for me.

tompwtompw avatar Jan 22 '25 14:01 tompwtompw

I have (nearly?) the same issue: I get box sets for just one movie (the limit is set to two) - even if there doen't even exit more than one movie. Best example: Kung Fury (https://en.wikipedia.org/wiki/Kung_Fury) There isn't even a second movie out (yet?), but there seems to (already) exist a box set - for whatever reason. But even if there would be more than one movie - I don't have them.

Nonetheless the box set gets created - every time again. The box set-folder on disk is empty, but the box set keeps coming back, even when I delete it.

Log:

[2025-02-21 16:59:13.045 +01:00] [INF] Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/mnt/bind_mounts/Filmarchiv/Kung Fury (2015) [tmdbid-251516] - English.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-02-21 16:59:19.903 +01:00] [INF] Started library sync
[2025-02-21 16:59:20.045 +01:00] [INF] Library Sync: Added 1 items
[2025-02-21 16:59:20.045 +01:00] [INF] Finished library sync, taking "00:00:00.1420753"
[2025-02-21 16:59:20.058 +01:00] [INF] Box Set for "Kung Fury Filmreihe" ("1066522") does not exist. Creating it now!
[2025-02-21 16:59:25.225 +01:00] [INF] Started library sync
[2025-02-21 16:59:26.100 +01:00] [INF] Library Sync: Added 1 items
[2025-02-21 16:59:26.100 +01:00] [INF] Finished library sync, taking "00:00:00.8749268"

And after that - the movie isn't even added to that box set!

Image

But I also have box sets with only one movie - but without additional infos:

Image

Please investigate on that. Kung Fury is free, you can get it from https://archive.org/details/KungFury or from YouTube. You can test with that.

I will happily provide more infos or logs, if it can help.

sic6SaNdMaN avatar Feb 21 '25 16:02 sic6SaNdMaN

Well... since here is no movement at all... Should we report this somewhere else? It messes up my whole library...

sic6SaNdMaN avatar Feb 28 '25 09:02 sic6SaNdMaN