mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update sync scripts
This commit is contained in:
parent
ec06f3cc61
commit
fc210d8ad2
18 changed files with 1394 additions and 564 deletions
42
dashboard-ui/bower_components/emby-apiclient/sync/filerepository.js
vendored
Normal file
42
dashboard-ui/bower_components/emby-apiclient/sync/filerepository.js
vendored
Normal file
|
@ -0,0 +1,42 @@
|
|||
define([], function () {
|
||||
'use strict';
|
||||
|
||||
function getValidFileName(path) {
|
||||
|
||||
// TODO
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
function getFullLocalPath(pathArray) {
|
||||
|
||||
// TODO
|
||||
return pathArray.join('/');
|
||||
|
||||
}
|
||||
|
||||
function deleteFile(path) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
function deleteDirectory(path) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
function fileExists(path) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
function getItemFileSize(path) {
|
||||
return Promise.resolve(0);
|
||||
}
|
||||
|
||||
return {
|
||||
getValidFileName: getValidFileName,
|
||||
getFullLocalPath: getFullLocalPath,
|
||||
deleteFile: deleteFile,
|
||||
deleteDirectory: deleteDirectory,
|
||||
fileExists: fileExists,
|
||||
getItemFileSize: getItemFileSize
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue