[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
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ public class MediaCCCRecentKioskExtractor implements StreamInfoItemExtractor {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public long getDuration() throws ParsingException {
|
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");
|
return event.getInt("duration");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue