mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00

- Move NativeShell calls into shell.js where possible to better group them - Add "updateVolumeLevel" API (not used yet)
10 lines
245 B
JavaScript
10 lines
245 B
JavaScript
import multiDownload from 'multi-download';
|
|
import shell from 'shell';
|
|
|
|
export function download(items) {
|
|
if (!shell.downloadFiles(items)) {
|
|
multiDownload(items.map(function (item) {
|
|
return item.url;
|
|
}));
|
|
}
|
|
}
|