|
@@ -170,6 +170,7 @@ typedef NS_ENUM(NSUInteger, VLCDownloadScheme) {
|
|
_currentDownloadType = VLCDownloadSchemeHTTP;
|
|
_currentDownloadType = VLCDownloadSchemeHTTP;
|
|
if (![_currentDownloadFilename.firstObject isEqualToString:@""]) {
|
|
if (![_currentDownloadFilename.firstObject isEqualToString:@""]) {
|
|
_humanReadableFilename = [[_currentDownloadFilename firstObject] stringByRemovingPercentEncoding];
|
|
_humanReadableFilename = [[_currentDownloadFilename firstObject] stringByRemovingPercentEncoding];
|
|
|
|
+ [self.httpDownloader downloadFileFromURL:_currentDownloads.firstObject withFileName:_humanReadableFilename];
|
|
} else {
|
|
} else {
|
|
[self.httpDownloader downloadFileFromURL:_currentDownloads.firstObject];
|
|
[self.httpDownloader downloadFileFromURL:_currentDownloads.firstObject];
|
|
_humanReadableFilename = self.httpDownloader.userReadableDownloadName;
|
|
_humanReadableFilename = self.httpDownloader.userReadableDownloadName;
|