mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
17 lines
No EOL
338 B
JavaScript
17 lines
No EOL
338 B
JavaScript
(function () {
|
|
|
|
function getLocalMediaSource(serverId, itemId) {
|
|
var json = ApiClientBridge.getLocalMediaSource(serverId, itemId);
|
|
|
|
if (json) {
|
|
return JSON.parse(json);
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
window.LocalAssetManager = {
|
|
getLocalMediaSource: getLocalMediaSource
|
|
};
|
|
|
|
})(); |