浏览代码

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

Kristian Vos 3 年之前
父节点
当前提交
6f81db8ac5
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 =