kaltura-client 3.1.6 → 3.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README +0 -1
  3. data/agpl.txt +67 -80
  4. data/kaltura.yml +5 -5
  5. data/lib/kaltura_client.rb +451 -84
  6. data/lib/kaltura_client_base.rb +1 -1
  7. data/lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb +1 -1
  8. data/lib/kaltura_plugins/kaltura_admin_console_client_plugin.rb +356 -0
  9. data/lib/kaltura_plugins/kaltura_annotation_client_plugin.rb +1 -1
  10. data/lib/kaltura_plugins/kaltura_attachment_client_plugin.rb +1 -1
  11. data/lib/kaltura_plugins/kaltura_bulk_upload_client_plugin.rb +1 -1
  12. data/lib/kaltura_plugins/kaltura_bulk_upload_csv_client_plugin.rb +1 -1
  13. data/lib/kaltura_plugins/kaltura_bulk_upload_filter_client_plugin.rb +1 -1
  14. data/lib/kaltura_plugins/kaltura_bulk_upload_xml_client_plugin.rb +1 -1
  15. data/lib/kaltura_plugins/kaltura_caption_client_plugin.rb +1 -1
  16. data/lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb +1 -1
  17. data/lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb +1 -1
  18. data/lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb +1 -26
  19. data/lib/kaltura_plugins/kaltura_cue_point_client_plugin.rb +3 -7
  20. data/lib/kaltura_plugins/kaltura_document_client_plugin.rb +1 -1
  21. data/lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb +1 -2
  22. data/lib/kaltura_plugins/kaltura_drop_folder_xml_bulk_upload_client_plugin.rb +1 -1
  23. data/lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb +1 -1
  24. data/lib/kaltura_plugins/kaltura_event_cue_point_client_plugin.rb +1 -1
  25. data/lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb +3 -1
  26. data/lib/kaltura_plugins/kaltura_external_media_client_plugin.rb +1 -1
  27. data/lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb +1 -1
  28. data/lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb +1 -1
  29. data/lib/kaltura_plugins/kaltura_kaltura_internal_tools_client_plugin.rb +108 -0
  30. data/lib/kaltura_plugins/kaltura_kontiki_client_plugin.rb +1 -1
  31. data/lib/kaltura_plugins/kaltura_like_client_plugin.rb +1 -1
  32. data/lib/kaltura_plugins/kaltura_metadata_client_plugin.rb +1 -2
  33. data/lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb +14 -1
  34. data/lib/kaltura_plugins/kaltura_scheduled_task_content_distribution_client_plugin.rb +42 -0
  35. data/lib/kaltura_plugins/kaltura_scheduled_task_event_notification_client_plugin.rb +1 -1
  36. data/lib/kaltura_plugins/kaltura_scheduled_task_metadata_client_plugin.rb +1 -1
  37. data/lib/kaltura_plugins/kaltura_short_link_client_plugin.rb +1 -1
  38. data/lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb +575 -0
  39. data/lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb +1 -1
  40. data/lib/kaltura_plugins/kaltura_var_console_client_plugin.rb +1 -1
  41. data/lib/kaltura_plugins/kaltura_velocix_client_plugin.rb +1 -1
  42. data/lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb +1 -4
  43. metadata +6 -2
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -142,32 +142,7 @@ module Kaltura
142
142
  end
143
143
 
144
144
  class KalturaDistributionProviderType
145
- ATT_UVERSE = "attUverseDistribution.ATT_UVERSE"
146
- AVN = "avnDistribution.AVN"
147
- COMCAST_MRSS = "comcastMrssDistribution.COMCAST_MRSS"
148
- CROSS_KALTURA = "crossKalturaDistribution.CROSS_KALTURA"
149
- DAILYMOTION = "dailymotionDistribution.DAILYMOTION"
150
- DOUBLECLICK = "doubleClickDistribution.DOUBLECLICK"
151
- FREEWHEEL = "freewheelDistribution.FREEWHEEL"
152
- FREEWHEEL_GENERIC = "freewheelGenericDistribution.FREEWHEEL_GENERIC"
153
- FTP = "ftpDistribution.FTP"
154
- FTP_SCHEDULED = "ftpDistribution.FTP_SCHEDULED"
155
- HULU = "huluDistribution.HULU"
156
145
  IDETIC = "ideticDistribution.IDETIC"
157
- METRO_PCS = "metroPcsDistribution.METRO_PCS"
158
- MSN = "msnDistribution.MSN"
159
- NDN = "ndnDistribution.NDN"
160
- PODCAST = "podcastDistribution.PODCAST"
161
- QUICKPLAY = "quickPlayDistribution.QUICKPLAY"
162
- SYNACOR_HBO = "synacorHboDistribution.SYNACOR_HBO"
163
- TIME_WARNER = "timeWarnerDistribution.TIME_WARNER"
164
- TVCOM = "tvComDistribution.TVCOM"
165
- TVINCI = "tvinciDistribution.TVINCI"
166
- UVERSE_CLICK_TO_ORDER = "uverseClickToOrderDistribution.UVERSE_CLICK_TO_ORDER"
167
- UVERSE = "uverseDistribution.UVERSE"
168
- VERIZON_VCAST = "verizonVcastDistribution.VERIZON_VCAST"
169
- YAHOO = "yahooDistribution.YAHOO"
170
- YOUTUBE = "youTubeDistribution.YOUTUBE"
171
146
  YOUTUBE_API = "youtubeApiDistribution.YOUTUBE_API"
172
147
  GENERIC = "1"
173
148
  SYNDICATION = "2"
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -33,11 +33,7 @@ module Kaltura
33
33
  READY = 1
34
34
  DELETED = 2
35
35
  HANDLED = 3
36
- end
37
-
38
- class KalturaThumbCuePointSubType
39
- SLIDE = 1
40
- CHAPTER = 2
36
+ PENDING = 4
41
37
  end
42
38
 
43
39
  class KalturaCuePointOrderBy
@@ -58,7 +54,6 @@ module Kaltura
58
54
  ANNOTATION = "annotation.Annotation"
59
55
  CODE = "codeCuePoint.Code"
60
56
  EVENT = "eventCuePoint.Event"
61
- THUMB = "thumbCuePoint.Thumb"
62
57
  end
63
58
 
64
59
  class KalturaCuePoint < KalturaObjectBase
@@ -191,6 +186,7 @@ module Kaltura
191
186
  end
192
187
 
193
188
  class KalturaCuePointFilter < KalturaCuePointBaseFilter
189
+ attr_accessor :free_text
194
190
 
195
191
  end
196
192
 
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -135,7 +135,6 @@ module Kaltura
135
135
  end
136
136
 
137
137
  class KalturaDropFolderType
138
- WEBEX = "WebexDropFolder.WEBEX"
139
138
  LOCAL = "1"
140
139
  FTP = "2"
141
140
  SCP = "3"
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -43,6 +43,8 @@ module Kaltura
43
43
  DISTRIBUTION_PROFILE = "contentDistributionEventNotifications.DistributionProfile"
44
44
  ENTRY_DISTRIBUTION = "contentDistributionEventNotifications.EntryDistribution"
45
45
  CUE_POINT = "cuePointEventNotifications.CuePoint"
46
+ DROP_FOLDER = "dropFolderEventNotifications.DropFolder"
47
+ DROP_FOLDER_FILE = "dropFolderEventNotifications.DropFolderFile"
46
48
  METADATA = "metadataEventNotifications.Metadata"
47
49
  ENTRY = "1"
48
50
  CATEGORY = "2"
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -0,0 +1,108 @@
1
+ # ===================================================================================================
2
+ # _ __ _ _
3
+ # | |/ /__ _| | |_ _ _ _ _ __ _
4
+ # | ' </ _` | | _| || | '_/ _` |
5
+ # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
+ #
7
+ # This file is part of the Kaltura Collaborative Media Suite which allows users
8
+ # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
+ # text.
10
+ #
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
+ #
13
+ # This program is free software: you can redistribute it and/or modify
14
+ # it under the terms of the GNU Affero General Public License as
15
+ # published by the Free Software Foundation, either version 3 of the
16
+ # License, or (at your option) any later version.
17
+ #
18
+ # This program is distributed in the hope that it will be useful,
19
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
+ # GNU Affero General Public License for more details.
22
+ #
23
+ # You should have received a copy of the GNU Affero General Public License
24
+ # along with this program. If not, see <http:#www.gnu.org/licenses/>.
25
+ #
26
+ # @ignore
27
+ # ===================================================================================================
28
+ require 'kaltura_client.rb'
29
+
30
+ module Kaltura
31
+
32
+ class KalturaInternalToolsSession < KalturaObjectBase
33
+ attr_accessor :partner_id
34
+ attr_accessor :valid_until
35
+ attr_accessor :partner_pattern
36
+ attr_accessor :type
37
+ attr_accessor :error
38
+ attr_accessor :rand
39
+ attr_accessor :user
40
+ attr_accessor :privileges
41
+
42
+ def partner_id=(val)
43
+ @partner_id = val.to_i
44
+ end
45
+ def valid_until=(val)
46
+ @valid_until = val.to_i
47
+ end
48
+ def type=(val)
49
+ @type = val.to_i
50
+ end
51
+ def rand=(val)
52
+ @rand = val.to_i
53
+ end
54
+ end
55
+
56
+
57
+ # Internal Tools Service
58
+ #
59
+ class KalturaKalturaInternalToolsSystemHelperService < KalturaServiceBase
60
+ def initialize(client)
61
+ super(client)
62
+ end
63
+
64
+ # KS from Secure String
65
+ #
66
+ def from_secure_string(str)
67
+ kparams = {}
68
+ client.add_param(kparams, 'str', str);
69
+ client.queue_service_action_call('kalturainternaltools_kalturainternaltoolssystemhelper', 'fromSecureString', kparams);
70
+ if (client.is_multirequest)
71
+ return nil;
72
+ end
73
+ return client.do_queue();
74
+ end
75
+
76
+ # from ip to country
77
+ #
78
+ def iptocountry(remote_addr)
79
+ kparams = {}
80
+ client.add_param(kparams, 'remote_addr', remote_addr);
81
+ client.queue_service_action_call('kalturainternaltools_kalturainternaltoolssystemhelper', 'iptocountry', kparams);
82
+ if (client.is_multirequest)
83
+ return nil;
84
+ end
85
+ return client.do_queue();
86
+ end
87
+
88
+ def get_remote_address()
89
+ kparams = {}
90
+ client.queue_service_action_call('kalturainternaltools_kalturainternaltoolssystemhelper', 'getRemoteAddress', kparams);
91
+ if (client.is_multirequest)
92
+ return nil;
93
+ end
94
+ return client.do_queue();
95
+ end
96
+ end
97
+
98
+ class KalturaClient < KalturaClientBase
99
+ attr_reader :kaltura_internal_tools_system_helper_service
100
+ def kaltura_internal_tools_system_helper_service
101
+ if (@kaltura_internal_tools_system_helper_service == nil)
102
+ @kaltura_internal_tools_system_helper_service = KalturaKalturaInternalToolsSystemHelperService.new(self)
103
+ end
104
+ return @kaltura_internal_tools_system_helper_service
105
+ end
106
+ end
107
+
108
+ end
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -51,7 +51,6 @@ module Kaltura
51
51
  AD_CUE_POINT = "adCuePointMetadata.AdCuePoint"
52
52
  ANNOTATION = "annotationMetadata.Annotation"
53
53
  CODE_CUE_POINT = "codeCuePointMetadata.CodeCuePoint"
54
- THUMB_CUE_POINT = "thumbCuePointMetadata.thumbCuePoint"
55
54
  ENTRY = "1"
56
55
  CATEGORY = "2"
57
56
  USER = "3"
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -53,6 +53,7 @@ module Kaltura
53
53
  end
54
54
 
55
55
  class KalturaObjectTaskType
56
+ DISTRIBUTE = "scheduledTaskContentDistribution.Distribute"
56
57
  DISPATCH_EVENT_NOTIFICATION = "scheduledTaskEventNotification.DispatchEventNotification"
57
58
  EXECUTE_METADATA_XSLT = "scheduledTaskMetadata.ExecuteMetadataXslt"
58
59
  DELETE_ENTRY = "1"
@@ -60,6 +61,7 @@ module Kaltura
60
61
  DELETE_ENTRY_FLAVORS = "3"
61
62
  CONVERT_ENTRY_FLAVORS = "4"
62
63
  DELETE_LOCAL_CONTENT = "5"
64
+ STORAGE_EXPORT = "6"
63
65
  end
64
66
 
65
67
  class KalturaScheduledTaskProfileOrderBy
@@ -75,7 +77,11 @@ module Kaltura
75
77
 
76
78
  class KalturaObjectTask < KalturaObjectBase
77
79
  attr_accessor :type
80
+ attr_accessor :stop_processing_on_error
78
81
 
82
+ def stop_processing_on_error=(val)
83
+ @stop_processing_on_error = to_b(val)
84
+ end
79
85
  end
80
86
 
81
87
  class KalturaScheduledTaskProfile < KalturaObjectBase
@@ -238,6 +244,13 @@ module Kaltura
238
244
  end
239
245
  end
240
246
 
247
+ class KalturaStorageExportObjectTask < KalturaObjectTask
248
+ # Storage profile id
249
+ #
250
+ attr_accessor :storage_id
251
+
252
+ end
253
+
241
254
  class KalturaScheduledTaskProfileFilter < KalturaScheduledTaskProfileBaseFilter
242
255
 
243
256
  end
@@ -0,0 +1,42 @@
1
+ # ===================================================================================================
2
+ # _ __ _ _
3
+ # | |/ /__ _| | |_ _ _ _ _ __ _
4
+ # | ' </ _` | | _| || | '_/ _` |
5
+ # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
+ #
7
+ # This file is part of the Kaltura Collaborative Media Suite which allows users
8
+ # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
+ # text.
10
+ #
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
+ #
13
+ # This program is free software: you can redistribute it and/or modify
14
+ # it under the terms of the GNU Affero General Public License as
15
+ # published by the Free Software Foundation, either version 3 of the
16
+ # License, or (at your option) any later version.
17
+ #
18
+ # This program is distributed in the hope that it will be useful,
19
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
+ # GNU Affero General Public License for more details.
22
+ #
23
+ # You should have received a copy of the GNU Affero General Public License
24
+ # along with this program. If not, see <http:#www.gnu.org/licenses/>.
25
+ #
26
+ # @ignore
27
+ # ===================================================================================================
28
+ require 'kaltura_client.rb'
29
+ require File.dirname(__FILE__) + '/kaltura_scheduled_task_client_plugin.rb'
30
+ require File.dirname(__FILE__) + '/kaltura_content_distribution_client_plugin.rb'
31
+
32
+ module Kaltura
33
+
34
+ class KalturaDistributeObjectTask < KalturaObjectTask
35
+ # Distribution profile id
36
+ #
37
+ attr_accessor :distribution_profile_id
38
+
39
+ end
40
+
41
+
42
+ end
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as
@@ -8,7 +8,7 @@
8
8
  # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
9
  # text.
10
10
  #
11
- # Copyright (C) 2006-2011 Kaltura Inc.
11
+ # Copyright (C) 2006-2015 Kaltura Inc.
12
12
  #
13
13
  # This program is free software: you can redistribute it and/or modify
14
14
  # it under the terms of the GNU Affero General Public License as