Only run ffprobe on local content

This commit is contained in:
Eric Reed 2013-03-09 15:27:35 -05:00
parent a3d37fbca7
commit 51e11eb3e3

View File

@ -85,6 +85,11 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns> /// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>
public override bool Supports(BaseItem item) public override bool Supports(BaseItem item)
{ {
if (item.LocationType != LocationType.FileSystem)
{
return false;
}
var video = item as Video; var video = item as Video;
if (video != null) if (video != null)