diff --git a/README.md b/README.md index 8321637..f7fd6b2 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,8 @@ Canopy -0.1-Alpha (Panama Red) - Hotfix 5 +0.1-Alpha (Panama Red) - Hotfix 4 ========= -(This build is an offshoot branch as a lazy way to apply this update both to current and future code in the dev branch) Canopy - /ˈkæ.nə.pi/: - The upper layer of foliage and branches of a forest, containing the majority of animal life. diff --git a/package.json b/package.json index e9b53e8..8d3c69d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "canopy-of-alpha", - "version": "0.1.5", - "canopyDisplayVersion": "0.1-Alpha (Panama Red) - Hotfix 5", + "version": "0.1.4", + "canopyDisplayVersion": "0.1-Alpha (Panama Red) - Hotfix 4", "license": "AGPL-3.0-only", "dependencies": { "@braintree/sanitize-url": "^7.1.1", diff --git a/src/app/channel/media/queue.js b/src/app/channel/media/queue.js index 31cf72d..0036019 100644 --- a/src/app/channel/media/queue.js +++ b/src/app/channel/media/queue.js @@ -353,12 +353,6 @@ class queue{ throw loggerUtils.exceptionSmith(`Unable to find channel document ${this.channel.name} while queue item!`, "queue"); } - //If the user doesn't have permission to be doing this shit - if(!((!this.locked && await chanDB.permCheck(socket.user, 'scheduleMedia')) || await chanDB.permCheck(socket.user, 'scheduleAdmin'))){ - //Fuggettabouttit! - return; - } - //If something is playing if(this.nowPlaying != null){ //Capture currently playing object @@ -405,7 +399,7 @@ class queue{ ); //Validate mode input, and default to overwrite - this.liveMode = (data != null && data.mode == "pushback") ? "pushback" : "overwrite"; + this.liveMode = (data.mode == "pushback") ? "pushback" : "overwrite"; //Throw stream lock this.streamLock = true;