From 9e151f23a34ea1e704d977c6047cd4e11bbc9101 Mon Sep 17 00:00:00 2001 From: Jeppe Rune Mortensen Date: Thu, 30 Nov 2017 01:14:57 +0100 Subject: [PATCH] fix(quality): fix issue with not setting if auto sets it to the prefered quality --- package.json | 2 +- src/modules/quality/index.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 7586d89..64ae484 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "project-maia", - "version": "0.1.13", + "version": "0.1.14", "description": "Enhances the user experience on YouTube by providing useful features.", "keywords": [ "YouTube", diff --git a/src/modules/quality/index.ts b/src/modules/quality/index.ts index 56cccc7..17feba2 100644 --- a/src/modules/quality/index.ts +++ b/src/modules/quality/index.ts @@ -66,7 +66,6 @@ export class QualityModule extends Module implements onPlayerCreated, onPlayerRe logger.debug("No quality levels are available."); return; } - if (currentLevel === quality) return; if (availableLevels.indexOf(quality) !== -1) { if (player.isEmbedded()) {