Browse Source

VLCBoxController: Check for potential path before download

Soomin Lee 5 years ago
parent
commit
f911e8e531
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/VLCBoxController.m

+ 1 - 1
Sources/VLCBoxController.m

@@ -194,7 +194,7 @@
     NSArray *searchPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
     NSString *filePath = [searchPaths[0] stringByAppendingFormat:@"/%@", file.name];
 
-    [self loadFile:file intoPath:filePath];
+    [self loadFile:file intoPath:[self createPotentialPathFrom:filePath]];
 
     dispatch_async(dispatch_get_main_queue(), ^{
         if ([self.delegate respondsToSelector:@selector(operationWithProgressInformationStarted)])