mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added new cabac value
This commit is contained in:
parent
ab4fd843d3
commit
f2358f0a65
15 changed files with 310 additions and 279 deletions
|
@ -151,11 +151,7 @@
|
|||
var localTime = program.StartDateLocal.getTime();
|
||||
if ((localTime >= cellStart || cellIndex == 0) && localTime < cellEnd && program.EndDateLocal > cellStart) {
|
||||
|
||||
return {
|
||||
|
||||
index: i,
|
||||
program: program
|
||||
};
|
||||
return program;
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -198,7 +194,6 @@
|
|||
|
||||
html += '<div class="channelPrograms">';
|
||||
|
||||
var programIndex = 0;
|
||||
var cellIndex = 0;
|
||||
|
||||
while (date.getDate() == dateNumber) {
|
||||
|
@ -206,12 +201,7 @@
|
|||
// Add 30 mins
|
||||
var cellEndDate = new Date(date.getTime() + cellDurationMs);
|
||||
|
||||
var program = findProgramStartingInCell(programs, programIndex, date, cellEndDate, cellIndex);
|
||||
|
||||
if (program) {
|
||||
programIndex = program.index + 1;
|
||||
program = program.program;
|
||||
}
|
||||
var program = findProgramStartingInCell(programs, 0, date, cellEndDate, cellIndex);
|
||||
|
||||
html += '<div class="timeslotCell">';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue