CC-1665: Scheduled stream rebroadcasting and recording

-improve working with "webstreams"
This commit is contained in:
Martin Konecny 2012-07-30 21:48:04 -04:00
parent 142aa214b3
commit 7e433b61fb
15 changed files with 167 additions and 74 deletions

View file

@ -464,7 +464,7 @@ var AIRTIME = (function(AIRTIME) {
text: aData.track_title
},
ajax: {
url: "/Library/get-file-meta-data",
url: "/Library/get-file-metadata",
type: "get",
data: ({format: "html", id : aData.id, type: aData.ftype}),
success: function(data, status) {
@ -614,6 +614,7 @@ var AIRTIME = (function(AIRTIME) {
}
else {
callback = function() {
//TODO
AIRTIME.playlist.fnEdit(data.id, data.ftype);
};
}

View file

@ -503,7 +503,9 @@ var AIRTIME = (function(AIRTIME){
$.post(url,
{format: "json", description: description, url:streamurl, length: length, name: name},
function(json){
console.log(json);
$("#side_playlist")
.empty()
.append("WHAT SHOULD I PUT HERE??!?!! :)");
/*
if (json.error !== undefined){