• 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 General Questions Mark watched not working for "some" movies

     
    • 0 Vote(s) - 0 Average

    Mark watched not working for "some" movies

    poweredbyporkers
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Dec
    Reputation: 0
    Country:Australia
    #2
    9 hours ago
    I'm assuming when you rematch it should clear out the old match data not leave it hanging around but it seems to be still active.

    The Bodyguard (1992) (tt0103855) for some reason matched to a Russian movie called Telokhranite (1991) (tt0197013) which has an aka of The Bodyguard so when you update the watched status it returns 5 records and sets 3 of them to watched, BUT, the first two records, the old data, is untouched and so Played = false and it returns the first record in the dataset and so it seems it's unwatched when it's actually watched

    Should likely update UserDataManager to remove the now unassociated userdata items in SaveUserData. 

    Quote:private static void RemoveUserDataNotAssociatedViaKey(JellyfinDbContext dbContext, User user, BaseItem item, List<string> keys)
    {
        var notAssociated = dbContext.UserData
            .Where(f => f.ItemId == item.Id && f.UserId == user.Id && !keys.Contains(f.CustomDataKey));
        if (notAssociated.Any())
        {
            dbContext.UserData.RemoveRange(notAssociated);
        }
    }


    Attached Files Thumbnail(s)
       
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Mark watched not working for "some" movies - by poweredbyporkers - 2025-12-12, 11:58 PM
    RE: Mark watched not working for "some" movies - by poweredbyporkers - 9 hours ago

    • 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