diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-11-17 07:34:00 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-11-17 07:34:00 +0000 |
commit | ee1c231779c2e75c2d267e88ef859209a7c93d9c (patch) | |
tree | 2dadc9eed7e52ce184510b104da818ffbe81774a /apps/tree.c | |
parent | aeb60e20a30bc53e1fc9bfe605cce167f6fb55b4 (diff) | |
download | rockbox-ee1c231779c2e75c2d267e88ef859209a7c93d9c.tar.gz rockbox-ee1c231779c2e75c2d267e88ef859209a7c93d9c.zip |
move the scrobbler and playlist shutdown/restart calls out of tree.c and move them into the regular usb/shutdown handlers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19124 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c index dbc47e31b6..a3765d74d3 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -1085,11 +1085,9 @@ static void ft_play_filename(char *dir, char *file) | |||
1085 | /* These two functions are called by the USB and shutdown handlers */ | 1085 | /* These two functions are called by the USB and shutdown handlers */ |
1086 | void tree_flush(void) | 1086 | void tree_flush(void) |
1087 | { | 1087 | { |
1088 | scrobbler_shutdown(); | ||
1089 | #ifdef HAVE_TAGCACHE | 1088 | #ifdef HAVE_TAGCACHE |
1090 | tagcache_shutdown(); | 1089 | tagcache_shutdown(); |
1091 | #endif | 1090 | #endif |
1092 | playlist_shutdown(); | ||
1093 | 1091 | ||
1094 | #ifdef HAVE_TC_RAMCACHE | 1092 | #ifdef HAVE_TC_RAMCACHE |
1095 | tagcache_unload_ramcache(); | 1093 | tagcache_unload_ramcache(); |
@@ -1141,5 +1139,4 @@ void tree_restore(void) | |||
1141 | #ifdef HAVE_TAGCACHE | 1139 | #ifdef HAVE_TAGCACHE |
1142 | tagcache_start_scan(); | 1140 | tagcache_start_scan(); |
1143 | #endif | 1141 | #endif |
1144 | scrobbler_init(); | ||
1145 | } | 1142 | } |