[media.ccc.de] Recent kiosk: Add comment clarifying "length" and "duration" fields have the same value
This commit is contained in:
parent
da968cf9c5
commit
0c4836c800
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue