bakes82 167 Posted February 1, 2025 Posted February 1, 2025 Whats the key map too? Id assume it was the baseItem internalId but that doesnt seem to be the case. var items = _libraryManager.GetItemList(new InternalItemsQuery { IsVirtualItem = false }); var userData = _userDataManager.GetAllUserData(user.InternalId); foreach (var userItemData in userData) { var item = items.FirstOrDefault(x => x.InternalId == long.Parse(userItemData.Key)); if (item == null) continue; { "Key": "628900", "PlaybackPositionTicks": 0, "PlayCount": 1, "IsFavorite": false, "HideFromResume": false, "LastPlayedDate": "2025-01-31T05:49:31.0000000Z", "Played": true, "RatingLastModified": "2025-01-31T05:49:31.0000000Z", "PlaystateLastModified": "2025-01-31T05:49:31.0000000Z" }
Luke 42077 Posted February 1, 2025 Posted February 1, 2025 This will map to a value in the UserDataKeys table.
bakes82 167 Posted February 1, 2025 Author Posted February 1, 2025 36 minutes ago, Luke said: This will map to a value in the UserDataKeys table. And what service has those because it doesnt seem to be part of the _userDataManager.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now