Skip to content

[Bug]: strange behavior in recommandation #7

@neotwix

Description

@neotwix

Bug Description

I Didn't have any movie recommandation. and all the user has the same tv recommandation. But didn"t the same tv show.

Steps to Reproduce

some logs:
[2026-02-03 17:41:58.114 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Series recommendations for user 2a9bd700-2f3b-4073-bc01-805cf110b1ff: 25 files created
[2026-02-03 17:41:58.114 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Cleared all Movie items for user 499401e7-c3e5-490a-b96f-de5a5897ea39 (deleted directory)
[2026-02-03 17:41:58.114 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Movie recommendations for user 499401e7-c3e5-490a-b96f-de5a5897ea39: 0 files created
[2026-02-03 17:41:58.114 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Cleared all Series items for user 499401e7-c3e5-490a-b96f-de5a5897ea39 (deleted directory)
[2026-02-03 17:42:01.607 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Series recommendations for user 499401e7-c3e5-490a-b96f-de5a5897ea39: 25 files created
[2026-02-03 17:42:01.607 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Cleared all Movie items for user 373f59cb-23c7-4fe8-b457-8a46d1fdb4ed (deleted directory)
[2026-02-03 17:42:01.607 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Movie recommendations for user 373f59cb-23c7-4fe8-b457-8a46d1fdb4ed: 0 files created
[2026-02-03 17:42:01.607 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Cleared all Series items for user 373f59cb-23c7-4fe8-b457-8a46d1fdb4ed (deleted directory)
[2026-02-03 17:42:04.512 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Series recommendations for user 373f59cb-23c7-4fe8-b457-8a46d1fdb4ed: 25 files created
[2026-02-03 17:42:04.512 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Cleared all Movie items for user 7f556e4b-7877-4f73-b7ef-c0c7fb706002 (deleted directory)
[2026-02-03 17:42:04.512 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Movie recommendations for user 7f556e4b-7877-4f73-b7ef-c0c7fb706002: 0 files created
[2026-02-03 17:42:04.512 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Cleared all Series items for user 7f556e4b-7877-4f73-b7ef-c0c7fb706002 (deleted directory)
[2026-02-03 17:42:07.375 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Series recommendations for user 7f556e4b-7877-4f73-b7ef-c0c7fb706002: 25 files created
[2026-02-03 17:42:07.375 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Cleared all Movie items for user 9cd10cc4-31bd-4164-9b8b-35f93c6e4e53 (deleted directory)
[2026-02-03 17:42:07.375 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Movie recommendations for user 9cd10cc4-31bd-4164-9b8b-35f93c6e4e53: 0 files created
[2026-02-03 17:42:07.375 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Cleared all Series items for user 9cd10cc4-31bd-4164-9b8b-35f93c6e4e53 (deleted directory)
[2026-02-03 17:42:10.073 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Series recommendations for user 9cd10cc4-31bd-4164-9b8b-35f93c6e4e53: 25 files created
[2026-02-03 17:42:10.074 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Cleared all Movie items for user 4367885c-7f64-4b7f-a2a1-f40a09beceec (deleted directory)
[2026-02-03 17:42:10.074 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Movie recommendations for user 4367885c-7f64-4b7f-a2a1-f40a09beceec: 0 files created
[2026-02-03 17:42:10.074 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Cleared all Series items for user 4367885c-7f64-4b7f-a2a1-f40a09beceec (deleted directory)
[2026-02-03 17:42:12.839 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Series recommendations for user 4367885c-7f64-4b7f-a2a1-f40a09beceec: 25 files created
[2026-02-03 17:42:12.839 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Cleared all Movie items for user 4ac54fe7-f3e8-480e-b0dc-5e8e7de2ebab (deleted directory)
[2026-02-03 17:42:12.839 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Movie recommendations for user 4ac54fe7-f3e8-480e-b0dc-5e8e7de2ebab: 0 files created
[2026-02-03 17:42:12.839 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Cleared all Series items for user 4ac54fe7-f3e8-480e-b0dc-5e8e7de2ebab (deleted directory)
[2026-02-03 17:42:15.603 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.VirtualLibrary.VirtualLibraryManager: Updated Series recommendations for user 4ac54fe7-f3e8-480e-b0dc-5e8e7de2ebab: 25 files created
[2026-02-03 17:42:15.603 +01:00] [INF] [104] Jellyfin.Plugin.LocalRecs.ScheduledTasks.RecommendationRefreshTask: Waiting for file system flush before triggering library scan
[2026-02-03 17:42:16.809 +01:00] [INF] [40] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "38896a97-12a6-4bee-a6b0-564f1491236d-7f556e4b78774f73b7efc0c7fb706002-31df838ab9037c0c9d349118c9e33028"
[2026-02-03 17:42:17.603 +01:00] [INF] [78] Jellyfin.Plugin.LocalRecs.ScheduledTasks.RecommendationRefreshTask: Triggering library scan for virtual recommendation libraries
[2026-02-03 17:42:17.603 +01:00] [INF] [78] Jellyfin.Plugin.LocalRecs.ScheduledTasks.RecommendationRefreshTask: Virtual library files updated successfully
[2026-02-03 17:42:17.603 +01:00] [INF] [78] Jellyfin.Plugin.LocalRecs.ScheduledTasks.RecommendationRefreshTask: IMPORTANT: Please manually scan the recommendation libraries via:
[2026-02-03 17:42:17.603 +01:00] [INF] [78] Jellyfin.Plugin.LocalRecs.ScheduledTasks.RecommendationRefreshTask: Dashboard → Libraries → [Your Recommendation Library] → Scan Library
[2026-02-03 17:42:17.603 +01:00] [INF] [78] Jellyfin.Plugin.LocalRecs.ScheduledTasks.RecommendationRefreshTask: OR wait for the next scheduled library scan
[2026-02-03 17:42:17.603 +01:00] [INF] [78] Jellyfin.Plugin.LocalRecs.ScheduledTasks.RecommendationRefreshTask: Automatic scanning is disabled to prevent .strm file removal issues
[2026-02-03 17:42:17.603 +01:00] [INF] [78] Jellyfin.Plugin.LocalRecs.ScheduledTasks.RecommendationRefreshTask: Recommendation refresh completed in 383.04 seconds: 7/7 users successful
[2026-02-03 17:42:17.603 +01:00] [INF] [78] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Refresh Local Recommendations" Completed after 6 minute(s) and 23 seconds

and the benchmark

================================================================================
Local Recommendations Benchmark Results
Timestamp: 2026-02-03 16:22:25 UTC

  1. Library Analysis

    Total Items: 2,780 (0 movies, 2,780 series)
    Analysis Time: 324,234 ms

  2. Vocabulary Building

    Genres: 16
    Actors: 500
    Directors: 779
    Tags: 500
    Total Features: 1,805
    Build Time: 16 ms

  3. Embedding Computation

    Total Items: 2,780
    Total Time: 288 ms
    Avg per Item: 0.10 ms
    Vector Dimension: 1,805

  4. User Profile Generation

    No users with watch history found

  5. Recommendation Scoring

    No users with watch history found

================================================================================
Summary

Total Time: 396,273 ms (396.27 seconds)
Peak Memory: 895.16 MB
Memory Delta: 84.00 MB

Performance Assessment:

[FAIL] Time: Completed in 396.3s (target: <120s)
[WARN] Memory: 895.2 MB (target: <100 MB)

================================================================================

Expected Behavior

recommandation for movie and tv show

Relevant Log Output

Checklist

  • I have searched existing issues to ensure this bug hasn't been reported
  • I have sanitized all personal information from logs and descriptions
  • I am using a supported version of Jellyfin (10.11.5+)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions