Skip to content

Commit

Permalink
added FILTER_LIST variable
Browse files Browse the repository at this point in the history
  • Loading branch information
LumePart committed Jan 4, 2025
1 parent e72822b commit ab5451e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ YOUTUBE_API_KEY=
# FFMPEG_PATH=
# Assign a custom path to yt-dlp
# YTDLP_PATH=
# Keywords to ignore on videos downloaded by youtube (separated by only commas)
# FILTER_LIST="live,remix,instrumental"
# Library in Jellyfin/Plex to use (optional, leave empty to create a new library based on DOWNLOAD_DIR)
# LIBRARY_NAME=
# Define a custom filename sepatator for special characters
Expand Down
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type Youtube struct {
Separator string `env:"FILENAME_SEPARATOR" env-default:" "`
FfmpegPath string `env:"FFMPEG_PATH"`
YtdlpPath string `env:"YTDLP_PATH"`
FilterList []string `env:"FILTERLIST" env-default:"live,remix,instrumental"`
FilterList []string `env:"FILTER_LIST" env-default:"live,remix,instrumental"`
}
type Listenbrainz struct {
Discovery string `env:"LISTENBRAINZ_DISCOVERY" env-default:"playlist"`
Expand Down

0 comments on commit ab5451e

Please sign in to comment.