Browse Source

Fixed small issue where station would send videoData event to AW if no song was playing

Kristian Vos 3 years ago
parent
commit
6f81db8ac5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/src/pages/Station/index.vue

+ 1 - 1
frontend/src/pages/Station/index.vue

@@ -1845,7 +1845,7 @@ export default {
 			);
 		},
 		sendActivityWatchVideoData() {
-			if (!this.stationPaused && !this.localPaused && this.currentSong) {
+			if (!this.stationPaused && !this.localPaused && !this.noSong) {
 				if (this.activityWatchVideoLastStatus !== "playing") {
 					this.activityWatchVideoLastStatus = "playing";
 					this.activityWatchVideoLastStartDuration =