Skip to content

Commit

Permalink
change default values
Browse files Browse the repository at this point in the history
  • Loading branch information
LumePart committed Jan 12, 2025
1 parent 9aa70c3 commit 4157395
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ YOUTUBE_API_KEY=
# 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 in Emby/Jellyfin/Plex to use (optional, leave empty to create a new library based on DOWNLOAD_DIR)
# PS! When defining a pre-made library make sure that it doesn't overwrite file metadata.
# LIBRARY_NAME=
# Define a custom filename sepatator for special characters
Expand Down
4 changes: 2 additions & 2 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Config struct {
Listenbrainz Listenbrainz
Creds Credentials
URL string `env:"SYSTEM_URL"`
Sleep int `env:"SLEEP" env-default:"1"`
Sleep int `env:"SLEEP" env-default:"2"`
PlaylistDir string `env:"PLAYLIST_DIR"`
Persist bool `env:"PERSIST" env-default:"true"`
System string `env:"EXPLO_SYSTEM"`
Expand Down Expand Up @@ -70,7 +70,7 @@ type Youtube struct {
type Listenbrainz struct {
Discovery string `env:"LISTENBRAINZ_DISCOVERY" env-default:"playlist"`
User string `env:"LISTENBRAINZ_USER"`
SingleArtist bool `env:"SINGLE_ARTIST" env-default:"false"`
SingleArtist bool `env:"SINGLE_ARTIST" env-default:"true"`
}

type Song struct {
Expand Down

0 comments on commit 4157395

Please sign in to comment.