diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playlist.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index d23f3ec0d1..af5e1b5df0 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -1949,10 +1949,14 @@ void playlist_init(void) | |||
1949 | * Clean playlist at shutdown | 1949 | * Clean playlist at shutdown |
1950 | */ | 1950 | */ |
1951 | void playlist_shutdown(void) | 1951 | void playlist_shutdown(void) |
1952 | |||
1952 | { | 1953 | { |
1954 | /*BugFix we need to save resume info first */ | ||
1955 | /*if (usb_detect() == USB_INSERTED)*/ | ||
1956 | audio_stop(); | ||
1953 | struct playlist_info* playlist = ¤t_playlist; | 1957 | struct playlist_info* playlist = ¤t_playlist; |
1954 | playlist_write_lock(playlist); | 1958 | playlist_write_lock(playlist); |
1955 | 1959 | logf("Closing Control %s", __func__); | |
1956 | if (playlist->control_fd >= 0) | 1960 | if (playlist->control_fd >= 0) |
1957 | pl_close_control(playlist); | 1961 | pl_close_control(playlist); |
1958 | 1962 | ||