Skip to content

Commit 36d0635

Browse files
committed
Add support for download all for collections
1 parent 0987e41 commit 36d0635

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/itemContextMenu.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { AppFeature } from 'constants/appFeature';
1616

1717
/** Item types that support downloading all children. */
1818
const DOWNLOAD_ALL_TYPES = [
19+
BaseItemKind.BoxSet,
1920
BaseItemKind.MusicAlbum,
2021
BaseItemKind.Season,
2122
BaseItemKind.Series
@@ -454,6 +455,7 @@ function executeCommand(item, id, options) {
454455
};
455456

456457
switch (item.Type) {
458+
case BaseItemKind.BoxSet:
457459
case BaseItemKind.MusicAlbum:
458460
apiClient.getItems(options.user.Id, {
459461
ParentId: item.Id,

0 commit comments

Comments
 (0)