velir_kaltura-ruby 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/.document +5 -0
  2. data/.gitignore +7 -0
  3. data/LICENSE +661 -0
  4. data/README.rdoc +45 -0
  5. data/Rakefile +60 -0
  6. data/VERSION +1 -0
  7. data/VERSION.yml +5 -0
  8. data/lib/kaltura/constants/access_control_order_by.rb +8 -0
  9. data/lib/kaltura/constants/audio_codec.rb +11 -0
  10. data/lib/kaltura/constants/base.rb +34 -0
  11. data/lib/kaltura/constants/batch_job.rb +62 -0
  12. data/lib/kaltura/constants/bit_rate_mode.rb +8 -0
  13. data/lib/kaltura/constants/category_order_by.rb +12 -0
  14. data/lib/kaltura/constants/commercial_use_type.rb +8 -0
  15. data/lib/kaltura/constants/container_format.rb +15 -0
  16. data/lib/kaltura/constants/control_panel_command.rb +34 -0
  17. data/lib/kaltura/constants/conversion_profile_order_by.rb +8 -0
  18. data/lib/kaltura/constants/country_restriction_type.rb +8 -0
  19. data/lib/kaltura/constants/data_entry_order_by.rb +14 -0
  20. data/lib/kaltura/constants/directory_restriction_type.rb +8 -0
  21. data/lib/kaltura/constants/document.rb +21 -0
  22. data/lib/kaltura/constants/duration_type.rb +10 -0
  23. data/lib/kaltura/constants/editor_type.rb +8 -0
  24. data/lib/kaltura/constants/email_ingestion_profile_status.rb +8 -0
  25. data/lib/kaltura/constants/entry.rb +35 -0
  26. data/lib/kaltura/constants/file_sync.rb +39 -0
  27. data/lib/kaltura/constants/flavor_asset_status.rb +12 -0
  28. data/lib/kaltura/constants/gender.rb +9 -0
  29. data/lib/kaltura/constants/google_syndication_feed.rb +21 -0
  30. data/lib/kaltura/constants/i_tunes_syndication_feed/categories.rb +75 -0
  31. data/lib/kaltura/constants/i_tunes_syndication_feed.rb +24 -0
  32. data/lib/kaltura/constants/license_type.rb +23 -0
  33. data/lib/kaltura/constants/live_stream_admin_entry_order_by.rb +24 -0
  34. data/lib/kaltura/constants/mail_job_order_by.rb +10 -0
  35. data/lib/kaltura/constants/media.rb +36 -0
  36. data/lib/kaltura/constants/mix_entry_order_by.rb +22 -0
  37. data/lib/kaltura/constants/moderation.rb +22 -0
  38. data/lib/kaltura/constants/notification.rb +24 -0
  39. data/lib/kaltura/constants/nullable_boolean.rb +9 -0
  40. data/lib/kaltura/constants/partner.rb +39 -0
  41. data/lib/kaltura/constants/playable_entry_order_by.rb +22 -0
  42. data/lib/kaltura/constants/playlist.rb +22 -0
  43. data/lib/kaltura/constants/report_type.rb +14 -0
  44. data/lib/kaltura/constants/search_provider_type.rb +22 -0
  45. data/lib/kaltura/constants/session_type.rb +8 -0
  46. data/lib/kaltura/constants/site_restriction_type.rb +8 -0
  47. data/lib/kaltura/constants/source_type.rb +11 -0
  48. data/lib/kaltura/constants/stats/kmc_event_type.rb +71 -0
  49. data/lib/kaltura/constants/stats.rb +36 -0
  50. data/lib/kaltura/constants/syndication_feed.rb +17 -0
  51. data/lib/kaltura/constants/system_user.rb +17 -0
  52. data/lib/kaltura/constants/tube_mogul_syndication_feed.rb +34 -0
  53. data/lib/kaltura/constants/ui_conf.rb +26 -0
  54. data/lib/kaltura/constants/upload_error_code.rb +9 -0
  55. data/lib/kaltura/constants/user.rb +16 -0
  56. data/lib/kaltura/constants/video_codec.rb +16 -0
  57. data/lib/kaltura/constants/widget.rb +15 -0
  58. data/lib/kaltura/constants/yahoo_syndication_feed.rb +44 -0
  59. data/lib/kaltura/constants.rb +64 -0
  60. data/lib/kaltura/kaltura_client.rb +4750 -0
  61. data/lib/kaltura/kaltura_client_base.rb +286 -0
  62. data/lib/kaltura.rb +16 -0
  63. data/test/kaltura-ruby_test.rb +7 -0
  64. data/test/test.rb +23 -0
  65. data/test/test_2.rb +26 -0
  66. data/test/test_error.rb +14 -0
  67. data/test/test_helper.rb +10 -0
  68. data/velir_kaltura-ruby.gemspec +123 -0
  69. metadata +196 -0
data/README.rdoc ADDED
@@ -0,0 +1,45 @@
1
+ = kaltura-ruby
2
+
3
+ A gem implementation of Kaltura's Ruby API client
4
+
5
+ http://www.kaltura.org/project/kcl_ruby
6
+
7
+ = Installation
8
+
9
+ $ gem install kaltura-ruby
10
+
11
+ = Usage
12
+
13
+ require 'yaml'
14
+ require 'kaltura-ruby'
15
+
16
+ # These values may be retrieved from your KMC account
17
+ login_email = your_login_email
18
+ login_password = your_login_password
19
+ partner_id = your_partner_id
20
+ subpartner_id = your_subpartner_id
21
+ administrator_secret = your_administrator_secret
22
+ user_secret = your_user_secret
23
+
24
+ config = Kaltura::KalturaConfiguration.new( partner_id )
25
+ client = Kaltura::KalturaClient.new( config )
26
+ session = client.session_service.start( admin_secret, '', KalturaSessionType::ADMIN )
27
+ client.ks = session
28
+
29
+ filter = KalturaFilter.new
30
+ pager = KalturaFilterPager.new
31
+
32
+ media = client.media_service.list(filter, pager)
33
+ puts "\nmedia:"
34
+ puts media.to_yaml
35
+
36
+ #video = File.open("/home/papyromancer/ovb.ogv")
37
+ #client.media_service.upload(video)
38
+
39
+ == Copyright
40
+
41
+ The original Ruby client library for Kaltura may be found at http://www.kaltura.org/project/kcl_ruby . This implementation of the library as a gem attempts to track the Kaltura svn as closely as possible while adding relevant documentation.
42
+
43
+ This library is released in compliance with the GNU Affero General Public License.
44
+
45
+ Copyright (c) 2006-2010 Kaltura Inc. See LICENSE for details.
data/Rakefile ADDED
@@ -0,0 +1,60 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "velir_kaltura-ruby"
8
+ gem.summary = "Ruby gem for accessing the Kaltura API"
9
+ gem.email = "patrick.robertson@velir.com"
10
+ gem.homepage = "http://github.com/Velir/kaltura-ruby"
11
+ gem.authors = ["Patrick Robertson"]
12
+ gem.add_dependency('activesupport')
13
+ gem.add_dependency('activeresource')
14
+ gem.add_dependency('json')
15
+ gem.add_dependency('rest-client', '>= 1.5.1')
16
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
17
+ end
18
+
19
+ rescue LoadError
20
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
21
+ end
22
+
23
+ require 'rake/testtask'
24
+ Rake::TestTask.new(:test) do |test|
25
+ test.libs << 'lib' << 'test'
26
+ test.pattern = 'test/**/*_test.rb'
27
+ test.verbose = true
28
+ end
29
+
30
+ begin
31
+ require 'rcov/rcovtask'
32
+ Rcov::RcovTask.new do |test|
33
+ test.libs << 'test'
34
+ test.pattern = 'test/**/*_test.rb'
35
+ test.verbose = true
36
+ end
37
+ rescue LoadError
38
+ task :rcov do
39
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
40
+ end
41
+ end
42
+
43
+
44
+ task :default => :test
45
+
46
+ require 'rake/rdoctask'
47
+ Rake::RDocTask.new do |rdoc|
48
+ if File.exist?('VERSION.yml')
49
+ config = YAML.load(File.read('VERSION.yml'))
50
+ version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
51
+ else
52
+ version = ""
53
+ end
54
+
55
+ rdoc.rdoc_dir = 'rdoc'
56
+ rdoc.title = "kaltura-ruby #{version}"
57
+ rdoc.rdoc_files.include('README*')
58
+ rdoc.rdoc_files.include('lib/**/*.rb')
59
+ end
60
+
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.0
data/VERSION.yml ADDED
@@ -0,0 +1,5 @@
1
+ ---
2
+ :major: 0
3
+ :minor: 2
4
+ :patch: 2
5
+ :build:
@@ -0,0 +1,8 @@
1
+ module Kaltura
2
+ module Constants
3
+ class AccessControlOrderBy
4
+ CREATED_AT_ASC = "+createdAt"
5
+ CREATED_AT_DESC = "-createdAt"
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,11 @@
1
+ module Kaltura
2
+ module Constants
3
+ class AudioCodec
4
+ NONE = ""
5
+ MP3 = "mp3"
6
+ AAC = "aac"
7
+ VORBIS = "vorbis"
8
+ WMA = "wma"
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,34 @@
1
+ module Kaltura
2
+ module Constants
3
+ module Base
4
+ class SyndicationFeedOrderBy
5
+ PLAYLIST_ID_ASC = "+playlistId"
6
+ PLAYLIST_ID_DESC = "-playlistId"
7
+ NAME_ASC = "+name"
8
+ NAME_DESC = "-name"
9
+ TYPE_ASC = "+type"
10
+ TYPE_DESC = "-type"
11
+ CREATED_AT_ASC = "+createdAt"
12
+ CREATED_AT_DESC = "-createdAt"
13
+ end
14
+
15
+ class JobOrderBy
16
+ CREATED_AT_ASC = "+createdAt"
17
+ CREATED_AT_DESC = "-createdAt"
18
+ EXECUTION_ATTEMPTS_ASC = "+executionAttempts"
19
+ EXECUTION_ATTEMPTS_DESC = "-executionAttempts"
20
+ end
21
+
22
+ class EntryOrderBy
23
+ NAME_ASC = "+name"
24
+ NAME_DESC = "-name"
25
+ MODERATION_COUNT_ASC = "+moderationCount"
26
+ MODERATION_COUNT_DESC = "-moderationCount"
27
+ CREATED_AT_ASC = "+createdAt"
28
+ CREATED_AT_DESC = "-createdAt"
29
+ RANK_ASC = "+rank"
30
+ RANK_DESC = "-rank"
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,62 @@
1
+ module Kaltura
2
+ module Constants
3
+ module BatchJob
4
+ class OrderBy
5
+ STATUS_ASC = "+status"
6
+ STATUS_DESC = "-status"
7
+ QUEUE_TIME_ASC = "+queueTime"
8
+ QUEUE_TIME_DESC = "-queueTime"
9
+ FINISH_TIME_ASC = "+finishTime"
10
+ FINISH_TIME_DESC = "-finishTime"
11
+ CREATED_AT_ASC = "+createdAt"
12
+ CREATED_AT_DESC = "-createdAt"
13
+ EXECUTION_ATTEMPTS_ASC = "+executionAttempts"
14
+ EXECUTION_ATTEMPTS_DESC = "-executionAttempts"
15
+ end
16
+
17
+ class Status
18
+ PENDING = 0
19
+ QUEUED = 1
20
+ PROCESSING = 2
21
+ PROCESSED = 3
22
+ MOVEFILE = 4
23
+ FINISHED = 5
24
+ FAILED = 6
25
+ ABORTED = 7
26
+ ALMOST_DONE = 8
27
+ RETRY = 9
28
+ FATAL = 10
29
+ DONT_PROCESS = 11
30
+ end
31
+
32
+ class Type
33
+ CONVERT = 0
34
+ IMPORT = 1
35
+ DELETE = 2
36
+ FLATTEN = 3
37
+ BULKUPLOAD = 4
38
+ DVDCREATOR = 5
39
+ DOWNLOAD = 6
40
+ OOCONVERT = 7
41
+ CONVERT_PROFILE = 10
42
+ POSTCONVERT = 11
43
+ PULL = 12
44
+ REMOTE_CONVERT = 13
45
+ EXTRACT_MEDIA = 14
46
+ MAIL = 15
47
+ NOTIFICATION = 16
48
+ CLEANUP = 17
49
+ SCHEDULER_HELPER = 18
50
+ BULKDOWNLOAD = 19
51
+ DB_CLEANUP = 20
52
+ PROVISION_PROVIDE = 21
53
+ CONVERT_COLLECTION = 22
54
+ STORAGE_EXPORT = 23
55
+ PROVISION_DELETE = 24
56
+ STORAGE_DELETE = 25
57
+ EMAIL_INGESTION = 26
58
+ PROJECT = 1000
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,8 @@
1
+ module Kaltura
2
+ module Constants
3
+ class BitRateMode
4
+ CBR = 1
5
+ VBR = 2
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,12 @@
1
+ module Kaltura
2
+ module Constants
3
+ class CategoryOrderBy
4
+ DEPTH_ASC = "+depth"
5
+ DEPTH_DESC = "-depth"
6
+ FULL_NAME_ASC = "+fullName"
7
+ FULL_NAME_DESC = "-fullName"
8
+ CREATED_AT_ASC = "+createdAt"
9
+ CREATED_AT_DESC = "-createdAt"
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,8 @@
1
+ module Kaltura
2
+ module Constants
3
+ class CommercialUseType
4
+ COMMERCIAL_USE = "commercial_use"
5
+ NON_COMMERCIAL_USE = "non-commercial_use"
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,15 @@
1
+ module Kaltura
2
+ module Constants
3
+ class ContainerFormat
4
+ FLV = "flv"
5
+ MP4 = "mp4"
6
+ AVI = "avi"
7
+ MOV = "mov"
8
+ MP3 = "mp3"
9
+ _3GP = "3gp"
10
+ OGG = "ogg"
11
+ WMV = "wmv"
12
+ ISMV = "ismv"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,34 @@
1
+ module Kaltura
2
+ module Constants
3
+ module ControlPanelCommand
4
+ class OrderBy
5
+ CREATED_AT_ASC = "+createdAt"
6
+ CREATED_AT_DESC = "-createdAt"
7
+ UPDATED_AT_ASC = "+updatedAt"
8
+ UPDATED_AT_DESC = "-updatedAt"
9
+ end
10
+
11
+ class Status
12
+ PENDING = 1
13
+ HANDLED = 2
14
+ DONE = 3
15
+ FAILED = 4
16
+ end
17
+
18
+ class TargetType
19
+ DATA_CENTER = 1
20
+ SCHEDULER = 2
21
+ JOB_TYPE = 3
22
+ JOB = 4
23
+ BATCH = 5
24
+ end
25
+
26
+ class Type
27
+ STOP = 1
28
+ START = 2
29
+ CONFIG = 3
30
+ KILL = 4
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,8 @@
1
+ module Kaltura
2
+ module Constants
3
+ class ConversionProfileOrderBy
4
+ CREATED_AT_ASC = "+createdAt"
5
+ CREATED_AT_DESC = "-createdAt"
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ module Kaltura
2
+ module Constants
3
+ class CountryRestrictionType
4
+ RESTRICT_COUNTRY_LIST = 0
5
+ ALLOW_COUNTRY_LIST = 1
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,14 @@
1
+ module Kaltura
2
+ module Constants
3
+ class DataEntryOrderBy
4
+ NAME_ASC = "+name"
5
+ NAME_DESC = "-name"
6
+ MODERATION_COUNT_ASC = "+moderationCount"
7
+ MODERATION_COUNT_DESC = "-moderationCount"
8
+ CREATED_AT_ASC = "+createdAt"
9
+ CREATED_AT_DESC = "-createdAt"
10
+ RANK_ASC = "+rank"
11
+ RANK_DESC = "-rank"
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,8 @@
1
+ module Kaltura
2
+ module Constants
3
+ class DirectoryRestrictionType
4
+ DONT_DISPLAY = 0
5
+ DISPLAY_WITH_LINK = 1
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,21 @@
1
+ module Kaltura
2
+ module Constants
3
+ module Document
4
+ class OrderBy
5
+ NAME_ASC = "+name"
6
+ NAME_DESC = "-name"
7
+ MODERATION_COUNT_ASC = "+moderationCount"
8
+ MODERATION_COUNT_DESC = "-moderationCount"
9
+ CREATED_AT_ASC = "+createdAt"
10
+ CREATED_AT_DESC = "-createdAt"
11
+ RANK_ASC = "+rank"
12
+ RANK_DESC = "-rank"
13
+ end
14
+
15
+ class Type
16
+ DOCUMENT = 11
17
+ SWF = 12
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,10 @@
1
+ module Kaltura
2
+ module Constants
3
+ class DurationType
4
+ NOT_AVAILABLE = "notavailable"
5
+ SHORT = "short"
6
+ MEDIUM = "medium"
7
+ LONG = "long"
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,8 @@
1
+ module Kaltura
2
+ module Constants
3
+ class EditorType
4
+ SIMPLE = 1
5
+ ADVANCED = 2
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ module Kaltura
2
+ module Constants
3
+ class EmailIngestionProfileStatus
4
+ INACTIVE = 0
5
+ ACTIVE = 1
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,35 @@
1
+ module Kaltura
2
+ module Constants
3
+ module Entry
4
+ class ModerationStatus
5
+ PENDING_MODERATION = 1
6
+ APPROVED = 2
7
+ REJECTED = 3
8
+ FLAGGED_FOR_REVIEW = 5
9
+ AUTO_APPROVED = 6
10
+ end
11
+
12
+ class Status
13
+ ERROR_IMPORTING = -2
14
+ ERROR_CONVERTING = -1
15
+ IMPORT = 0
16
+ PRECONVERT = 1
17
+ READY = 2
18
+ DELETED = 3
19
+ PENDING = 4
20
+ MODERATE = 5
21
+ BLOCKED = 6
22
+ end
23
+
24
+ class Type
25
+ AUTOMATIC = -1
26
+ MEDIA_CLIP = 1
27
+ MIX = 2
28
+ PLAYLIST = 5
29
+ DATA = 6
30
+ LIVE_STREAM = 7
31
+ DOCUMENT = 10
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,39 @@
1
+ module Kaltura
2
+ module Constants
3
+ module FileSync
4
+ class ObjectType
5
+ ENTRY = 1
6
+ UICONF = 2
7
+ BATCHJOB = 3
8
+ FLAVOR_ASSET = 4
9
+ end
10
+
11
+ class OrderBy
12
+ CREATED_AT_ASC = "+createdAt"
13
+ CREATED_AT_DESC = "-createdAt"
14
+ UPDATED_AT_ASC = "+updatedAt"
15
+ UPDATED_AT_DESC = "-updatedAt"
16
+ READY_AT_ASC = "+readyAt"
17
+ READY_AT_DESC = "-readyAt"
18
+ SYNC_TIME_ASC = "+syncTime"
19
+ SYNC_TIME_DESC = "-syncTime"
20
+ FILE_SIZE_ASC = "+fileSize"
21
+ FILE_SIZE_DESC = "-fileSize"
22
+ end
23
+
24
+ class Status
25
+ ERROR = -1
26
+ PENDING = 1
27
+ READY = 2
28
+ DELETED = 3
29
+ PURGED = 4
30
+ end
31
+
32
+ class Type
33
+ FILE = 1
34
+ LINK = 2
35
+ URL = 3
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,12 @@
1
+ module Kaltura
2
+ module Constants
3
+ class FlavorAssetStatus
4
+ ERROR = -1
5
+ QUEUED = 0
6
+ CONVERTING = 1
7
+ READY = 2
8
+ DELETED = 3
9
+ NOT_APPLICABLE = 4
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,9 @@
1
+ module Kaltura
2
+ module Constants
3
+ class Gender
4
+ UNKNOWN = 0
5
+ MALE = 1
6
+ FEMALE = 2
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,21 @@
1
+ module Kaltura
2
+ module Constants
3
+ module GoogleSyndicationFeed
4
+ class AdultValues
5
+ YES = "Yes"
6
+ NO = "No"
7
+ end
8
+
9
+ class OrderBy
10
+ PLAYLIST_ID_ASC = "+playlistId"
11
+ PLAYLIST_ID_DESC = "-playlistId"
12
+ NAME_ASC = "+name"
13
+ NAME_DESC = "-name"
14
+ TYPE_ASC = "+type"
15
+ TYPE_DESC = "-type"
16
+ CREATED_AT_ASC = "+createdAt"
17
+ CREATED_AT_DESC = "-createdAt"
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,75 @@
1
+ module Kaltura
2
+ module Constants
3
+ module ITunesSyndicationFeed
4
+ class Categories
5
+ ARTS = "Arts"
6
+ ARTS_DESIGN = "Arts/Design"
7
+ ARTS_FASHION_BEAUTY = "Arts/Fashion &amp; Beauty"
8
+ ARTS_FOOD = "Arts/Food"
9
+ ARTS_LITERATURE = "Arts/Literature"
10
+ ARTS_PERFORMING_ARTS = "Arts/Performing Arts"
11
+ ARTS_VISUAL_ARTS = "Arts/Visual Arts"
12
+ BUSINESS = "Business"
13
+ BUSINESS_BUSINESS_NEWS = "Business/Business News"
14
+ BUSINESS_CAREERS = "Business/Careers"
15
+ BUSINESS_INVESTING = "Business/Investing"
16
+ BUSINESS_MANAGEMENT_MARKETING = "Business/Management &amp; Marketing"
17
+ BUSINESS_SHOPPING = "Business/Shopping"
18
+ COMEDY = "Comedy"
19
+ EDUCATION = "Education"
20
+ EDUCATION_TECHNOLOGY = "Education/Education Technology"
21
+ EDUCATION_HIGHER_EDUCATION = "Education/Higher Education"
22
+ EDUCATION_K_12 = "Education/K-12"
23
+ EDUCATION_LANGUAGE_COURSES = "Education/Language Courses"
24
+ EDUCATION_TRAINING = "Education/Training"
25
+ GAMES_HOBBIES = "Games &amp; Hobbies"
26
+ GAMES_HOBBIES_AUTOMOTIVE = "Games &amp; Hobbies/Automotive"
27
+ GAMES_HOBBIES_AVIATION = "Games &amp; Hobbies/Aviation"
28
+ GAMES_HOBBIES_HOBBIES = "Games &amp; Hobbies/Hobbies"
29
+ GAMES_HOBBIES_OTHER_GAMES = "Games &amp; Hobbies/Other Games"
30
+ GAMES_HOBBIES_VIDEO_GAMES = "Games &amp; Hobbies/Video Games"
31
+ GOVERNMENT_ORGANIZATIONS = "Government &amp; Organizations"
32
+ GOVERNMENT_ORGANIZATIONS_LOCAL = "Government &amp; Organizations/Local"
33
+ GOVERNMENT_ORGANIZATIONS_NATIONAL = "Government &amp; Organizations/National"
34
+ GOVERNMENT_ORGANIZATIONS_NON_PROFIT = "Government &amp; Organizations/Non-Profit"
35
+ GOVERNMENT_ORGANIZATIONS_REGIONAL = "Government &amp; Organizations/Regional"
36
+ HEALTH = "Health"
37
+ HEALTH_ALTERNATIVE_HEALTH = "Health/Alternative Health"
38
+ HEALTH_FITNESS_NUTRITION = "Health/Fitness &amp; Nutrition"
39
+ HEALTH_SELF_HELP = "Health/Self-Help"
40
+ HEALTH_SEXUALITY = "Health/Sexuality"
41
+ KIDS_FAMILY = "Kids &amp; Family"
42
+ MUSIC = "Music"
43
+ NEWS_POLITICS = "News &amp; Politics"
44
+ RELIGION_SPIRITUALITY = "Religion &amp; Spirituality"
45
+ RELIGION_SPIRITUALITY_BUDDHISM = "Religion &amp; Spirituality/Buddhism"
46
+ RELIGION_SPIRITUALITY_CHRISTIANITY = "Religion &amp; Spirituality/Christianity"
47
+ RELIGION_SPIRITUALITY_HINDUISM = "Religion &amp; Spirituality/Hinduism"
48
+ RELIGION_SPIRITUALITY_ISLAM = "Religion &amp; Spirituality/Islam"
49
+ RELIGION_SPIRITUALITY_JUDAISM = "Religion &amp; Spirituality/Judaism"
50
+ RELIGION_SPIRITUALITY_OTHER = "Religion &amp; Spirituality/Other"
51
+ RELIGION_SPIRITUALITY_SPIRITUALITY = "Religion &amp; Spirituality/Spirituality"
52
+ SCIENCE_MEDICINE = "Science &amp; Medicine"
53
+ SCIENCE_MEDICINE_MEDICINE = "Science &amp; Medicine/Medicine"
54
+ SCIENCE_MEDICINE_NATURAL_SCIENCES = "Science &amp; Medicine/Natural Sciences"
55
+ SCIENCE_MEDICINE_SOCIAL_SCIENCES = "Science &amp; Medicine/Social Sciences"
56
+ SOCIETY_CULTURE = "Society &amp; Culture"
57
+ SOCIETY_CULTURE_HISTORY = "Society &amp; Culture/History"
58
+ SOCIETY_CULTURE_PERSONAL_JOURNALS = "Society &amp; Culture/Personal Journals"
59
+ SOCIETY_CULTURE_PHILOSOPHY = "Society &amp; Culture/Philosophy"
60
+ SOCIETY_CULTURE_PLACES_TRAVEL = "Society &amp; Culture/Places &amp; Travel"
61
+ SPORTS_RECREATION = "Sports &amp; Recreation"
62
+ SPORTS_RECREATION_AMATEUR = "Sports &amp; Recreation/Amateur"
63
+ SPORTS_RECREATION_COLLEGE_HIGH_SCHOOL = "Sports &amp; Recreation/College &amp; High School"
64
+ SPORTS_RECREATION_OUTDOOR = "Sports &amp; Recreation/Outdoor"
65
+ SPORTS_RECREATION_PROFESSIONAL = "Sports &amp; Recreation/Professional"
66
+ TECHNOLOGY = "Technology"
67
+ TECHNOLOGY_GADGETS = "Technology/Gadgets"
68
+ TECHNOLOGY_TECH_NEWS = "Technology/Tech News"
69
+ TECHNOLOGY_PODCASTING = "Technology/Podcasting"
70
+ TECHNOLOGY_SOFTWARE_HOW_TO = "Technology/Software How-To"
71
+ TV_FILM = "TV &amp; Film"
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,24 @@
1
+ require 'kaltura/constants/i_tunes_syndication_feed/categories'
2
+
3
+ module Kaltura
4
+ module Constants
5
+ module ITunesSyndicationFeed
6
+ class AdultValues
7
+ YES = "yes"
8
+ NO = "no"
9
+ CLEAN = "clean"
10
+ end
11
+
12
+ class OrderBy
13
+ PLAYLIST_ID_ASC = "+playlistId"
14
+ PLAYLIST_ID_DESC = "-playlistId"
15
+ NAME_ASC = "+name"
16
+ NAME_DESC = "-name"
17
+ TYPE_ASC = "+type"
18
+ TYPE_DESC = "-type"
19
+ CREATED_AT_ASC = "+createdAt"
20
+ CREATED_AT_DESC = "-createdAt"
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,23 @@
1
+ module Kaltura
2
+ module Constants
3
+ class LicenseType
4
+ UNKNOWN = -1
5
+ NONE = 0
6
+ COPYRIGHTED = 1
7
+ PUBLIC_DOMAIN = 2
8
+ CREATIVECOMMONS_ATTRIBUTION = 3
9
+ CREATIVECOMMONS_ATTRIBUTION_SHARE_ALIKE = 4
10
+ CREATIVECOMMONS_ATTRIBUTION_NO_DERIVATIVES = 5
11
+ CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL = 6
12
+ CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_SHARE_ALIKE = 7
13
+ CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_NO_DERIVATIVES = 8
14
+ GFDL = 9
15
+ GPL = 10
16
+ AFFERO_GPL = 11
17
+ LGPL = 12
18
+ BSD = 13
19
+ APACHE = 14
20
+ MOZILLA = 15
21
+ end
22
+ end
23
+ end