h.buckle 11 Posted March 2, 2019 Share Posted March 2, 2019 I'm working on a metadata plugin but I can't work out how to update user data (play state etc) on import for items that don't already exist in the library. For items that do already exist in the library I can look up the item and use the UserDataManager to update the UserItemData, but if the item doesn't currently exist this won't work. MetadataResult has a UserDataList property but this doesn't seem to help as far as I can tell as UserItemData has to be used with SaveUserData and an existing item. Link to comment Share on other sites More sharing options...
Luke 37098 Posted March 3, 2019 Share Posted March 3, 2019 Hi, you're not going to be able to do this. What's the use case? Link to comment Share on other sites More sharing options...
h.buckle 11 Posted March 3, 2019 Author Share Posted March 3, 2019 Well the idea was to be able to restore play counts/watched status etc from local metadata in the event the library was lost or you want to start with a new library. It's not a huge deal though. One other question - can collections be created from metadata import, ie by returning MetadataResult<BoxSet> or do you need to use the CollectionManager ? Link to comment Share on other sites More sharing options...
Luke 37098 Posted March 3, 2019 Share Posted March 3, 2019 You need to use collection manager. Link to comment Share on other sites More sharing options...
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