mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
#680 - Support new episode file sorting
This commit is contained in:
parent
7eac5f192e
commit
ccf1871c08
15 changed files with 345 additions and 36 deletions
|
@ -172,12 +172,20 @@
|
|||
|
||||
html += '<h3>';
|
||||
html += program.EpisodeTitle || timer.Name;
|
||||
if (program.IsRepeat) {
|
||||
html += ' (R)';
|
||||
}
|
||||
html += '</h3>';
|
||||
|
||||
html += '<p>';
|
||||
|
||||
if (program.IsLive) {
|
||||
html += '<span class="liveTvProgram">LIVE </span>';
|
||||
}
|
||||
else if (program.IsPremiere) {
|
||||
html += '<span class="premiereTvProgram">PREMIERE </span>';
|
||||
}
|
||||
else if (program.IsSeries && !program.IsRepeat) {
|
||||
html += '<span class="newTvProgram">NEW </span>';
|
||||
}
|
||||
|
||||
html += LiveTvHelpers.getDisplayTime(timer.StartDate);
|
||||
html += ' - ' + LiveTvHelpers.getDisplayTime(timer.EndDate);
|
||||
html += '</p>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue