1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

re-org scripts

This commit is contained in:
Luke Pulverenti 2015-03-25 14:29:21 -04:00
parent 9fecb9f7c4
commit d2f14592e9
6 changed files with 5 additions and 10 deletions

View file

@ -210,16 +210,16 @@
self.canPlay = function (item) {
return self.canPlayByAttributes(item.Type, item.MediaType, item.PlayAccess, item.LocationType, item.IsPlaceHolder);
return self.canPlayByAttributes(item.Type, item.MediaType, item.PlayAccess, item.LocationType);
};
self.canPlayByAttributes = function (itemType, mediaType, playAccess, locationType, isPlaceHolder) {
self.canPlayByAttributes = function (itemType, mediaType, playAccess, locationType) {
if (playAccess != 'Full') {
return false;
}
if (locationType == "Virtual" || isPlaceHolder) {
if (locationType == "Virtual") {
return false;
}