mirror of
https://github.com/iptv-org/iptv.git
synced 2026-11-24 01:01:01 +02:00
Update scripts
This commit is contained in:
@@ -25,7 +25,6 @@ export class IndexCountryGenerator implements Generator {
|
||||
let groupedStreams = new Collection<Stream>()
|
||||
|
||||
this.streams
|
||||
.sortBy((stream: Stream) => stream.title)
|
||||
.filter((stream: Stream) => stream.isSFW())
|
||||
.forEach((stream: Stream) => {
|
||||
const broadcastAreaCountries = stream.getBroadcastCountries()
|
||||
@@ -57,7 +56,7 @@ export class IndexCountryGenerator implements Generator {
|
||||
return stream.groupTitle
|
||||
})
|
||||
|
||||
const playlist = new Playlist(groupedStreams, { public: true })
|
||||
const playlist = new Playlist(groupedStreams, { public: true, raw: false })
|
||||
const filepath = 'index.country.m3u'
|
||||
await this.storage.save(filepath, playlist.toString())
|
||||
this.logFile.append(
|
||||
|
||||
Reference in New Issue
Block a user