mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add series timer workaround
This commit is contained in:
parent
5514d55822
commit
81a9a2a758
1 changed files with 6 additions and 1 deletions
|
@ -19,10 +19,15 @@
|
||||||
EnableTotalRecordCount: false,
|
EnableTotalRecordCount: false,
|
||||||
EnableUserData: false,
|
EnableUserData: false,
|
||||||
SeriesTimerId: params.id,
|
SeriesTimerId: params.id,
|
||||||
Fields: "ChannelInfo"
|
Fields: "ChannelInfo",
|
||||||
|
limit: 100
|
||||||
|
|
||||||
}).then(function (result) {
|
}).then(function (result) {
|
||||||
|
|
||||||
|
if (result.Items.length && result.Items[0].SeriesTimerId != params.id) {
|
||||||
|
result.Items = [];
|
||||||
|
}
|
||||||
|
|
||||||
LiveTvHelpers.getProgramScheduleHtml(result.Items).then(function (html) {
|
LiveTvHelpers.getProgramScheduleHtml(result.Items).then(function (html) {
|
||||||
|
|
||||||
var scheduleTab = page.querySelector('.scheduleTab');
|
var scheduleTab = page.querySelector('.scheduleTab');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue