Remove unused AudioPodcast item type

This commit is contained in:
David Federman
2026-01-26 14:25:13 -08:00
parent 185519a4c3
commit d660a45e02
5 changed files with 3 additions and 9 deletions
+1 -2
View File
@@ -6,8 +6,7 @@ import 'material-design-icons-iconfont';
export function enableProgressIndicator(item) {
return (item.MediaType === 'Video' && item.Type !== 'TvChannel')
|| item.Type === 'AudioBook'
|| item.Type === 'AudioPodcast';
|| item.Type === 'AudioBook';
}
export function getProgressHtml(pct, options) {
@@ -43,7 +43,6 @@ const enableProgressIndicator = (
return (
(itemMediaType === ItemMediaKind.Video && itemType !== ItemKind.TvChannel)
|| itemType === ItemKind.AudioBook
|| itemType === ItemKind.AudioPodcast
);
};
-3
View File
@@ -256,9 +256,6 @@ export function canMarkPlayed (item) {
return true;
}
} else if (item.MediaType === 'Audio') {
if (item.Type === 'AudioPodcast') {
return true;
}
if (item.Type === 'AudioBook') {
return true;
}