Mercurial > hg > xmms-sid
diff src/xs_config.c @ 243:0cd0c02ed6c4
Added "apply min playtime only when song-length is unknown" option.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 21 Dec 2004 16:08:03 +0000 |
parents | 608f31f6c095 |
children | 8aea483e9016 |
line wrap: on
line diff
--- a/src/xs_config.c Tue Dec 21 15:18:03 2004 +0000 +++ b/src/xs_config.c Tue Dec 21 16:08:03 2004 +0000 @@ -69,6 +69,7 @@ {CTYPE_BOOL, &xs_cfg.playMaxTimeUnknown, "playMaxTimeUnknown"}, {CTYPE_INT, &xs_cfg.playMaxTime, "playMaxTime"}, {CTYPE_BOOL, &xs_cfg.playMinTimeEnable, "playMinTimeEnable"}, + {CTYPE_BOOL, &xs_cfg.playMinTimeUnknown, "playMinTimeUnknown"}, {CTYPE_INT, &xs_cfg.playMinTime, "playMinTime"}, {CTYPE_BOOL, &xs_cfg.songlenDBEnable, "songlenDBEnable"}, {CTYPE_STR, &xs_cfg.songlenDBPath, "songlenDBPath"}, @@ -122,6 +123,7 @@ { WTYPE_BUTTON, CTYPE_BOOL, "cfg_maxtime_unknown", &xs_cfg.playMaxTimeUnknown, 0 }, { WTYPE_SPIN, CTYPE_INT, "cfg_maxtime", &xs_cfg.playMaxTime, 0 }, { WTYPE_BUTTON, CTYPE_BOOL, "cfg_mintime_enable", &xs_cfg.playMinTimeEnable, 0 }, +{ WTYPE_BUTTON, CTYPE_BOOL, "cfg_mintime_unknown", &xs_cfg.playMinTimeUnknown, 0 }, { WTYPE_SPIN, CTYPE_INT, "cfg_mintime", &xs_cfg.playMinTime, 0 }, { WTYPE_BUTTON, CTYPE_BOOL, "cfg_sld_enable", &xs_cfg.songlenDBEnable, 0 }, { WTYPE_TEXT, CTYPE_STR, "cfg_sld_dbpath", &xs_cfg.songlenDBPath, 0 }, @@ -210,6 +212,7 @@ xs_cfg.playMaxTime = 150; xs_cfg.playMinTimeEnable = TRUE; + xs_cfg.playMinTimeUnknown = FALSE; xs_cfg.playMinTime = 15; xs_cfg.songlenDBEnable = FALSE;