File tree 2 files changed +6
-2
lines changed
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
18
18
try {
19
19
await mkdir ( outputPath , { recursive : true } )
20
20
const proc = Bun . spawn ( [
21
- './ yt-dlp' ,
21
+ 'yt-dlp' ,
22
22
'-x' , // Extract audio
23
23
'--audio-format' ,
24
24
'mp3' ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ zerops:
22
22
- bun install
23
23
- bun run postinstall
24
24
- bun run validateEnv
25
- - bun x nx build:executable backend
25
+ - bun x nx build:executable backend --verbose --skip-nx-cache
26
26
- ls apps/backend
27
27
deployFiles :
28
28
- apps/backend/dist
@@ -38,6 +38,10 @@ zerops:
38
38
- port : 3000
39
39
httpSupport : true
40
40
prepareCommands :
41
+ - echo "Installing ffmpeg"
42
+ - add-apt-repository universe
43
+ - apt upgrade -y
44
+ - apt install -y ffmpeg
41
45
- echo "Installing yt-dlp"
42
46
- curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/bin/yt-dlp
43
47
- chmod a+rx /usr/bin/yt-dlp # Make executable
You can’t perform that action at this time.
0 commit comments