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
|
@ -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