Merge branch 'master' of git://github.com/bigbluebutton/bigbluebutton
This commit is contained in:
commit
2d2993fa0c
@ -106,8 +106,8 @@ $(document).ready(function(){
|
||||
//
|
||||
String joinURL = getJoinURL(username, meetingID, "false", "<br>Welcome to %%CONFNAME%%.<br>", null, null);
|
||||
|
||||
|
||||
String inviteURL = BigBlueButtonURL + "demo/create.jsp?action=invite&meetingID=" + URLEncoder.encode(meetingID, "UTF-8");
|
||||
String url = BigBlueButtonURL.replace("bigbluebutton/","demo/");
|
||||
String inviteURL = url + "create.jsp?action=invite&meetingID=" + URLEncoder.encode(meetingID, "UTF-8");
|
||||
%>
|
||||
|
||||
<hr />
|
||||
@ -159,8 +159,8 @@ $(document).ready(function(){
|
||||
String meetingID = request.getParameter("meetingID");
|
||||
String username = request.getParameter("username");
|
||||
|
||||
String enterURL = BigBlueButtonURL
|
||||
+ "demo/create.jsp?action=join&username="
|
||||
String url = BigBlueButtonURL.replace("bigbluebutton/","demo/");
|
||||
String enterURL = url + "create.jsp?action=join&username="
|
||||
+ URLEncoder.encode(username, "UTF-8") + "&meetingID="
|
||||
+ URLEncoder.encode(meetingID, "UTF-8");
|
||||
|
||||
|
@ -37,16 +37,16 @@ mark_for_rebuild() {
|
||||
for type in $TYPES; do
|
||||
if [ -d $BASE/process/$type/$MEETING_ID ]; then
|
||||
rm -rf $BASE/process/$type/$MEETING_ID
|
||||
else
|
||||
echo "Warn: Didn't find $BASE/process/$type/$MEETING_ID"
|
||||
exit 1
|
||||
# else
|
||||
# echo "Warn: Didn't find $BASE/process/$type/$MEETING_ID"
|
||||
# exit 1
|
||||
fi
|
||||
|
||||
if [ -f $STATUS/processed/$MEETING_ID-$type.done ]; then
|
||||
rm $STATUS/processed/$MEETING_ID-$type.done
|
||||
else
|
||||
echo "Warn: Didn't find $STATUS/processed/$MEETING_ID-$type.done"
|
||||
exit 1
|
||||
# else
|
||||
# echo "Warn: Didn't find $STATUS/processed/$MEETING_ID-$type.done"
|
||||
# exit 1
|
||||
fi
|
||||
|
||||
if [ -d $BASE/publish/$type/$MEETING_ID ]; then
|
||||
@ -84,8 +84,11 @@ usage() {
|
||||
echo "Configuration:"
|
||||
echo " --version Display BigBlueButton version (packages)"
|
||||
echo
|
||||
echo "Reporting:"
|
||||
echo " --list List all recordings"
|
||||
echo
|
||||
echo "Monitoring:"
|
||||
echo " --watch monitor processing of recordings: watch -n 2 \"bbb-record --watch\""
|
||||
echo " --watch Watch processing of recordings"
|
||||
echo " --rebuild [meetingID] rebuild the output for meetingID"
|
||||
echo " --deletall delete all meetings and recordings"
|
||||
echo
|
||||
@ -103,6 +106,17 @@ while [ $# -gt 0 ]; do
|
||||
shift
|
||||
continue
|
||||
fi
|
||||
if [ "$1" = "-list" -o "$1" = "--list" ]; then
|
||||
LIST=1
|
||||
shift
|
||||
continue
|
||||
fi
|
||||
if [ "$1" = "--list20" ]; then
|
||||
LIST=1
|
||||
HEAD=20
|
||||
shift
|
||||
continue
|
||||
fi
|
||||
if [ "$1" = "-rebuild" -o "$1" = "--rebuild" ]; then
|
||||
need_root
|
||||
if [ ! -z "${2}" ]; then
|
||||
@ -176,7 +190,7 @@ if [ $DELETEALL ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
if [ $WATCH ]; then
|
||||
if [ $LIST ]; then
|
||||
|
||||
|
||||
#ps -fC god
|
||||
@ -193,12 +207,17 @@ if [ $WATCH ]; then
|
||||
echo "MeetingID Time Slides Recorded Archived Processed Published Description"
|
||||
echo "------------------------------------------------------ ---------------------------- ------ -------- -------- -------------------- -------------------- -----------------------------"
|
||||
|
||||
for meeting in $(ls -u /var/bigbluebutton | grep "[0-9]\{13\}$"); do
|
||||
if [ -z $HEAD ]; then
|
||||
# If we're not called with --list20, show all recordings
|
||||
HEAD=99999
|
||||
fi
|
||||
|
||||
for meeting in $(ls -u /var/bigbluebutton | grep "[0-9]\{13\}$" | head -n $HEAD); do
|
||||
echo -n "$meeting"
|
||||
timestamp=$(echo $meeting | sed s/.*-//g)
|
||||
epoc=$(($timestamp/1000))
|
||||
echo -n " "
|
||||
echo -n $(date --date "Jan 1, 1970 00:00:00 +0000 + $epoc seconds")
|
||||
echo -n $(date --date "Jan 1, 1970 00:00:00 +0000 + $epoc seconds") | awk '{ printf("%-28s",$0) }'
|
||||
|
||||
printf "%7s" $(find /var/bigbluebutton/$meeting/$meeting -name "*.swf" | wc -l)
|
||||
#echo "/var/bigbluebutton/$meeting/$meeting"
|
||||
@ -278,4 +297,6 @@ done
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if [ $WATCH ]; then
|
||||
watch -n 2 "bbb-record --list20"
|
||||
fi
|
||||
|
@ -56,7 +56,10 @@ br{
|
||||
#mid {display:none}
|
||||
|
||||
#footer{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 40%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
font-size:0.75em;
|
||||
color: #666;
|
||||
|
||||
text-align: center;
|
||||
}
|
Loading…
Reference in New Issue
Block a user