Update scripts

This commit is contained in:
freearhey
2025-07-20 00:30:29 +03:00
parent 5b16467a64
commit feac6b6191
9 changed files with 41 additions and 38 deletions

View File

@@ -129,7 +129,7 @@ async function editStreams({
.withChannel(channelsKeyById)
.withFeed(feedsGroupedByChannelId)
.updateId()
.updateName()
.updateTitle()
.updateFilepath()
}
@@ -173,11 +173,11 @@ async function addStreams({
const directives = data.getArray('directives') || []
const stream = new Stream({
channel: channelId,
feed: feedId,
name: data.getString('channelName') || channel.name,
channelId,
feedId,
title: channel.name,
url: streamUrl,
user_agent: httpUserAgent,
userAgent: httpUserAgent,
referrer: httpReferrer,
directives,
quality,
@@ -185,7 +185,7 @@ async function addStreams({
})
.withChannel(channelsKeyById)
.withFeed(feedsGroupedByChannelId)
.updateName()
.updateTitle()
.updateFilepath()
streams.add(stream)