convert programs and channels to new providers

This commit is contained in:
Luke Pulverenti
2014-01-29 11:16:24 -05:00
parent 80fa31edf4
commit c0f606683a
12 changed files with 263 additions and 297 deletions

View File

@@ -1,6 +1,7 @@
using MediaBrowser.Common.IO;
using MediaBrowser.Controller.Providers;
using System;
using System.IO;
using System.Threading;
namespace MediaBrowser.Providers
@@ -24,5 +25,10 @@ namespace MediaBrowser.Providers
return FileSystem.GetLastWriteTimeUtc(path) > date;
}
public bool HasLocalMetadata(IHasMetadata item)
{
return File.Exists(GetXmlPath(item.Path));
}
}
}