TeamB 2353 Posted April 13, 2020 Share Posted April 13, 2020 Is it possible to rescan just one item, disk scan, and wait for the result? Link to comment Share on other sites More sharing options...
maegibbons 1267 Posted April 13, 2020 Share Posted April 13, 2020 Is it possible to rescan just one item, disk scan, and wait for the result?Yes refresh metadata from 3 dot menu. Krs Mark Sent from my SM-N976B using Tapatalk Link to comment Share on other sites More sharing options...
TeamB 2353 Posted April 13, 2020 Author Share Posted April 13, 2020 sorry I meant in C# on the BaseItem directly. Link to comment Share on other sites More sharing options...
rechigo 293 Posted April 13, 2020 Share Posted April 13, 2020 (edited) Haven't experimented with it, but it might be LibraryManager.UpdateItem Edited April 13, 2020 by rechigo Link to comment Share on other sites More sharing options...
TeamB 2353 Posted April 13, 2020 Author Share Posted April 13, 2020 LibraryManager.UpdateItem I think that is just for metadata. Link to comment Share on other sites More sharing options...
rechigo 293 Posted April 13, 2020 Share Posted April 13, 2020 I think what you're looking for is ProviderManager.QueueRefresh (internally that is what ItemRefreshService uses) Link to comment Share on other sites More sharing options...
TeamB 2353 Posted April 13, 2020 Author Share Posted April 13, 2020 There is also the LibraryManager.QueueLibraryScan() I will see if ProviderManager.QueueRefresh is better. My scenario is I am deleteing one file manually, I want just the Item for that file to be refreshed and removed. 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