Merge pull request #2 from jingle3276/ytdl

update ui
This commit is contained in:
Ying Zhao 2025-05-19 20:20:14 -04:00 committed by GitHub
commit 389f17c319
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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"]
}

View file

@ -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)' },
],
},
{