fix: Fixed the problem of m4a audio download bit rate being too low
This commit is contained in:
parent
592dd99e5a
commit
67f1b147cc
4 changed files with 34 additions and 50 deletions
|
|
@ -2,3 +2,4 @@
|
||||||
.venv
|
.venv
|
||||||
ui/.angular
|
ui/.angular
|
||||||
ui/node_modules
|
ui/node_modules
|
||||||
|
/.idea/*
|
||||||
|
|
|
||||||
77
.github/workflows/main.yml
vendored
77
.github/workflows/main.yml
vendored
|
|
@ -6,60 +6,41 @@ on:
|
||||||
- 'master'
|
- 'master'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dockerhub-build-push:
|
push_to_registries:
|
||||||
|
name: Push Docker image to multiple registries
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
packages: write
|
||||||
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Check out the repo
|
||||||
name: Get current date
|
uses: actions/checkout@v3
|
||||||
id: date
|
|
||||||
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
- name: Set up QEMU
|
||||||
-
|
uses: docker/setup-qemu-action@v2
|
||||||
name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
- name: Set up Docker Buildx
|
||||||
-
|
uses: docker/setup-buildx-action@v2
|
||||||
name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3
|
- name: Log in to the Container registry
|
||||||
-
|
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||||
name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
-
|
|
||||||
name: Login to DockerHub
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
||||||
-
|
|
||||||
name: Login to GitHub Container Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
-
|
|
||||||
name: Build and push
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
uses: docker/build-push-action@v5
|
id: meta
|
||||||
|
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
||||||
|
with:
|
||||||
|
images: |
|
||||||
|
ghcr.io/${{ github.repository }}
|
||||||
|
|
||||||
|
- name: Build and push Docker images
|
||||||
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
${{ secrets.DOCKERHUB_REPOSITORY }}:latest
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
${{ secrets.DOCKERHUB_REPOSITORY }}:${{ steps.date.outputs.date }}
|
|
||||||
ghcr.io/${{ github.repository }}:latest
|
|
||||||
ghcr.io/${{ github.repository }}:${{ steps.date.outputs.date }}
|
|
||||||
|
|
||||||
dockerhub-sync-readme:
|
|
||||||
needs: dockerhub-build-push
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Sync README
|
|
||||||
uses: docker://lsiodev/readme-sync:latest
|
|
||||||
env:
|
|
||||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
|
|
||||||
GIT_REPOSITORY: ${{ github.repository }}
|
|
||||||
DOCKER_REPOSITORY: ${{ secrets.DOCKERHUB_REPOSITORY }}
|
|
||||||
GIT_BRANCH: master
|
|
||||||
with:
|
|
||||||
entrypoint: node
|
|
||||||
args: /opt/docker-readme-sync/sync
|
|
||||||
|
|
|
||||||
5
.github/workflows/update-yt-dlp.yml
vendored
5
.github/workflows/update-yt-dlp.yml
vendored
|
|
@ -1,8 +1,9 @@
|
||||||
name: update-yt-dlp
|
name: update-yt-dlp
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
workflow_dispatch:
|
||||||
- cron: '0 0 * * *'
|
# schedule:
|
||||||
|
# - cron: '0 0 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-yt-dlp :
|
update-yt-dlp :
|
||||||
|
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -47,3 +47,4 @@ Thumbs.db
|
||||||
|
|
||||||
__pycache__
|
__pycache__
|
||||||
.venv
|
.venv
|
||||||
|
/.idea/*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue