From 765e242a1ea7161be2fa68255e47b1237e731711 Mon Sep 17 00:00:00 2001 From: Kylart Date: Sat, 22 Apr 2017 14:00:38 +0200 Subject: [PATCH] Updated fansub list on release page and config modal and added support for VOSTFR (DefinitelyNotMe sub). --- assets/scripts/init/releases.js | 4 ++-- layouts/default.vue | 5 ++++- pages/index.vue | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/assets/scripts/init/releases.js b/assets/scripts/init/releases.js index 5736a54..112b3fb 100644 --- a/assets/scripts/init/releases.js +++ b/assets/scripts/init/releases.js @@ -38,8 +38,8 @@ exports.getLatest = (url, res) => { { const release = releases[i] - const ep = release.title[0].split(' ').splice(-2)[0] - const name = release.title[0].split(' ').slice(1, -3).join(' ') + const ep = release.title[0].replace(' VOSTFR', '').split(' ').splice(-2)[0] + const name = release.title[0].replace(' VOSTFR', '').split(' ').slice(1, -3).join(' ') const researchName = name.split(' ').join('') const torrentLink = release.link[0] const magnetLink = torrentLink + '&magnet=1' diff --git a/layouts/default.vue b/layouts/default.vue index 7edb9aa..41e947b 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -297,7 +297,10 @@ }, fansubChoices: [ 'HorribleSubs', - 'exampleSubs' + 'PuyaSubs', + 'BakedFish', + 'DeadFish', + 'DefinitelyNotMe' ], soundChoices: [ 'None', diff --git a/pages/index.vue b/pages/index.vue index f5691b3..80b4be6 100755 --- a/pages/index.vue +++ b/pages/index.vue @@ -143,7 +143,8 @@ 'HorribleSubs', 'PuyaSubs', 'BakedFish', - 'DeadFish' + 'DeadFish', + 'DefinitelyNotMe' ], qualityList: ['480p', '720p', '1080p'] }