mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
playlist_save() was a poorly thought out mess. This fixes the glaring issues and hopefully ensures that saving the playlist never loses state (such as queued tracks or modified status) after save+resume. Indices are now updated on the fly, which is faster and needs no extra memory. But if an error occurs, the playlist will be corrupted. There is currently no attempt to handle this since errors should be unlikely, but some error handling needs to be added in the future. Change-Id: If8a5dbd6a596460be08ee0b7bab9f24337886ea4 |
||
|---|---|---|
| .. | ||
| audiohw_eq_menu.c | ||
| display_menu.c | ||
| eq_menu.c | ||
| eq_menu.h | ||
| exported_menus.h | ||
| main_menu.c | ||
| menu_common.c | ||
| menu_common.h | ||
| playback_menu.c | ||
| playlist_menu.c | ||
| plugin_menu.c | ||
| radio_menu.c | ||
| recording_menu.c | ||
| settings_menu.c | ||
| sound_menu.c | ||
| theme_menu.c | ||
| time_menu.c | ||