mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-28 11:44:48 +03:00
center guide grid
This commit is contained in:
@@ -1713,5 +1713,12 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
return userdata != null && userdata.Played;
|
||||
}
|
||||
|
||||
public virtual bool IsUnplayed(User user)
|
||||
{
|
||||
var userdata = UserDataManager.GetUserData(user.Id, GetUserDataKey());
|
||||
|
||||
return userdata == null || !userdata.Played;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user