From 3a62c987eac5c0becccd0d600c83d4af9f8b1154 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Thu, 1 Aug 2013 10:14:17 -0400 Subject: [PATCH] Add imgur album and rtmp to refactored lookup --- get-info.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/get-info.js b/get-info.js index b6a5052f..6ec3316b 100644 --- a/get-info.js +++ b/get-info.js @@ -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); } }