update ui
This commit is contained in:
parent
b5eeffd998
commit
2f8a8025f3
3 changed files with 4 additions and 4 deletions
4
.github/workflows/update-yt-dlp.yml
vendored
4
.github/workflows/update-yt-dlp.yml
vendored
|
|
@ -11,8 +11,8 @@ jobs:
|
|||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.AUTOUPDATE_PAT }}
|
||||
# with:
|
||||
# token: ${{ secrets.AUTOUPDATE_PAT }}
|
||||
-
|
||||
name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ def get_opts(format: str, quality: str, ytdl_opts: dict) -> dict:
|
|||
)
|
||||
|
||||
# Add voice mono settings for MP3
|
||||
if format == "mp3" and quality == "voice_mono":
|
||||
if format == "mp3" and quality == "32_mono":
|
||||
opts["postprocessor_args"] = {
|
||||
"ffmpeg": ["-ac", "1", "-ar", "22050", "-q:a", "8"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ export const Formats: Format[] = [
|
|||
{ id: '320', text: '320 kbps' },
|
||||
{ id: '192', text: '192 kbps' },
|
||||
{ id: '128', text: '128 kbps' },
|
||||
{ id: 'voice_mono', text: 'Voice Mono' },
|
||||
{ id: '32_mono', text: '32 kbps(Mono)' },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue