Quellcode durchsuchen

fix download name for plex and possible other services

Tobias Conradi vor 9 Jahren
Ursprung
Commit
8d6b6e06a1

+ 1 - 1
Sources/LocalNetworkConnectivity/ServerBrowsing/VLCNetworkServerBrowserViewController.m

@@ -104,7 +104,7 @@
 
 - (void)_downloadItem:(id<VLCNetworkServerBrowserItem>)item
 {
-    [[VLCDownloadViewController sharedInstance] addURLToDownloadList:item.URL fileNameOfMedia:nil];
+    [[VLCDownloadViewController sharedInstance] addURLToDownloadList:item.URL fileNameOfMedia:[item.name stringByAppendingPathExtension:item.URL.pathExtension]];
 }
 
 - (void)_streamFileForItem:(id<VLCNetworkServerBrowserItem>)item