jellyfin-web/dashboard-ui/bower_components/emby-apiclient/sync/transfermanager.js

23 lines
542 B
JavaScript
Raw Normal View History

2016-12-10 00:16:15 -07:00
define(['filerepository'], function (filerepository) {
'use strict';
2017-01-11 21:27:01 -07:00
function downloadFile(url, folderName, localPath) {
2016-12-10 00:16:15 -07:00
return Promise.resolve();
}
2017-01-11 21:27:01 -07:00
function downloadSubtitles(url, folderName, localItem) {
2016-12-10 00:16:15 -07:00
return Promise.resolve('');
}
2017-01-11 21:27:01 -07:00
function downloadImage(url, folderName, serverId, itemId, imageTag) {
2016-12-10 00:16:15 -07:00
return Promise.resolve(false);
}
return {
downloadFile: downloadFile,
downloadSubtitles: downloadSubtitles,
downloadImage: downloadImage
};
});