fix network enumeration

This commit is contained in:
Luke Pulverenti
2016-05-11 13:24:01 -04:00
parent a178f74456
commit 1aede748b3
2 changed files with 4 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ namespace MediaBrowser.ServerApplication.Networking
/// <returns>IEnumerable{NetworkShare}.</returns>
public IEnumerable<NetworkShare> GetNetworkShares(string path)
{
Logger.Info("Getting network shares from {0}", path);
return new ShareCollection(path).OfType<Share>().Select(ToNetworkShare);
}