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

update identifier

This commit is contained in:
Luke Pulverenti 2016-07-31 01:25:54 -04:00
parent bb142cf26e
commit c6c6ec116a
8 changed files with 28 additions and 65 deletions

View file

@ -354,37 +354,6 @@
}
},
getDateParamValue: function (date) {
function formatDigit(i) {
return i < 10 ? "0" + i : i;
}
var d = date;
return "" + d.getFullYear() + formatDigit(d.getMonth() + 1) + formatDigit(d.getDate()) + formatDigit(d.getHours()) + formatDigit(d.getMinutes()) + formatDigit(d.getSeconds());
},
playAllFromHere: function (fn, index) {
fn(index, 100, "MediaSources,Chapters").then(function (result) {
MediaController.play({
items: result.Items
});
});
},
queueAllFromHere: function (query, index) {
fn(index, 100, "MediaSources,Chapters").then(function (result) {
MediaController.queue({
items: result.Items
});
});
},
getArtistLinksHtml: function (artists, cssClass) {
var html = [];
@ -410,17 +379,6 @@
});
},
editImages: function (itemId) {
return new Promise(function (resolve, reject) {
require(['components/imageeditor/imageeditor'], function (ImageEditor) {
ImageEditor.show(itemId).then(resolve, reject);
});
});
},
getHref: function (item, context, topParentId) {
var href = LibraryBrowser.getHrefInternal(item, context);