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

23 lines
523 B
JavaScript
Raw Normal View History

2016-12-10 00:16:15 -07:00
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
};
});