Remove unused AudioPodcast item type
This commit is contained in:
@@ -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
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user