summaryrefslogtreecommitdiff
path: root/streamer.c
diff options
context:
space:
mode:
Diffstat (limited to 'streamer.c')
-rw-r--r--streamer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/streamer.c b/streamer.c
index 57acce7d..1108466f 100644
--- a/streamer.c
+++ b/streamer.c
@@ -843,6 +843,7 @@ streamer_set_current (playItem_t *it) {
*sc = 0;
}
+ // FIXME: can be race condition if config changes during this
ctmap = streamer_ctmap;
while (ctmap) {
if (!strcmp (cct, ctmap->ct)) {
@@ -2333,6 +2334,9 @@ streamer_configchanged (void) {
formatchanged = 1;
streamer_reset (1);
}
+
+ // FIXME: only if changed (can compare strings)
+ ctmap_init ();
}
void