Commit ba3e7975 authored by Pierre SAGASPE's avatar Pierre SAGASPE Committed by Felix Paul Kühne

ftp: implement 'isDownloadable' flag

(cherry picked from commit a46cd3a7)
Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <>
parent 64ebe011
......@@ -27,6 +27,7 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)initWithDictionary:(NSDictionary *)dict baseURL:(NSURL *)baseURL;
@property (nonatomic, readwrite) NSArray<id<VLCNetworkServerBrowserItem>> *items;
@property (nonatomic, getter=isDownloadable, readonly) BOOL downloadable;
......@@ -155,6 +155,12 @@
return [[VLCNetworkServerBrowserFTP alloc] initWithURL:self.URL];
- (BOOL)isDownloadable
//VLC also needs an extension in the filename for this to work.
return YES;
- (VLCMedia *)media
if (_URL)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment