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

fixes #834 - Change view of TV Shows or Interface for plugins

This commit is contained in:
Luke Pulverenti 2014-07-05 15:57:18 -04:00
parent 4318490be2
commit 495501f5aa
10 changed files with 211 additions and 38 deletions

View file

@ -1,6 +1,6 @@
(function ($, document) {
var view = "Poster";
var view = LibraryBrowser.getDefaultItemsView('Poster', 'List');
// The base query options
var query = {
@ -9,7 +9,7 @@
SortOrder: "Ascending",
IncludeItemTypes: "MusicAlbum",
Recursive: true,
Fields: "PrimaryImageAspectRatio",
Fields: "PrimaryImageAspectRatio,SortName",
StartIndex: 0
};
@ -48,7 +48,8 @@
html = LibraryBrowser.getListViewHtml({
items: result.Items,
context: 'music'
context: 'music',
sortBy: query.SortBy
});
$('.itemsContainer', page).removeClass('timelineItemsContainer');
}