@if (data.playlistsLoaded() && !hasPlaylists()) { } @else { @if (dashboardRails().hero) { @if (hero(); as item) { @if (item.backdropUrl; as backdropUrl) { } @if (item.posterUrl; as posterUrl) { } @else { {{ item.icon }} }

{{ item.title }}

{{ item.subtitle }}

@if ( item.episodeBadge || item.rating || (item.genres && item.genres.length > 0) ) { @if (item.episodeBadge) { {{ item.episodeBadge }} } @if (item.rating) { โ˜… {{ item.rating }} } @for (genre of item.genres; track genre) { {{ genre }} } } @if ( item.contentType === 'live' && (item.nowPlayingTitle || item.nowPlayingTimeRange || (item.nowPlayingProgress !== null && item.nowPlayingProgress !== undefined)) ) { LIVE @if (item.nowPlayingTimeRange) { {{ item.nowPlayingTimeRange }} } @if (item.nowPlayingTitle) { {{ item.nowPlayingTitle }} } } @if (item.watchProgress !== null && item.watchProgress !== undefined) { @if (item.remainingLabel) { {{ item.remainingLabel.key | translate : item.remainingLabel.params }} ยท } {{ 'WORKSPACE.DASHBOARD.PERCENT_WATCHED' | translate : { value: item.watchProgress } }} } play_arrow {{ 'WORKSPACE.DASHBOARD.CONTINUE_WATCHING' | translate }}
} @else if (data.globalRecentLoading()) { } } @if ( dashboardRails().continueWatching && continueWatchingCards().length > 0 ) { } @if ( dashboardRails().liveFavorites && !showLiveFavoritesSkeleton() && liveFavoriteCardsEnriched().length > 0 ) { } @else if (showLiveFavoritesSkeleton()) { } @if ( dashboardRails().recentlyWatchedLive && recentLiveCardsEnriched().length > 0 ) { } @if ( dashboardRails().favoriteMoviesAndSeries && favoriteMoviesAndSeriesCards().length > 0 ) { } @if (showRecentContentSkeleton()) { } @if (dashboardRails().recentSources && sourceCards().length > 0) { } @else if (dashboardRails().recentSources && !data.playlistsLoaded()) { } @if ( dashboardRails().xtreamRecentlyAdded && xtreamRecentlyAddedCards().length > 0 ) { } @else if ( dashboardRails().xtreamRecentlyAdded && xtreamPlaylistCount() > 0 && data.xtreamRecentlyAddedLoading() ) { } @if (dashboardRails().tmdbTrending && trendingCards().length > 0) { } @else if ( dashboardRails().tmdbTrending && trendingService.loading() ) { } }