mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Removed books controller and associated routes
This commit is contained in:
parent
3226eef67e
commit
4c5394afee
5 changed files with 0 additions and 1221 deletions
|
@ -67,12 +67,6 @@ export const LEGACY_USER_ROUTES: LegacyRoute[] = [
|
|||
controller: 'user/subtitles/index',
|
||||
view: 'user/subtitles/index.html'
|
||||
}
|
||||
}, {
|
||||
path: 'books.html',
|
||||
pageProps: {
|
||||
controller: 'books/booksmain',
|
||||
view: 'books/books.html'
|
||||
}
|
||||
}, {
|
||||
path: 'tv.html',
|
||||
pageProps: {
|
||||
|
|
|
@ -685,7 +685,6 @@ class PlaybackManager {
|
|||
constructor() {
|
||||
const self = this;
|
||||
|
||||
// The list of players
|
||||
const players = [];
|
||||
let currentTargetInfo;
|
||||
let currentPairingId = null;
|
||||
|
@ -836,7 +835,6 @@ class PlaybackManager {
|
|||
return ServerConnections.currentApiClient().getCurrentUser().then(function (user) {
|
||||
const targets = [];
|
||||
|
||||
// Is this relevant?
|
||||
targets.push({
|
||||
name: globalize.translate('HeaderMyDevice'),
|
||||
id: 'localplayer',
|
||||
|
@ -1982,7 +1980,6 @@ class PlaybackManager {
|
|||
self.translateItemsForPlayback = translateItemsForPlayback;
|
||||
self.getItemsForPlayback = getItemsForPlayback;
|
||||
|
||||
// This is the exposed function called to manage item media playback
|
||||
self.play = function (options) {
|
||||
normalizePlayOptions(options);
|
||||
|
||||
|
@ -2501,7 +2498,6 @@ class PlaybackManager {
|
|||
}
|
||||
|
||||
return Promise.all([promise, player.getDeviceProfile(item)]).then(function (responses) {
|
||||
// TODO: Why does this skip the first entry?
|
||||
const deviceProfile = responses[1];
|
||||
|
||||
const apiClient = ServerConnections.getApiClient(item.ServerId);
|
||||
|
|
|
@ -692,9 +692,6 @@ class AppRouter {
|
|||
|
||||
return url;
|
||||
}
|
||||
if (item.CollectionType == CollectionType.Books) {
|
||||
return '#/books.html?parentId=' + id + '&serverId=' + serverId + '&topParentId=' + item.Id;
|
||||
}
|
||||
}
|
||||
|
||||
const itemTypes = ['Playlist', 'TvChannel', 'Program', 'BoxSet', 'MusicAlbum', 'MusicGenre', 'Person', 'Recording', 'MusicArtist'];
|
||||
|
|
|
@ -1,58 +0,0 @@
|
|||
<div data-role="page" class="page libraryPage noSecondaryNavPage" data-backbutton="true">
|
||||
<div class="alphaPicker alphaPicker-vertical alphaPicker-fixed focuscontainer-y hide">
|
||||
</div>
|
||||
<div class="padded-left padded-right padded-bottom-page">
|
||||
<div class="flex align-items-center focuscontainer-x itemsViewSettingsContainer padded-top padded-bottom flex-wrap-wrap">
|
||||
<div class="paging"></div>
|
||||
<button is="emby-button" class="btnPlay button-flat hide listTextButton-autohide">
|
||||
<span>${HeaderPlayAll}</span>
|
||||
</button>
|
||||
<button is="paper-icon-button-light" class="btnPlay listIconButton-autohide" title="${HeaderPlayAll}">
|
||||
<span class="material-icons play_arrow" aria-hidden="true"></span>
|
||||
</button>
|
||||
<button is="emby-button" class="btnQueue button-flat hide listTextButton-autohide">
|
||||
<span>${AddToPlayQueue}</span>
|
||||
</button>
|
||||
<button is="paper-icon-button-light" class="btnQueue hide listIconButton-autohide" title="${AddToPlayQueue}">
|
||||
<span class="material-icons playlist_add" aria-hidden="true"></span>
|
||||
</button>
|
||||
<button is="emby-button" class="btnShuffle button-flat hide listTextButton-autohide">
|
||||
<span>${Shuffle}</span>
|
||||
</button>
|
||||
<button is="paper-icon-button-light" class="btnShuffle hide listIconButton-autohide" title="${Shuffle}">
|
||||
<span class="material-icons shuffle" aria-hidden="true"></span>
|
||||
</button>
|
||||
<button is="emby-button" class="btnNewItem hide button-flat listTextButton-autohide">
|
||||
<span>${New}</span>
|
||||
</button>
|
||||
<button is="paper-icon-button-light" class="btnNewItem hide listIconButton-autohide" title="${New}">
|
||||
<span class="material-icons add" aria-hidden="true"></span>
|
||||
</button>
|
||||
|
||||
<button is="emby-button" class="btnSort hide button-flat listTextButton-autohide">
|
||||
<span class="btnSortText"></span>
|
||||
<span class="material-icons btnSortIcon arrow_upward" aria-hidden="true"></span>
|
||||
</button>
|
||||
<button is="paper-icon-button-light" class="btnSort hide listIconButton-autohide" title="${Sort}">
|
||||
<span class="material-icons sort" aria-hidden="true"></span>
|
||||
</button>
|
||||
<button is="emby-button" class="btnFilter button-flat listTextButton-autohide">
|
||||
<span>${Filter}</span>
|
||||
</button>
|
||||
<button is="paper-icon-button-light" class="btnFilter listIconButton-autohide" data-ripple="false" style="overflow:visible;" title="${Filter}">
|
||||
<span class="material-icons filter_list" aria-hidden="true"></span>
|
||||
</button>
|
||||
<button is="emby-button" class="btnViewSettings button-flat listTextButton-autohide" title="${ButtonMore}">
|
||||
<span class="material-icons more_vert" aria-hidden="true"></span>
|
||||
</button>
|
||||
<button is="paper-icon-button-light" class="btnViewSettings listIconButton-autohide" title="${ButtonMore}">
|
||||
<span class="material-icons more_vert" aria-hidden="true"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div is="emby-itemscontainer" class="vertical-wrap itemsContainer centered">
|
||||
</div>
|
||||
<div class="flex align-items-center justify-content-center flex-wrap-wrap padded-top padded-left padded-right padded-bottom focuscontainer-x">
|
||||
<div class="paging"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue