• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting TMDb Box Sets ignoring "minimum number of movies" setting

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    TMDb Box Sets ignoring "minimum number of movies" setting

    and possible source of this error (?)
    tompw
    Offline

    Junior Member

    Posts: 19
    Threads: 5
    Joined: 2023 Nov
    Reputation: 0
    Country:Canada
    #1
    2024-07-18, 03:38 PM (This post was last modified: 2024-07-18, 05:40 PM by tompw. Edited 2 times in total.)
    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

    I'm running Jellyfin v10.9.6 on a Windows 7 Pro PC (SP1, 64-bit) (don't mock!); Jelly BoxSets version 11.0.0. (I've also deleted the v10 files from my computer, just in case)

    I have a hacky workround (a batch file that deletes the relevant files in \Jellyfin\Server\data\collections\, but I have to run that every day!

    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";
    ... so it looks like the plug-in isn't correctly obtaining the "minimum number of movies" setting (2 is the default).
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-07-18, 04:57 PM (This post was last modified: 2024-07-18, 04:57 PM by TheDreadPirate.)
    Looking at the code, it SHOULD be skipping those movies.

    https://github.com/jellyfin/jellyfin-plu...ger.cs#L38

    The log message indicates it is entering this if statement.

    Code:
    if (movies.Count < minimumNumberOfMovies)
                {
                    _logger.LogInformation("Minimum number of movies is {Count}, but there is/are only {MovieCount}: {MovieNames}",
                        minimumNumberOfMovies, movies.Count, string.Join(", ", movies.Select(m => m.Name)));
                    return;
                }

    And the "return" should be returning to the caller and moving on to the next movie to evaluate.

    Submit a bug report here.

    https://github.com/jellyfin/jellyfin-plu...ets/issues

    Once you've submitted your report, provide the link and I will comment confirming the bug as I was able to replicate your problem.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    tompw
    Offline

    Junior Member

    Posts: 19
    Threads: 5
    Joined: 2023 Nov
    Reputation: 0
    Country:Canada
    #3
    2024-07-18, 05:48 PM (This post was last modified: 2024-07-18, 05:49 PM by tompw. Edited 1 time in total.)
    Done, thanks!

    https://github.com/jellyfin/jellyfin-plu.../issues/81
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-07-18, 05:51 PM
    Did you submit? #81 404'd.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    tompw
    Offline

    Junior Member

    Posts: 19
    Threads: 5
    Joined: 2023 Nov
    Reputation: 0
    Country:Canada
    #5
    2024-07-18, 06:15 PM
    Yes - that's weird!

    It's also listed top at https://github.com/jellyfin/jellyfin-plu...ets/issues
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-07-18, 06:30 PM
    It is not showing for me even though I'm a member of the Jellyfin git.

       
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    tompw
    Offline

    Junior Member

    Posts: 19
    Threads: 5
    Joined: 2023 Nov
    Reputation: 0
    Country:Canada
    #7
    2024-07-18, 06:39 PM
    OK, it's there for me...

       

    .... but it's not there when I sign out. Does my profile have to be approved in some way?
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,106
    Threads: 0
    Joined: 2024 Jun
    Reputation: 59
    #8
    2024-07-18, 08:23 PM
    I can't see the issue either. Best guess is that you have a private profile and that's affecting it??
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-07-18, 08:32 PM (This post was last modified: 2024-07-18, 08:33 PM by TheDreadPirate. Edited 1 time in total.)
    https://github.com/settings/profile

    Is this box checked?  Not sure if this is the cause or not.

       

    If this is a new account, did you fully verify it and your email address?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    tompw
    Offline

    Junior Member

    Posts: 19
    Threads: 5
    Joined: 2023 Nov
    Reputation: 0
    Country:Canada
    #10
    2024-07-18, 11:32 PM
    "Make profile private and hide activity" is unticked. (I ticked it, saved, then unticked, saved again)

    Yes, it is a new account. I verified my email address (I had to do that when I signed up before I could do anything).

    My profile is at https://github.com/tompwtompw ... but if I sign out, that gives a 404 error.

    Is there some setting on the repo affecting things??

    Btw, if someone wants to create this issue themselves, I will be fine with that! I'm more interested in getting the bug fixed than having a functioning GitHub account :-)
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode