fix xbox one, ps4 not seeing dlna server

This commit is contained in:
Luke Pulverenti 2016-02-16 12:09:32 -05:00
parent 3a67382505
commit d0076b3865
3 changed files with 21 additions and 10 deletions

View File

@ -15,12 +15,12 @@
}, },
"devDependencies": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.0.82", "version": "1.0.83",
"_release": "1.0.82", "_release": "1.0.83",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.0.82", "tag": "1.0.83",
"commit": "87ca65dd008946b330945c0c1adcaf3b6337c1d2" "commit": "2d07f1da3ed23cf12b40ed2639e42dd737eb83fd"
}, },
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git", "_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "~1.0.0", "_target": "~1.0.0",

View File

@ -1,14 +1,21 @@
.docspinner { .docspinner {
margin-top: -5vh; margin-top: -4vh;
margin-left: -5vh; margin-left: -4vh;
width: 10vh; width: 8vh;
height: 10vh; height: 8vh;
position: fixed; position: fixed;
top: 50%; top: 50%;
left: 50%; left: 50%;
z-index: 9999999; z-index: 9999999;
} }
.docspinner.tv {
margin-top: -5vh;
margin-left: -5vh;
width: 10vh;
height: 10vh;
}
.loadingHide { .loadingHide {
display: none !important; display: none !important;
} }

View File

@ -1,4 +1,4 @@
define(['paper-spinner', 'css!./loading'], function () { define(['layoutManager', 'paper-spinner', 'css!./loading'], function (layoutManager) {
return { return {
show: function () { show: function () {
@ -9,6 +9,10 @@ define(['paper-spinner', 'css!./loading'], function () {
elem = document.createElement("paper-spinner"); elem = document.createElement("paper-spinner");
elem.classList.add('docspinner'); elem.classList.add('docspinner');
if (layoutManager.tv) {
elem.classList.add('tv');
}
document.body.appendChild(elem); document.body.appendChild(elem);
} }