@if (runtime.supportsSourceHealth) {
}
@switch (sourceIconKey) {
@case ('stalker') {
{{ sourceIcons.stalker }}
}
@case ('xtream') {
{{ sourceIcons.xtream }}
}
@case ('m3u-url') {
{{ sourceIcons['m3u-url'] }}
}
@default {
{{ sourceIcons['m3u-local'] }}
}
}
@if (showsPortalStatusDot) {
} @else if (showsAutoRefresh) {
autorenew
}
{{ item.title || item.filename }}
@if (!item.serverUrl && !item.portalUrl) {
{{ 'HOME.PLAYLISTS.CHANNELS' | translate }}: {{ item.count }}
@if (item.importDate.length > 3) {
| {{ 'HOME.PLAYLISTS.ADDED' | translate }}:
{{
item.importDate
| date: undefined : undefined : currentLocale()
}}
}
@if (item.updateDate) {
| {{ 'HOME.PLAYLISTS.UPDATED' | translate }}:
{{
item.updateDate
| date
: 'MMMM d, yyyy, HH:mm'
: undefined
: currentLocale()
}}
}
@if (item.updateState === 2) {
warning
}
} @else {
@if (item.macAddress) {
Stalker
} @else {
Xtream
}
@if (item.importDate.length > 3) {
| {{ 'HOME.PLAYLISTS.ADDED' | translate }}:
{{
item.importDate
| date: undefined : undefined : currentLocale()
}}
}
@if (item.updateDate) {
| {{ 'HOME.PLAYLISTS.UPDATED' | translate }}:
{{
item.updateDate
| date
: 'MMMM d, yyyy, HH:mm'
: undefined
: currentLocale()
}}
}
}
@if (isBusy() && busyMessage()) {
{{ busyMessage() }}
@if (busyProgress() !== null) {
{{ busyProgress() }}%
}
}
@if (isBusy() && busyMessage() && busyProgress() !== null) {
}
@if (isBusy() && busyMessage() && busyProgress() === null) {
}
@if (showActions()) {
@if (runtime.supportsSourceHealth && sourceHealthType(item)) {
}
@if (canCancelBusyAction()) {
}
@if (item.url || (item.filePath && supportsPlaylistRefresh)) {
}
@if (item.serverUrl && supportsXtreamSqliteDataSource) {
}
}