Another problem with the schema

2 replies [Last post]
Joined: 08/21/2009
Points: 23

The schema is returning the duration property of a PlayableEntry as an int when it should actually be a float:

<class name="KalturaPlayableEntry" base="KalturaBaseEntry">
<property name="plays" type="int" readOnly="1" insertOnly="0" description="Number of plays"/>
<property name="views" type="int" readOnly="1" insertOnly="0" description="Number of views"/>
<property name="width" type="int" readOnly="1" insertOnly="0" description="The width in pixels"/>
<property name="height" type="int" readOnly="1" insertOnly="0" description="The height in pixels"/>
<property name="duration" type="int" readOnly="1" insertOnly="0" description="The duration in seconds"/>
</class>

When I do a get against the media service, the duration comes back as:

<duration>6.348</duration>

Jeff

Joined: 04/05/2009
Points: 354

Good spot!

Joined: 08/21/2009
Points: 23

This one has to be fixed in the schema. Until then, I'm using a local copy of the V3 schema to generate the Java client. :(

Jeff