Last active
April 4, 2017 02:27
-
-
Save ntd251/aa0c86e72c517f4f96502ef7ea3f723b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MOVIE_TYPE = 493 | |
EPISODE_TYPE = 494 | |
SERIES_TYPE = 496 | |
# Suits series id | |
channel_id = '310401' | |
filter = Kaltura::KalturaSearchAssetFilter.new | |
# Comma separated list of EPG channel ids to search within. | |
filter.id_in = channel_id | |
# Comma separated list of asset types to search within. | |
# Possible values: 0 – EPG linear programs entries; 1 - Recordings; Any media type ID (according to media type IDs defined dynamically in the system). | |
# If omitted – all types should be included. | |
filter.type_in = EPISODE_TYPE.to_s | |
# KalturaClient definition: https://gist.github.com/ntd251/49d3bce363906aeac343261da54b5e16 | |
KalturaClient.asset_service.list filter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment