1
0
Fork 0
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:
Luke Pulverenti 2015-09-14 17:24:54 -04:00
parent 3c190041f2
commit 0ce175c86d
6 changed files with 285 additions and 10 deletions

View file

@ -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