chore: add ICY poll logs

This commit is contained in:
nk
2026-06-02 20:08:17 +03:00
parent 1b0c59264f
commit 0dee9d56b7

View File

@@ -14,6 +14,7 @@ export class IcyNowPlayingService {
@Interval(60000)
async pollIcyNowPlaying() {
this.logger.log('Starting ICY now playing poll...');
const stations = await this.prisma.station.findMany({
where: { recordStationId: null, isOnline: true },
});
@@ -50,6 +51,7 @@ export class IcyNowPlayingService {
);
}
}
this.logger.log(`ICY poll complete for ${stations.length} stations`);
}
private async parseIcyMetadata(