浏览代码

fix download name for plex and possible other services

Tobias Conradi 9 年之前
父节点
当前提交
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