From b8430a036b5fb3ebf71f6d391babc3a13feb1be1 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Sun, 22 Jan 2017 00:51:39 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B5=D0=BD?= =?UTF-8?q?=D1=82=D0=B0=20=D0=B4=D0=BB=D1=8F=20=D0=B4=D0=B8=D1=81=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=B8=20=D0=B0=D1=80=D1=85=D0=B8=D0=B2=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/content.js | 1 + src/torrent.js | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/lib/content.js b/lib/content.js index b3687f3..0f56fa3 100644 --- a/lib/content.js +++ b/lib/content.js @@ -40,6 +40,7 @@ const ExtesionBase = { f4v: ContentTypes.VIDEO, ts: ContentTypes.VIDEO, divx: ContentTypes.VIDEO, + m2ts: ContentTypes.VIDEO, aa: ContentTypes.AUDIO, aac: ContentTypes.AUDIO, diff --git a/src/torrent.js b/src/torrent.js index 3cf5f71..29109fc 100644 --- a/src/torrent.js +++ b/src/torrent.js @@ -111,6 +111,45 @@ return ( ) + case 'archive': + return ( + + + + + + + ) + case 'disc': + return ( + + + + + + + ) default: return (