summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c
index 7f44d89..7333f7d 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -420,7 +420,8 @@ static void init(void)
global_settings.superbass);
#endif /* CONFIG_CODEC != SWCODEC */
- scrobbler_init();
+ if (global_settings.audioscrobbler)
+ scrobbler_init();
audio_init();
@@ -700,7 +701,10 @@ static void init(void)
playlist_init();
tree_mem_init();
filetype_init();
- scrobbler_init();
+
+ if (global_settings.audioscrobbler)
+ scrobbler_init();
+
shortcuts_init();
#if CONFIG_CODEC != SWCODEC