mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added oga, webma to audio streaming url
This commit is contained in:
parent
51e8bf14c7
commit
e4a3d35a5f
6 changed files with 40 additions and 9 deletions
|
@ -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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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);
|
|
@ -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
dashboard-ui/scripts/movies.js
Normal file
28
dashboard-ui/scripts/movies.js
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue