feat(now-playing): Radio ROKS через TavR Media API (трек + обложки)
Главный канал ROKS не отдаёт трек по ICY (StreamTitle пустой), сабканалы — без обложек. Новый RoksNowPlayingService опрашивает o.tavr.media/roks (главный) и /roks4songs (сабканалы по type ukr/bal/new/har), отдаёт и трек, и обложку static.radioroks.ua. Исключил genre='Radio ROKS' из ICY-поллера.
This commit is contained in:
@@ -29,7 +29,15 @@ export class IcyNowPlayingService {
|
||||
const where = {
|
||||
recordStationId: null,
|
||||
isOnline: true,
|
||||
genre: { notIn: ['DFM', 'MAXIMUM', 'Love Radio', 'Radio Monte Carlo'] },
|
||||
genre: {
|
||||
notIn: [
|
||||
'DFM',
|
||||
'MAXIMUM',
|
||||
'Love Radio',
|
||||
'Radio Monte Carlo',
|
||||
'Radio ROKS',
|
||||
],
|
||||
},
|
||||
NOT: { streamUrl: { contains: 'emgsound.ru' } },
|
||||
};
|
||||
const total = await this.prisma.station.count({ where });
|
||||
|
||||
Reference in New Issue
Block a user