chore: add ICY poll logs
This commit is contained in:
@@ -14,6 +14,7 @@ export class IcyNowPlayingService {
|
|||||||
|
|
||||||
@Interval(60000)
|
@Interval(60000)
|
||||||
async pollIcyNowPlaying() {
|
async pollIcyNowPlaying() {
|
||||||
|
this.logger.log('Starting ICY now playing poll...');
|
||||||
const stations = await this.prisma.station.findMany({
|
const stations = await this.prisma.station.findMany({
|
||||||
where: { recordStationId: null, isOnline: true },
|
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(
|
private async parseIcyMetadata(
|
||||||
|
|||||||
Reference in New Issue
Block a user