Class: Kaltura::KalturaXInternalService

Inherits:
KalturaServiceBase show all
Defined in:
lib/kaltura_client.rb

Overview

Internal Service is used for actions that are used internally in Kaltura applications and might be changed in the future without any notice.

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaXInternalService

Returns a new instance of KalturaXInternalService.



5514
5515
5516
# File 'lib/kaltura_client.rb', line 5514

def initialize(client)
	super(client)
end

Instance Method Details

#x_add_bulk_download(entry_ids, flavor_params_id = '') ⇒ Object

Creates new download job for multiple entry ids (comma separated), an email will be sent when the job is done This sevice support the following entries: - MediaEntry - Video will be converted using the flavor params id - Audio will be downloaded as MP3 - Image will be downloaded as Jpeg - MixEntry will be flattened using the flavor params id - Other entry types are not supported Returns the admin email that the email message will be sent to



5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
# File 'lib/kaltura_client.rb', line 5528

def x_add_bulk_download(entry_ids, flavor_params_id='')
	kparams = {}
	client.add_param(kparams, 'entryIds', entry_ids)
	client.add_param(kparams, 'flavorParamsId', flavor_params_id)
	client.queue_service_action_call('xinternal', 'xAddBulkDownload', 'string', kparams)
	if (client.is_multirequest)
		return nil
	end
	return client.do_queue()
end