1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

display programs on channel page

This commit is contained in:
Luke Pulverenti 2013-11-25 15:39:23 -05:00
parent a94cd703d0
commit 599320043f
6 changed files with 106 additions and 5 deletions

View file

@ -415,6 +415,17 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
});
};
self.getLiveTvPrograms = function (options) {
var url = self.getUrl("/LiveTv/Programs", options || {});
return self.ajax({
type: "GET",
url: url,
dataType: "json"
});
};
self.getLiveTvRecordings = function (options) {
var url = self.getUrl("/LiveTv/Recordings", options || {});