mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add more sync indicators
This commit is contained in:
parent
6e6bf85030
commit
755f6fc79c
8 changed files with 42 additions and 33 deletions
|
@ -3,12 +3,11 @@
|
|||
window.FileSystem = {
|
||||
|
||||
fileExists: function (path) {
|
||||
return false;
|
||||
return NativeFileSystem.fileExists(path);
|
||||
},
|
||||
|
||||
translateFilePath: function (path) {
|
||||
return NativeFileSystem.translateFilePath(path);
|
||||
return 'file://' + NativeFileSystem.translateFilePath(path);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
(function () {
|
||||
|
||||
function getLocalMediaSource(serverId, itemId) {
|
||||
var json = ApiClientBridge.getLocalMediaSource(serverId, itemId);
|
||||
|
||||
if (json) {
|
||||
return JSON.parse(json);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue