jellyfin-web/dashboard-ui/bower_components/emby-apiclient/sync/transfermanager.js
2017-01-11 23:27:01 -05:00

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
};
});