Skip to content

Commit ab5451e

Browse files
committed
added FILTER_LIST variable
1 parent e72822b commit ab5451e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

sample.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ YOUTUBE_API_KEY=
2424
# FFMPEG_PATH=
2525
# Assign a custom path to yt-dlp
2626
# YTDLP_PATH=
27+
# Keywords to ignore on videos downloaded by youtube (separated by only commas)
28+
# FILTER_LIST="live,remix,instrumental"
2729
# Library in Jellyfin/Plex to use (optional, leave empty to create a new library based on DOWNLOAD_DIR)
2830
# LIBRARY_NAME=
2931
# Define a custom filename sepatator for special characters

src/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ type Youtube struct {
6565
Separator string `env:"FILENAME_SEPARATOR" env-default:" "`
6666
FfmpegPath string `env:"FFMPEG_PATH"`
6767
YtdlpPath string `env:"YTDLP_PATH"`
68-
FilterList []string `env:"FILTERLIST" env-default:"live,remix,instrumental"`
68+
FilterList []string `env:"FILTER_LIST" env-default:"live,remix,instrumental"`
6969
}
7070
type Listenbrainz struct {
7171
Discovery string `env:"LISTENBRAINZ_DISCOVERY" env-default:"playlist"`

0 commit comments

Comments
 (0)