Add imgur album and rtmp to refactored lookup
This commit is contained in:
parent
51e48e924d
commit
3a62c987ea
14
get-info.js
14
get-info.js
|
@ -340,6 +340,20 @@ var Getters = {
|
||||||
var title = "JWPlayer - " + id;
|
var title = "JWPlayer - " + id;
|
||||||
var media = new Media(id, title, "--:--", "jw");
|
var media = new Media(id, title, "--:--", "jw");
|
||||||
callback(false, media);
|
callback(false, media);
|
||||||
|
},
|
||||||
|
|
||||||
|
/* rtmp stream */
|
||||||
|
rt: function (id, callback) {
|
||||||
|
var title = "Livestream";
|
||||||
|
var media = new Media(id, title, "--:--", "rt");
|
||||||
|
callback(false, media);
|
||||||
|
},
|
||||||
|
|
||||||
|
/* imgur.com albums */
|
||||||
|
im: function (id, callback) {
|
||||||
|
var title = "Imgur Album - " + id;
|
||||||
|
var media = new Media(id, title, "--:--", "im");
|
||||||
|
callback(false, media);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue