mirror of
https://github.com/kou029w/_.git
synced 2025-01-30 22:08:02 +00:00
create metube
This commit is contained in:
parent
0bda09bafb
commit
c2ea74cf70
2 changed files with 22 additions and 0 deletions
13
metube/compose.yml
Normal file
13
metube/compose.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
services:
|
||||||
|
metube:
|
||||||
|
image: ghcr.io/alexta69/metube
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "8081:8081"
|
||||||
|
volumes:
|
||||||
|
- ./config:/etc/metube
|
||||||
|
- ./downloads:/downloads
|
||||||
|
environment:
|
||||||
|
YTDL_OPTIONS_FILE: /etc/metube/ytdl_options.json
|
||||||
|
DOWNLOAD_DIR: /downloads/Music
|
||||||
|
OUTPUT_TEMPLATE: "%(artist,uploader|Unknown)s,%(album,artist,uploader)s,%(title)s [%(id)s].%(ext)s"
|
9
metube/config/ytdl_options.json
Normal file
9
metube/config/ytdl_options.json
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"format": "bestaudio/best",
|
||||||
|
"writethumbnail": true,
|
||||||
|
"postprocessors": [
|
||||||
|
{ "key": "FFmpegExtractAudio" },
|
||||||
|
{ "key": "FFmpegMetadata" },
|
||||||
|
{ "key": "EmbedThumbnail" }
|
||||||
|
]
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue