feat(files): add possibility to set the audio quality of downloaded files

it is possible now to se audio quality of files using environment variables (QUALITY)

close #39
This commit is contained in:
Raiper34
2026-02-07 14:14:48 +00:00
parent 4123238f6c
commit bb44b43974
3 changed files with 19 additions and 16 deletions
+1
View File
@@ -2,6 +2,7 @@ DB_PATH=./config/db.sqlite
FE_PATH=../frontend/browser
DOWNLOADS_PATH=./downloads
FORMAT=mp3
QUALITY=
PORT=3000
REDIS_PORT=6379
REDIS_HOST=localhost
@@ -42,6 +42,7 @@ export class YoutubeService {
cookiesFromBrowser: this.configService.get<string>('YT_COOKIES'),
headers: HEADERS,
jsRuntime: 'node',
audioQuality: this.configService.get<string>('QUALITY'),
},
);
this.logger.debug(