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

removed dead code

This commit is contained in:
Luke Pulverenti 2016-09-12 17:24:05 -04:00
parent 114a010bd4
commit 2a7324e3d7
2 changed files with 19 additions and 67 deletions

View file

@ -818,6 +818,16 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
lines.push(item.ProductionYear || '');
}
if (options.showRuntime) {
if (item.RunTimeTicks) {
lines.push(datetime.getDisplayRunningTime(item.RunTimeTicks));
} else {
lines.push('');
}
}
if (options.showChannelName) {
lines.push(item.ChannelName || '');