1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/cordova/android/localassetmanager.js

17 lines
338 B
JavaScript
Raw Normal View History

2015-06-03 01:30:14 -04:00
(function () {
function getLocalMediaSource(serverId, itemId) {
2015-06-03 11:26:39 -04:00
var json = ApiClientBridge.getLocalMediaSource(serverId, itemId);
if (json) {
return JSON.parse(json);
}
2015-06-03 01:30:14 -04:00
return null;
}
window.LocalAssetManager = {
getLocalMediaSource: getLocalMediaSource
};
})();