jellyfin-web/dashboard-ui/bower_components/emby-apiclient/sync/transfermanager.js
2016-12-10 02:16:15 -05:00

23 lines
523 B
JavaScript

define(['filerepository'], function (filerepository) {
'use strict';
function downloadFile(url, localPath) {
return Promise.resolve();
}
function downloadSubtitles(url, localItem, subtitleStreamh) {
return Promise.resolve('');
}
function downloadImage(url, serverId, itemId, imageTag) {
return Promise.resolve(false);
}
return {
downloadFile: downloadFile,
downloadSubtitles: downloadSubtitles,
downloadImage: downloadImage
};
});