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