var playlist = [];
var clip;

clip = new MediaPlayer_Clip();
clip.title = 'Sand mandala consecration ceremony';
clip.date = '9/16/2006';
clip.description = 'Conducted by the monks of the Drepung Loseling Monastery.';
clip.duration = 1*3600 + 21*60 + 0;
clip.image = 'video_thumbnails/consecration/index.jpg';
clip.extras_url = 'video_info_consecration.html';
clip.addStream('real', 350000, 'playlists/consecration/high.smil');
clip.addStream('real', 35000, 'playlists/consecration/low.smil');
clip.addStream('wmp', 385000, 'playlists/consecration/high.asx');
clip.addStream('wmp', 53000, 'playlists/consecration/low.asx');
clip.addChapter(3, 'Welcome (Sandra Fazekas, Center for the Arts)', 'video_thumbnails/consecration/sandy.jpg');
clip.addChapter(1*60+20, 'Introduction (Sandra Olsen, University Art Galleries)', 'video_thumbnails/consecration/haller.jpg');
clip.addChapter(3*60+56, 'Sand Mandala Consecration Ceremony', 'video_thumbnails/consecration/ceremony.jpg');
clip.addChapter(34*60+7, 'Sand Mandala Construction begins', 'video_thumbnails/consecration/construction.jpg');
playlist.push(clip);

clip = new MediaPlayer_Clip();
clip.title = 'Sand mandala time-lapse';
clip.date = '9/16/2006';
clip.description = 'Lifecycle of the sand mandala.';
clip.duration = 0*3600 + 32*60 + 07;
clip.image = 'video_thumbnails/timelapse/main.jpg';
clip.extras_url = 'video_info_consecration.html';
clip.addStream('real', 350000, 'playlists/timelapse/high.smil');
clip.addStream('real', 35000, 'playlists/timelapse/low.smil');
clip.addStream('wmp', 385000, 'playlists/timelapse/high.asx');
playlist.push(clip);

clip = new MediaPlayer_Clip();
clip.title = 'Interfaith Service with the 14th Dalai Lama';
clip.date = '9/18/2006';
clip.description = 'Prayers from diverse faith traditions, song, dance, silent meditation.';
clip.duration = 1*3600 + 20*60 + 26;
clip.image = 'video_thumbnails/interfaith/main.jpg';
clip.extras_url = 'video_info_interfaith.html';
clip.addStream('real', 350000, 'playlists/interfaith/high.smil');
clip.addStream('real', 35000, 'playlists/interfaith/low.smil');
clip.addStream('wmp', 385000, 'playlists/interfaith/high.asx');
clip.addStream('wmp', 53000, 'playlists/interfaith/low.asx');
var base = 157;
clip.addChapter(3, 'Musical Prelude (Nawang Khechog, Tibetan flute master)', 'video_thumbnails/interfaith/flute.jpg');
clip.addChapter(base+2*60+11, 'Welcome (Bert Gambini, Master of Ceremonies)', 'video_thumbnails/interfaith/welcome.jpg');
clip.addChapter(base+5*60+56, 'Procession', 'video_thumbnails/interfaith/procession.jpg');
clip.addChapter(base+11*60+48, 'Readings, prayers, and chants from sacred texts', 'video_thumbnails/interfaith/readings.jpg');
clip.addChapter(base+38*60+28, 'His Holiness addresses the assembly', 'video_thumbnails/interfaith/hhdl.jpg');
clip.addChapter(base+51*60+59, 'Reflective silence', 'video_thumbnails/interfaith/silence.jpg');
clip.addChapter(base+58*60+12, 'Responsive reading', 'video_thumbnails/interfaith/responsive.jpg');
clip.addChapter(base+61*60+55, 'Breaking down borders with keepsake strings', 'video_thumbnails/interfaith/string.jpg');
clip.addChapter(base+63*60+2, 'Recessional', 'video_thumbnails/interfaith/recessional.jpg');
playlist.push(clip);

clip = new MediaPlayer_Clip();
clip.title = 'Sand mandala deconstruction ceremony';
clip.date = '9/19/2006';
clip.description = 'Emphasizes impermanence of life in the Tibetan Buddhism.';
clip.duration = 0*3600 + 32*60 + 07;
clip.image = 'video_thumbnails/deconstruction/main.jpg';
clip.extras_url = 'video_info_consecration.html';
clip.addStream('real', 350000, 'playlists/deconstruction/high.smil');
clip.addStream('real', 35000, 'playlists/deconstruction/low.smil');
clip.addStream('wmp', 385000, 'playlists/deconstruction/high.asx');
clip.addStream('wmp', 53000, 'playlists/deconstruction/low.asx');
clip.addChapter(3, 'Welcome (Tom Burrows, Center for the Arts)', 'video_thumbnails/deconstruction/burrows.jpg');
clip.addChapter(2*60+33, 'Welcome (Sandra Olsen, University Art Galleries)', 'video_thumbnails/deconstruction/olsen.jpg');
clip.addChapter(5*60+42, 'Introduction (Monks of the Drepung Loseling Monastery)', 'video_thumbnails/deconstruction/monk.jpg');
clip.addChapter(10*60+32, 'Ceremony (Monks of the Drepung Loseling Monastery)', 'video_thumbnails/deconstruction/ceremony.jpg');
clip.addChapter(29*60+50, 'Deconstruction', 'video_thumbnails/deconstruction/sweep.jpg');
playlist.push(clip);

clip = new MediaPlayer_Clip();
clip.title = 'Program of music & performances';
clip.date = '9/19/2006';
clip.description = 'Prayers from diverse faith traditions, song, dance, silent meditation.';
clip.duration = 1*3600 + 48*60 + 10;
clip.image = 'video_thumbnails/pre/main.jpg';
clip.extras_url = 'video_info_main.html';
clip.addStream('real', 350000, 'playlists/pre/high.smil');
clip.addStream('real', 35000, 'playlists/pre/low.smil');
clip.addStream('wmp', 385000, 'playlists/pre/high.asx');
clip.addStream('wmp', 53000, 'playlists/pre/low.asx');
clip.addChapter(3, 'Armenian Allure, arranged by Rhoda Larson', 'video_thumbnails/pre/armenian.jpg');
clip.addChapter(4*60+27, 'The Boatman, arranged by Rhoda Larson', 'video_thumbnails/pre/boatman.jpg');
clip.addChapter(8*60+33, 'Be Still my Soul, Rhoda Larson', 'video_thumbnails/pre/soul.jpg');
clip.addChapter(22*60+28, 'Duo in G major, W. A. Mozart (viola, violin)', 'video_thumbnails/pre/duo.jpg');
clip.addChapter(51*60+42, 'Shanak Garcham: Dance of the Black Hat Masters', 'video_thumbnails/pre/dance.jpg');
clip.addChapter(59*60+58, 'Mandala Sand Painting', 'video_thumbnails/pre/sand.jpg');
clip.addChapter(70*60+42, '2 Etudes, Philip Glass (piano)', 'video_thumbnails/pre/glass1.jpg');
clip.addChapter(1*3600+24*60+48, 'Duet, Philip Glass (flute, piano)', 'video_thumbnails/pre/duet.jpg');
clip.addChapter(1*3600+33*60+30, 'Mad Rush, Philip Glass (piano)', 'video_thumbnails/pre/glass2.jpg');
playlist.push(clip);

clip = new MediaPlayer_Clip();
clip.title = 'His Holiness the Dalai Lama';
clip.date = '9/19/2006';
clip.description = 'Address promoting peace across borders through education.';
clip.duration = 1*3600 + 34*60 + 56;
clip.image = 'video_thumbnails/main/main.jpg';
clip.extras_url = 'video_info_main.html';
clip.addStream('real', 350000, 'playlists/main/high.smil');
clip.addStream('real', 35000, 'playlists/main/low.smil');
clip.addStream('wmp', 385000, 'playlists/main/high.asx');
clip.addStream('wmp', 53000, 'playlists/main/low.asx');
clip.addChapter(0, 'Introductions (Bert Gambini, Master of Ceremonies)', 'video_thumbnails/main/intro.jpg');
clip.addChapter(5*60+38, 'Welcome (John B. Simpson, President, University at Buffalo)', 'video_thumbnails/main/simpson.jpg');
clip.addChapter(10*60+40, 'Conferring of Honorary Degree', 'video_thumbnails/main/degree.jpg');
clip.addChapter(16*60+52, 'His Holiness the 14th Dalai Lama of Tibet', 'video_thumbnails/main/hhdl.jpg');
clip.addChapter(70*60+17, 'Questions and Answers', 'video_thumbnails/main/qa.jpg');
playlist.push(clip);

clip = new MediaPlayer_Clip();
clip.title = 'Law, Buddhism, and Social Change: A Conversation with the 14th Dalai Lama';
clip.date = '9/20/2006';
clip.description = 'Dalai Lama discusses a set of questions rarely addressed.';
clip.duration = 1*3600 + 49*60 + 33;
clip.image = 'video_thumbnails/law/main.jpg';
clip.extras_url = 'video_info_law.html';
clip.addStream('real', 350000, 'playlists/law/high.smil');
clip.addStream('real', 35000, 'playlists/law/low.smil');
clip.addStream('wmp', 385000, 'playlists/law/high.asx');
clip.addStream('wmp', 53000, 'playlists/law/low.asx');
clip.addChapter(3, 'Introductions', 'video_thumbnails/law/intro.jpg');
clip.addChapter(27*60+07, 'His Holiness the 14th Dalai Lama of Tibet', 'video_thumbnails/law/hhdl.jpg');
playlist.push(clip);

clip = new MediaPlayer_Clip();
clip.title = 'Faculty dialogue with Dalai Lama';
clip.date = '9/19/2006';
clip.description = 'UB faculty members exchange views with the Dalai Lama in an intimate setting.';
clip.duration = 57*60 + 03;
clip.image = 'video_thumbnails/faculty/main.jpg';
clip.extras_url = 'video_info_faculty.html';
clip.addStream('real', 350000, 'playlists/faculty/high.smil');
clip.addStream('real', 35000, 'playlists/faculty/low.smil');
clip.addStream('wmp', 385000, 'playlists/faculty/high.asx');
clip.addStream('wmp', 53000, 'playlists/faculty/low.asx');
clip.addChapter(9, 'Introduction by Provost Tripathi', 'video_thumbnails/faculty/tripathi.jpg');
clip.addChapter(3*60+18, 'His Holiness the 14th Dalai Lama of Tibet', 'video_thumbnails/faculty/hhdl.jpg');
playlist.push(clip);

/*
clip = new MediaPlayer_Clip();
clip.title = 'DEVO Test Stream';
clip.description = 'This is a test stream.';
clip.duration = 52;
clip.image = 'video_thumbnails/test/ub.jpg';
clip.addStream('real', 384000, 'rtsp://stream.buffalo.edu/shared/devo/TESTSTREAMS/384Kbpsteststream.rm');
clip.addStream('wmp', 384000, 'mms://stream.buffalo.edu/shared/devo/TESTSTREAMS/384Kbpsteststream.wmv');
clip.addStream('real', 256000, 'rtsp://stream.buffalo.edu/shared/devo/TESTSTREAMS/256Kbpsteststream.rm');
clip.addStream('wmp', 256000, 'http://stream.buffalo.edu/shared/devo/TESTSTREAMS/256Kbpsteststream.wmv');
clip.addStream('real', 150000, 'rtsp://stream.buffalo.edu/shared/devo/TESTSTREAMS/150Kbpsteststream.rm');
clip.addStream('wmp', 150000, 'http://stream.buffalo.edu/shared/devo/TESTSTREAMS/150Kbpsteststream.wmv');
clip.addStream('real', 56000, 'rtsp://stream.buffalo.edu/shared/devo/TESTSTREAMS/56Kbpsteststream.rm');
clip.addStream('wmp', 56000, 'http://stream.buffalo.edu/shared/devo/TESTSTREAMS/56Kbpsteststream.wmv');
clip.addChapter(0, 'UB Intro', 'video_thumbnails/test/ub_small.jpg');
clip.addChapter(47.5, 'DEVO Logo', 'video_thumbnails/test/devo.jpg');
clip.addChapter(5, 'Description of streaming video', 'video_thumbnails/test/beth.jpg');
playlist.push(clip);
*/
