[media.ccc.de] Recent kiosk: Add comment clarifying "length" and "duration" fields have the same value

This commit is contained in:
TobiGr 2021-01-12 18:48:21 +01:00
parent da968cf9c5
commit 0c4836c800
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ public class MediaCCCRecentKioskExtractor implements StreamInfoItemExtractor {
@Override
public long getDuration() throws ParsingException {
// duration and length have the same value
// see https://github.com/voc/voctoweb/blob/master/app/views/public/shared/_event.json.jbuilder
return event.getInt("duration");
}