소스 검색

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 =