update playlist drag and drop

This commit is contained in:
Luke Pulverenti
2015-10-15 11:51:00 -04:00
parent 6c3355b26f
commit f4ad65196a
6 changed files with 73 additions and 57 deletions

View File

@@ -248,6 +248,11 @@ namespace MediaBrowser.Server.Implementations.Photos
if (image != null)
{
if (!image.IsLocalFile)
{
return false;
}
if (!FileSystem.ContainsSubPath(item.GetInternalMetadataPath(), image.Path))
{
return false;
@@ -269,6 +274,11 @@ namespace MediaBrowser.Server.Implementations.Photos
if (image != null)
{
if (!image.IsLocalFile)
{
return false;
}
if (!FileSystem.ContainsSubPath(item.GetInternalMetadataPath(), image.Path))
{
return false;