mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
display songs on ibn page
This commit is contained in:
parent
b048864e57
commit
13b4623b69
@ -164,6 +164,11 @@
|
||||
|
||||
loadItems(page, { IncludeItemTypes: "MusicAlbum", PersonTypes: "Artist" });
|
||||
});
|
||||
|
||||
$("#radioSongs", page).on("click", function () {
|
||||
|
||||
loadItems(page, { IncludeItemTypes: "Audio", PersonTypes: "Artist" });
|
||||
});
|
||||
}
|
||||
|
||||
function renderDetails(page, item) {
|
||||
@ -189,8 +194,7 @@
|
||||
|
||||
$('#itemBirthday', page).show().html("Birthday: " + birthday);
|
||||
}
|
||||
catch(err)
|
||||
{
|
||||
catch (err) {
|
||||
$('#itemBirthday', page).hide();
|
||||
}
|
||||
} else {
|
||||
@ -259,7 +263,13 @@
|
||||
ApiClient.getItems(Dashboard.getCurrentUserId(), query).done(function (result) {
|
||||
var html = '';
|
||||
|
||||
if (result.TotalRecordCount > query.Limit) {
|
||||
$('.listTopPaging', page).html(LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true)).trigger('create');
|
||||
$('.viewSettings', page).show();
|
||||
} else {
|
||||
$('.listTopPaging', page).html('');
|
||||
$('.viewSettings', page).hide();
|
||||
}
|
||||
|
||||
html += LibraryBrowser.getPosterDetailViewHtml({
|
||||
items: result.Items,
|
||||
|
Loading…
Reference in New Issue
Block a user