Fix ustream
This commit is contained in:
parent
fec1372e4e
commit
d706bf63b1
6 changed files with 11 additions and 57 deletions
|
|
@ -3226,6 +3226,13 @@ function startQueueSpinner(data) {
|
|||
}
|
||||
|
||||
function stopQueueSpinner(data) {
|
||||
// TODO: this is a temp hack, need to replace media ID check with
|
||||
// a passthrough request ID (since media ID from API is not necessarily
|
||||
// the same as the URL "ID" from the user)
|
||||
if (data.type === "us") {
|
||||
data = { id: data.title.match(/Ustream.tv - (.*)/)[1] };
|
||||
}
|
||||
|
||||
var shouldRemove = (data !== null &&
|
||||
typeof data === 'object' &&
|
||||
$("#queueprogress").data("queue-id") === data.id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue