mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 20:08:20 -07:00
23 lines
523 B
JavaScript
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
|
|
};
|
|
}); |