Merge branch 'master' of dev.sourcefabric.org:airtime

This commit is contained in:
martin 2011-03-30 12:35:33 -04:00
commit 534dad8da2
6 changed files with 27 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1211,6 +1211,10 @@ ul.errors {
margin:0;
}
.formrow-repeat ul.errors {
width:278px;
}
ul.errors li {
color:#902d2d;
font-size:11px;
@ -1440,7 +1444,7 @@ div.success{
list-style-type:none;
margin:0 0 7px 0;
padding:0;
height:26px;
/*height:26px;*/
display:block;
}
.formrow-repeat li .ui-button-icon-only {
@ -1501,7 +1505,10 @@ div.success{
.small-icon.rebroadcast {
background:url(images/icon_rebroadcast.png) no-repeat 0 0;
}
.small-icon.soundcloud {
background:url(images/icon_soundcloud.png) no-repeat 0 0;
width:21px;
}
.medium-icon {
display:block;
width:25px;
@ -1511,8 +1518,23 @@ div.success{
}
.medium-icon.recording {
background:url(images/icon_record_m.png) no-repeat 0 0;
width:20px;
}
.medium-icon.rebroadcast {
background:url(images/icon_rebroadcast_m.png) no-repeat 0 0;
}
.medium-icon.soundcloud {
background:url(images/icon_soundcloud_m.png) no-repeat 0 0;
width:21px;
}
.medium-icon.nowplaying, .medium-icon.finishedplaying {
background:url(images/icon_nowplaying_m.png) no-repeat 0 0;
width:12px;
height:9px;
float:left;
margin-left:6px;
margin-right:0;
}
.medium-icon.finishedplaying {
background:url(images/icon_finishedplaying_m.png) no-repeat 0 0;
}

View File

@ -61,7 +61,8 @@ class ShowRecorder(Thread):
filename = self.filename.replace(" ", "-")
filepath = "%s%s.%s" % (config["base_recorded_files"], filename, self.filetype)
command = "ecasound -i alsa -o %s -t:%s -ge:0.1,0.1,0,-1" % (filepath, length)
command = "ecasound -i alsa -o %s -t:%s" % (filepath, length)
#-ge:0.1,0.1,0,-1
args = command.split(" ")
print "starting record"