Quantcast
Channel: Kaltura - Latest topics
Viewing all articles
Browse latest Browse all 2994

Sorting videos by metadata

$
0
0

@german_bertolini wrote:

Hi to Everybody,

I'm needing to filter and order my video entries by metadata. By the moment I can filter my video entries, but I can't order (sort) these. I have created a new date field into the metadata, and I want order my video entries by this.

I was trying do it from Kaltura Test Console. The steps I followed are:
1) Login to get Kaltura Session.
2) Select service "media" and then action "list"
3) Select "KalturaMediaEntryFilder" into Filter field.
4) From KalturaMediaEntryFilter tab:
---1) Select "KalturaMetadataSearchItem" into AdvanceSearch field.
---2) From KalturaMetadataSearchItem tab:
------1) Set Metadata Profile Id.
------2) Put +/*[local-name()='metadata']/*[local-name()='Test'] into orderBy field. Test is the field witch I want order the video entries.
------3) Add a new item and then select "KalturaSearchCondition" into the new field.
------4) From new KalturaSearchCondition tab:
------------1) Put /*[local-name()='metadata']/*[local-name()='Test'] into Field field for filter these entries that have the Test field on his metadata.

So, when I click the "Send" button it returns me all video entries that have the "Test" metadata field, but these aren't sorted.

Can anyone help me?
Thanks in advance!!!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 2994

Trending Articles