fixed issue of trailers not getting internet metadata

pull/702/head
Luke Pulverenti 12 years ago
parent 11941a4db2
commit 86735e2205

@ -2,6 +2,7 @@
using MediaBrowser.Controller.Configuration; using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Movies; using MediaBrowser.Controller.Entities.Movies;
using MediaBrowser.Model.Entities;
using MediaBrowser.Model.Logging; using MediaBrowser.Model.Logging;
using MediaBrowser.Model.Serialization; using MediaBrowser.Model.Serialization;
using System; using System;
@ -23,6 +24,11 @@ namespace MediaBrowser.Controller.Providers.Movies
public override bool Supports(BaseItem item) public override bool Supports(BaseItem item)
{ {
if (item.LocationType != LocationType.FileSystem)
{
return false;
}
var trailer = item as Trailer; var trailer = item as Trailer;
if (trailer != null) if (trailer != null)

Loading…
Cancel
Save