mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 11:58:20 -07:00
23 lines
542 B
JavaScript
23 lines
542 B
JavaScript
define(['filerepository'], function (filerepository) {
|
|
'use strict';
|
|
|
|
function downloadFile(url, folderName, localPath) {
|
|
|
|
return Promise.resolve();
|
|
}
|
|
|
|
function downloadSubtitles(url, folderName, localItem) {
|
|
|
|
return Promise.resolve('');
|
|
}
|
|
|
|
function downloadImage(url, folderName, serverId, itemId, imageTag) {
|
|
return Promise.resolve(false);
|
|
}
|
|
|
|
return {
|
|
downloadFile: downloadFile,
|
|
downloadSubtitles: downloadSubtitles,
|
|
downloadImage: downloadImage
|
|
};
|
|
}); |