Add imgur album and rtmp to refactored lookup

This commit is contained in:
calzoneman 2013-08-01 10:14:17 -04:00
parent 51e48e924d
commit 3a62c987ea

View file

@ -340,6 +340,20 @@ var Getters = {
var title = "JWPlayer - " + id;
var media = new Media(id, title, "--:--", "jw");
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);
}
}