You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
478 B
23 lines
478 B
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;
|
|
}
|
|
}
|
|
}
|