Update scripts

This commit is contained in:
freearhey committed 2026-09-18 11:31:21 +03:00
1 parent 9902121ac0
commit 9d7cac7bda
21 files changed
+129 -55

No files matched your search

+1 -2
View File
@@ -24,7 +24,6 @@ export class IndexLanguageGenerator implements Generator {
async generate(): Promise<void> {
let groupedStreams = new Collection<Stream>()
this.streams
.sortBy((stream: Stream) => stream.title)
.filter((stream: Stream) => stream.isSFW())
.forEach((stream: Stream) => {
const streamLanguages = stream.getLanguages()
@@ -47,7 +46,7 @@ export class IndexLanguageGenerator implements Generator {
return stream.groupTitle
})
const playlist = new Playlist(groupedStreams, { public: true })
const playlist = new Playlist(groupedStreams, { public: true, raw: false })
const filepath = 'index.language.m3u'
await this.storage.save(filepath, playlist.toString())
this.logFile.append(