Commit 5e775404 authored by Felix Paul Kühne's avatar Felix Paul Kühne

MLMediaLibrary: add external symbol to update the media database

parent df362980
......@@ -18,6 +18,7 @@
+ (id)sharedMediaLibrary;
- (void)addFilePaths:(NSArray *)filepaths;
- (void)updateMediaDatabase;
// May be internal
- (NSFetchRequest *)fetchRequestForEntity:(NSString *)entity;
......
......@@ -617,6 +617,11 @@ static NSString *kLastTVDBUpdateServerTime = @"MLLastTVDBUpdateServerTime";
}
#endif
- (void)updateMediaDatabase
{
[self startUpdateDB];
}
- (void)startUpdateDB
{
// Remove no more present files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment