From f8510d749b848a11f7f4c59ef7048487009c6c56 Mon Sep 17 00:00:00 2001 From: Gustavo Salazar Date: Fri, 21 Sep 2012 15:22:23 -0500 Subject: [PATCH] Always set a value to "title" in dublincore.xml --- record-and-playback/matterhorn/scripts/process/matterhorn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/record-and-playback/matterhorn/scripts/process/matterhorn.rb b/record-and-playback/matterhorn/scripts/process/matterhorn.rb index 2fd95c6f7b..06d5bd9954 100644 --- a/record-and-playback/matterhorn/scripts/process/matterhorn.rb +++ b/record-and-playback/matterhorn/scripts/process/matterhorn.rb @@ -67,7 +67,7 @@ if not FileTest.directory?(target_dir) metadata = BigBlueButton::Events.get_meeting_metadata("#{temp_dir}/#{meeting_id}/events.xml") - dublincore_data = { :title => metadata[:title.to_s], + dublincore_data = { :title => metadata[:title.to_s].nil? ? meeting_id : metadata[:title.to_s], :subject => metadata[:subject.to_s], :description => metadata[:description.to_s], :creator => metadata[:creator.to_s],