diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c index 70b83f8934..bfb6412bfe 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -65,6 +65,7 @@ | |||
65 | #include "yesno.h" | 65 | #include "yesno.h" |
66 | #include "gwps-common.h" | 66 | #include "gwps-common.h" |
67 | #include "eeprom_settings.h" | 67 | #include "eeprom_settings.h" |
68 | #include "scrobbler.h" | ||
68 | 69 | ||
69 | /* gui api */ | 70 | /* gui api */ |
70 | #include "list.h" | 71 | #include "list.h" |
@@ -1378,6 +1379,7 @@ void ft_play_filename(char *dir, char *file) | |||
1378 | /* These two functions are called by the USB and shutdown handlers */ | 1379 | /* These two functions are called by the USB and shutdown handlers */ |
1379 | void tree_flush(void) | 1380 | void tree_flush(void) |
1380 | { | 1381 | { |
1382 | scrobbler_shutdown(); | ||
1381 | tagcache_shutdown(); | 1383 | tagcache_shutdown(); |
1382 | playlist_shutdown(); | 1384 | playlist_shutdown(); |
1383 | 1385 | ||
@@ -1439,4 +1441,5 @@ void tree_restore(void) | |||
1439 | } | 1441 | } |
1440 | #endif | 1442 | #endif |
1441 | tagcache_start_scan(); | 1443 | tagcache_start_scan(); |
1444 | scrobbler_init(); | ||
1442 | } | 1445 | } |