Backport pull request #7345 from jellyfin-web/release-10.11.z

fix book playback in continue reading home section

Original-merge: 1686788be5

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
dkanada
2025-11-25 11:00:07 -05:00
committed by thornbill
parent a9ea556b15
commit 41bde8ecd8

View File

@@ -1024,7 +1024,7 @@ export class PlaybackManager {
self.canPlay = function (item) {
const itemType = item.Type;
if (itemType === 'PhotoAlbum' || itemType === 'MusicGenre' || itemType === 'Season' || itemType === 'Series' || itemType === 'BoxSet' || itemType === 'MusicAlbum' || itemType === 'MusicArtist' || itemType === 'Playlist') {
if (itemType === 'Book' || itemType === 'PhotoAlbum' || itemType === 'MusicGenre' || itemType === 'Season' || itemType === 'Series' || itemType === 'BoxSet' || itemType === 'MusicAlbum' || itemType === 'MusicArtist' || itemType === 'Playlist') {
return true;
}