Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
33be48e9e3
6 changed files with 452 additions and 422 deletions
|
@ -41,7 +41,7 @@ class LibraryController extends Zend_Controller_Action
|
||||||
$this->view->headScript()->appendFile($baseUrl.'/js/airtime/buttons/buttons.js?'.$CC_CONFIG['airtime_version'], 'text/javascript');
|
$this->view->headScript()->appendFile($baseUrl.'/js/airtime/buttons/buttons.js?'.$CC_CONFIG['airtime_version'], 'text/javascript');
|
||||||
$this->view->headScript()->appendFile($baseUrl.'/js/airtime/utilities/utilities.js?'.$CC_CONFIG['airtime_version'], 'text/javascript');
|
$this->view->headScript()->appendFile($baseUrl.'/js/airtime/utilities/utilities.js?'.$CC_CONFIG['airtime_version'], 'text/javascript');
|
||||||
$this->view->headScript()->appendFile($baseUrl.'/js/airtime/library/library.js?'.$CC_CONFIG['airtime_version'], 'text/javascript');
|
$this->view->headScript()->appendFile($baseUrl.'/js/airtime/library/library.js?'.$CC_CONFIG['airtime_version'], 'text/javascript');
|
||||||
$this->view->headScript()->appendFile($this->view->baseUrl('/js/airtime/library/events/library_playlistbuilder.js'), 'text/javascript');
|
$this->view->headScript()->appendFile($baseUrl.'/js/airtime/library/events/library_playlistbuilder.js?'.$CC_CONFIG['airtime_version'], 'text/javascript');
|
||||||
|
|
||||||
$this->view->headLink()->appendStylesheet($baseUrl.'/css/media_library.css?'.$CC_CONFIG['airtime_version']);
|
$this->view->headLink()->appendStylesheet($baseUrl.'/css/media_library.css?'.$CC_CONFIG['airtime_version']);
|
||||||
$this->view->headLink()->appendStylesheet($baseUrl.'/css/jquery.contextMenu.css?'.$CC_CONFIG['airtime_version']);
|
$this->view->headLink()->appendStylesheet($baseUrl.'/css/jquery.contextMenu.css?'.$CC_CONFIG['airtime_version']);
|
||||||
|
|
|
@ -363,10 +363,10 @@ function setupUI() {
|
||||||
|
|
||||||
$(".playlist_type_help_icon").qtip({
|
$(".playlist_type_help_icon").qtip({
|
||||||
content: {
|
content: {
|
||||||
text: "A static playlist will save the criteria and generate the playlist content immediately." +
|
text: "A static smart block will save the criteria and generate the block content immediately." +
|
||||||
"This allows you to edit and view it in the Playlist Builder before adding it to a show.<br /><br />" +
|
"This allows you to edit and view it in the Library before adding it to a show.<br /><br />" +
|
||||||
"A dynamic playlist will only save the criteria. The playlist content will get generated upon " +
|
"A dynamic smart block will only save the criteria. The block content will get generated upon " +
|
||||||
"adding it to a show. You will not be able to view and edit it in the Playlist Builder."
|
"adding it to a show. You will not be able to view and edit the content in the Library."
|
||||||
},
|
},
|
||||||
hide: {
|
hide: {
|
||||||
delay: 500,
|
delay: 500,
|
||||||
|
|
|
@ -164,9 +164,15 @@ function buildScheduleDialog (json) {
|
||||||
draggable: true,
|
draggable: true,
|
||||||
modal: true,
|
modal: true,
|
||||||
close: closeDialog,
|
close: closeDialog,
|
||||||
buttons: {"Ok": function() {
|
buttons: [
|
||||||
|
{
|
||||||
|
text: "Ok",
|
||||||
|
"class": "btn",
|
||||||
|
click: function() {
|
||||||
$(this).dialog("close");
|
$(this).dialog("close");
|
||||||
}}
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
//set the start end times so the builder datatables knows its time range.
|
//set the start end times so the builder datatables knows its time range.
|
||||||
|
@ -207,9 +213,15 @@ function buildContentDialog (json){
|
||||||
height: height,
|
height: height,
|
||||||
modal: true,
|
modal: true,
|
||||||
close: closeDialog,
|
close: closeDialog,
|
||||||
buttons: {"Ok": function() {
|
buttons: [
|
||||||
|
{
|
||||||
|
text: "Ok",
|
||||||
|
"class": "btn",
|
||||||
|
click: function() {
|
||||||
dialog.remove();
|
dialog.remove();
|
||||||
}}
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
dialog.dialog('open');
|
dialog.dialog('open');
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
author: ApmeM (artem.votincev@gmail.com)
|
author: ApmeM (artem.votincev@gmail.com)
|
||||||
date: 9-June-2010
|
date: 9-June-2010
|
||||||
version: 1.4
|
version: 1.4
|
||||||
|
@ -63,14 +63,22 @@
|
||||||
$.extend(config, {
|
$.extend(config, {
|
||||||
autoOpen: false,
|
autoOpen: false,
|
||||||
modal: true,
|
modal: true,
|
||||||
buttons: {
|
buttons: [
|
||||||
"Cancel": function() {
|
{
|
||||||
|
text: "Cancel",
|
||||||
|
"class": "btn",
|
||||||
|
click: function() {
|
||||||
browserDlg.dialog("close");
|
browserDlg.dialog("close");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"Open": function() {
|
{
|
||||||
|
text: "Open",
|
||||||
|
"class": "btn",
|
||||||
|
click: function() {
|
||||||
doneOk();
|
doneOk();
|
||||||
},
|
}
|
||||||
},
|
}
|
||||||
|
],
|
||||||
resize: function(event, ui) {
|
resize: function(event, ui) {
|
||||||
recalculateSize(event, ui);
|
recalculateSize(event, ui);
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
[main]
|
[main]
|
||||||
liquidsoap_tar_url = http://dl.dropbox.com/u/256410/airtime/liquidsoap-1.0.1-full.tar.gz
|
liquidsoap_tar_url = http://dl.dropbox.com/u/256410/airtime/savonet.tar.gz
|
||||||
|
|
|
@ -181,7 +181,7 @@ def compile_liquidsoap(filename="liquidsoap"):
|
||||||
'libspeex-dev libspeexdsp-dev speex libladspa-ocaml-dev festival festival-dev ' + \
|
'libspeex-dev libspeexdsp-dev speex libladspa-ocaml-dev festival festival-dev ' + \
|
||||||
'libsamplerate-dev libxmlplaylist-ocaml-dev libxmlrpc-light-ocaml-dev libflac-dev ' + \
|
'libsamplerate-dev libxmlplaylist-ocaml-dev libxmlrpc-light-ocaml-dev libflac-dev ' + \
|
||||||
'libxml-dom-perl libxml-dom-xpath-perl patch autoconf libmp3lame-dev ' + \
|
'libxml-dom-perl libxml-dom-xpath-perl patch autoconf libmp3lame-dev ' + \
|
||||||
'libcamomile-ocaml-dev libcamlimages-ocaml-dev libtool libpulse-dev libjack-dev camlidl')
|
'libcamomile-ocaml-dev libcamlimages-ocaml-dev libtool libpulse-dev libjack-dev camlidl libfaad-dev')
|
||||||
|
|
||||||
root = '/home/martin/src'
|
root = '/home/martin/src'
|
||||||
do_run('mkdir -p %s' % root)
|
do_run('mkdir -p %s' % root)
|
||||||
|
@ -191,12 +191,22 @@ def compile_liquidsoap(filename="liquidsoap"):
|
||||||
do_run('mv %s %s/liquidsoap.tar.gz' % (tmpPath, root))
|
do_run('mv %s %s/liquidsoap.tar.gz' % (tmpPath, root))
|
||||||
do_run('cd %s && tar xzf liquidsoap.tar.gz' % root)
|
do_run('cd %s && tar xzf liquidsoap.tar.gz' % root)
|
||||||
|
|
||||||
do_run('cd %s/liquidsoap-1.0.1-full && cp PACKAGES.minimal PACKAGES' % root)
|
#do_run('cd %s/liquidsoap-1.0.1-full && cp PACKAGES.minimal PACKAGES' % root)
|
||||||
sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-portaudio', 'ocaml-portaudio')
|
#sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-portaudio', 'ocaml-portaudio')
|
||||||
sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-alsa', 'ocaml-alsa')
|
#sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-alsa', 'ocaml-alsa')
|
||||||
sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-pulseaudio', 'ocaml-pulseaudio')
|
#sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-pulseaudio', 'ocaml-pulseaudio')
|
||||||
sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-faad', 'ocaml-faad')
|
#sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-faad', 'ocaml-faad')
|
||||||
do_run('cd %s/liquidsoap-1.0.1-full && ./bootstrap' % root)
|
#do_run('cd %s/liquidsoap-1.0.1-full && ./bootstrap' % root)
|
||||||
do_run('cd %s/liquidsoap-1.0.1-full && ./configure' % root)
|
#do_run('cd %s/liquidsoap-1.0.1-full && ./configure' % root)
|
||||||
do_run('cd %s/liquidsoap-1.0.1-full && make' % root)
|
#do_run('cd %s/liquidsoap-1.0.1-full && make' % root)
|
||||||
get('%s/liquidsoap-1.0.1-full/liquidsoap-1.0.1/src/liquidsoap' % root, filename)
|
#get('%s/liquidsoap-1.0.1-full/liquidsoap-1.0.1/src/liquidsoap' % root, filename)
|
||||||
|
|
||||||
|
do_run('cd %s/savonet && cp PACKAGES.minimal PACKAGES' % root)
|
||||||
|
sed('%s/savonet/PACKAGES' % root, '#ocaml-portaudio', 'ocaml-portaudio')
|
||||||
|
sed('%s/savonet/PACKAGES' % root, '#ocaml-alsa', 'ocaml-alsa')
|
||||||
|
sed('%s/savonet/PACKAGES' % root, '#ocaml-pulseaudio', 'ocaml-pulseaudio')
|
||||||
|
sed('%s/savonet/PACKAGES' % root, '#ocaml-faad', 'ocaml-faad')
|
||||||
|
do_run('cd %s/savonet && ./bootstrap' % root)
|
||||||
|
do_run('cd %s/savonet && ./configure' % root)
|
||||||
|
do_run('cd %s/savonet && make' % root)
|
||||||
|
get('%s/savonet/liquidsoap/src/liquidsoap' % root, filename)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue