From 231b272f820445472f07f54796ceeb75c3d642c0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 30 Mar 2022 13:20:29 +0200 Subject: Good progress --- src/c_defs.go | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/c_defs.go') diff --git a/src/c_defs.go b/src/c_defs.go index b2c5474..41174b9 100644 --- a/src/c_defs.go +++ b/src/c_defs.go @@ -55,13 +55,24 @@ const ( SECS = 2 INTERVAL = 500 LOG_FORMAT = "bad time format" - DEF_FILES = "/usr/home/jozan/mu/progressive/progressive_black_metal/deathspell_omega/2010_paracletus/02_wings_of_predation.flac" DEF_MEDIA_PLAYER = "mpv" - DEF_PLAYER_OPTIONS = []string{"--no-video", "--loop"} DEF_RANDOM = true DEF_USE_FORTUNE = true ) +func DEF_FILES() []string { + return []string{ + "/usr/home/jozan/mu/progressive/progressive_black_metal/deathspell_omega/2010_paracletus/02_wings_of_predation.flac", + } +} + +func DEF_PLAYER_OPTIONS() []string { + return []string{ + "--no-video", + "--loop", + } +} + type options struct { files []string media_player string -- cgit v1.2.3