File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export async function downloadPublicMedia(url: string): Promise<DownloadMediaRes
1818 try {
1919 await mkdir ( outputPath , { recursive : true } )
2020 const proc = Bun . spawn ( [
21- './ yt-dlp' ,
21+ 'yt-dlp' ,
2222 '-x' , // Extract audio
2323 '--audio-format' ,
2424 'mp3' ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ zerops:
2222 - bun install
2323 - bun run postinstall
2424 - bun run validateEnv
25- - bun x nx build:executable backend
25+ - bun x nx build:executable backend --verbose --skip-nx-cache
2626 - ls apps/backend
2727 deployFiles :
2828 - apps/backend/dist
@@ -38,6 +38,10 @@ zerops:
3838 - port : 3000
3939 httpSupport : true
4040 prepareCommands :
41+ - echo "Installing ffmpeg"
42+ - add-apt-repository universe
43+ - apt upgrade -y
44+ - apt install -y ffmpeg
4145 - echo "Installing yt-dlp"
4246 - curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/bin/yt-dlp
4347 - chmod a+rx /usr/bin/yt-dlp # Make executable
You can’t perform that action at this time.
0 commit comments