livestream code refactoring

This commit is contained in:
2024-08-24 13:59:13 +02:00
parent d4feefd639
commit a4cfc53581
2 changed files with 9 additions and 29 deletions

View File

@@ -87,7 +87,11 @@ func (l *LiveStream) Start() error {
l.done <- l
// Send the started livestream to the message queue! :D
p := &internal.Process{Url: l.url, Livestream: true}
p := &internal.Process{
Url: l.url,
Livestream: true,
Params: []string{"--downloader", "ffmpeg", "--ppa", "\"Merger+ffmpeg_i1:-v quiet\""},
}
l.db.Set(p)
l.mq.Publish(p)