mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
resolve audio channel playback
This commit is contained in:
parent
4b35880f60
commit
37e35b51d2
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@
|
||||||
var hasBackdrop = false;
|
var hasBackdrop = false;
|
||||||
|
|
||||||
// For these types, make the backdrop a little smaller so that the items are more quickly accessible
|
// For these types, make the backdrop a little smaller so that the items are more quickly accessible
|
||||||
if (item.Type == 'MusicArtist' || item.Type == "MusicAlbum" || item.Type == "Playlist" || item.Type == "BoxSet" || item.Type == "Audio" || !layoutManager.mobile) {
|
if (item.Type == 'MusicArtist' || item.Type == "MusicAlbum" || item.Type == "Playlist" || item.Type == "BoxSet" || item.MediaType == "Audio" || !layoutManager.mobile) {
|
||||||
$('#itemBackdrop', page).addClass('noBackdrop').css('background-image', 'none');
|
$('#itemBackdrop', page).addClass('noBackdrop').css('background-image', 'none');
|
||||||
require(['backdrop'], function (backdrop) {
|
require(['backdrop'], function (backdrop) {
|
||||||
backdrop.setBackdrops([item]);
|
backdrop.setBackdrops([item]);
|
||||||
|
@ -293,7 +293,7 @@
|
||||||
|
|
||||||
function setPeopleHeader(page, item) {
|
function setPeopleHeader(page, item) {
|
||||||
|
|
||||||
if (item.Type == "Audio" || item.Type == "MusicAlbum" || item.MediaType == "Book" || item.MediaType == "Photo") {
|
if (item.MediaType == "Audio" || item.Type == "MusicAlbum" || item.MediaType == "Book" || item.MediaType == "Photo") {
|
||||||
$('#peopleHeader', page).html(Globalize.translate('HeaderPeople'));
|
$('#peopleHeader', page).html(Globalize.translate('HeaderPeople'));
|
||||||
} else {
|
} else {
|
||||||
$('#peopleHeader', page).html(Globalize.translate('HeaderCastAndCrew'));
|
$('#peopleHeader', page).html(Globalize.translate('HeaderCastAndCrew'));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue