diff --git a/modules/media-centre/10-install-yt-dlp.sh b/modules/media-centre/10-install-yt-dlp.sh new file mode 100644 index 0000000..569c852 --- /dev/null +++ b/modules/media-centre/10-install-yt-dlp.sh @@ -0,0 +1,3 @@ +#!/bin/bash +apt-get update && apt-get install -y python3-pip +python3 -m pip install -U yt-dlp \ No newline at end of file diff --git a/modules/media-centre/jobspec.json b/modules/media-centre/jobspec.json index fb52009..54a644c 100644 --- a/modules/media-centre/jobspec.json +++ b/modules/media-centre/jobspec.json @@ -38,10 +38,10 @@ } ] }, - "Artifacts": [ + "Templates": [ { - "GetterSource": "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp", - "RelativeDest": "usr/local/bin/yt-dlp" + "SourcePath": "./10-install-yt-dlp.sh", + "DestPath": "/custom-cont-init.d/10-install-yt-dlp.sh" } ], "Env": {