mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
stub out client media sync
This commit is contained in:
parent
3c190041f2
commit
0ce175c86d
6 changed files with 285 additions and 10 deletions
|
@ -3499,6 +3499,20 @@
|
|||
});
|
||||
};
|
||||
|
||||
self.reportSyncJobItemTransferred = function (syncJobItemId) {
|
||||
|
||||
if (!syncJobItemId) {
|
||||
throw new Error("null syncJobItemId");
|
||||
}
|
||||
|
||||
var url = self.getUrl("Sync/JobItems/" + syncJobItemId + "/Transferred");
|
||||
|
||||
return self.ajax({
|
||||
type: "POST",
|
||||
url: url
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Reports a user has stopped playing an item
|
||||
* @param {String} userId
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue