jellyfin/MediaBrowser.Model/Dlna/DefaultLocalPlayer.cs
2015-03-12 02:06:57 -04:00

23 lines
478 B
C#

using System.IO;
namespace MediaBrowser.Model.Dlna
{
public class DefaultLocalPlayer : ILocalPlayer
{
public bool CanAccessFile(string path)
{
return File.Exists(path);
}
public bool CanAccessDirectory(string path)
{
return Directory.Exists(path);
}
public virtual bool CanAccessUrl(string url, bool requiresCustomRequestHeaders)
{
return false;
}
}
}