jelum 32 Posted November 12, 2022 Posted November 12, 2022 Hi, I want to fill provider id for Movie type based on file name. As I understand, I can do this only inheriting ItemResolver<T> type. I played a little bit with this class and have a several questions: How I can detect filename of the new added file? ItemResolveArgs's args points on library folder, args.GetFileSystemChildren() return all files in library Since I want to fill only provider id, what additional data I have to fill to make a valid return object? What object I have to return from the Resolve method - null or valid Movie object? Thanks in advance for help
ebr 15647 Posted November 12, 2022 Posted November 12, 2022 3 hours ago, jelum said: I want to fill provider id for Movie type based on file name Hi. The provider ID is just metadata so you would want a metadata provider, not an item resolver. 2
jelum 32 Posted November 12, 2022 Author Posted November 12, 2022 Thanks for the reply. You mean LocalMetadataProvider? Check this direction?
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