Quantcast
Channel: Kaltura - Latest posts
Viewing all articles
Browse latest Browse all 7410

How to get all media entries order by lastPlayedAt in PHP

$
0
0

Hi @kenpeter,

I’m not sure I understand the current situation… are you saying that when you make a media->list() [or baseEntry->list() if done via KMC] request without using the KalturaMediaEntryFilter and setting one of the following members/criteria:

categoriesFullNameIn=      
categoriesIdsMatchAnd=     
categoriesIdsNotContains=  
categoriesMatchOr=             
categoriesIdsMatchOr=      
categoriesMatchAnd=        

You get back ~90,000 records and when passing one of the category filters you are getting ~50,000?
If so, that’s certainly possible since entries do not have to be attached to a category in order to be available/playable.

In terms of privileges, passing “disableentitlement” should be enough and this is what KMC does as well.
If you’re interested in how the content entitlement mechanism is implemented, please have a look here:
https://developer.kaltura.com/api-docs/Secure_Control_and_Govern/Content-Entitlements-Privacy-Enforcement.html

Passing disableentitlement in privileges when generating a KS will disable that mechanism entirely, thus returning ALL entries and categories, regardless of their entitlement configuration.


Viewing all articles
Browse latest Browse all 7410

Trending Articles