mirror of
https://github.com/iptv-org/iptv
synced 2026-09-09 05:17:04 -04:00
Update generate.ts
This commit is contained in:
@@ -56,7 +56,9 @@ async function main() {
|
||||
)
|
||||
|
||||
logger.info('filtering streams...')
|
||||
streams = streams.uniqBy((stream: Stream) => stream.getId() || uniqueId())
|
||||
streams = streams
|
||||
.filter((stream: Stream) => !!stream.getId())
|
||||
.uniqBy((stream: Stream) => stream.getId() || uniqueId())
|
||||
|
||||
const { categories, countries, subdivisions, cities, regions } = data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user