added oga, webma to audio streaming url

This commit is contained in:
Luke Pulverenti
2013-04-01 20:54:06 -04:00
parent 51e8bf14c7
commit e4a3d35a5f
6 changed files with 40 additions and 9 deletions
+2 -1
View File
@@ -25,7 +25,7 @@
}
.listHeader {
margin-top: 1.25em;
margin-top: 1em;
margin-bottom: 5px;
font-weight: normal;
}
@@ -36,6 +36,7 @@
.libraryViewNav {
text-align: center;
margin-bottom: 1.5em!important;
}
.libraryViewNav .ui-btn-inner {
+4 -1
View File
@@ -15,8 +15,11 @@
<a href="#" data-role="button">Genres</a>
<a href="#" data-role="button">Actors</a>
<a href="#" data-role="button">Directors</a>
<a href="#" data-role="button">Favorites</a>
</div>
<div class="viewSettings">
<button data-mini="true" data-icon="sort" data-inline="true">Sort</button>
</div>
<div id="items"></div>
</div>
</div>
</body>
-1
View File
@@ -15,7 +15,6 @@
<a href="#" data-role="button">Genres</a>
<a href="#" data-role="button">Actors</a>
<a href="#" data-role="button">Directors</a>
<a href="#" data-role="button">Favorites</a>
</div>
<div class="ehsContent">
+3 -3
View File
@@ -1,12 +1,12 @@
(function ($, document) {
(function ($, document, apiClient) {
$(document).on('pageshow', "#aboutPage", function () {
var page = this;
ApiClient.getSystemInfo().done(function(info) {
apiClient.getSystemInfo().done(function(info) {
$('#appVersionNumber', page).html(info.Version);
});
});
})(jQuery, document);
})(jQuery, document, ApiClient);
+3 -3
View File
@@ -1,4 +1,4 @@
(function ($, document) {
(function ($, document, apiClient) {
$(document).on('pageshow', "#indexPage", function () {
@@ -17,7 +17,7 @@
sortBy: "SortName"
};
ApiClient.getItems(userId, options).done(function (result) {
apiClient.getItems(userId, options).done(function (result) {
$('#divCollections', page).html(Dashboard.getPosterViewHtml({
items: result.Items,
@@ -48,4 +48,4 @@
$('#views', page).html(html);
});
})(jQuery, document);
})(jQuery, document, ApiClient);
+28
View File
@@ -0,0 +1,28 @@
(function ($, document) {
$(document).on('pageshow', "#moviesPage", function () {
var page = this;
var options = {
SortBy: "SortName",
SortOrder: "Ascending",
IncludeItemTypes: "Movie",
Recursive: true,
Fields: "PrimaryImageAspectRatio"
};
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {
$('#items', page).html(Dashboard.getPosterViewHtml({
items: result.Items,
useAverageAspectRatio: true
}));
});
});
})(jQuery, document);