summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playlist.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 83bce9036b..fa448a0adc 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -3420,6 +3420,12 @@ int playlist_save(struct playlist_info* playlist, char *filename)
3420 display_playlist_count(count, ID2P(LANG_PLAYLIST_SAVE_COUNT), false); 3420 display_playlist_count(count, ID2P(LANG_PLAYLIST_SAVE_COUNT), false);
3421 3421
3422 cpu_boost(true); 3422 cpu_boost(true);
3423
3424 if (is_m3u8(path))
3425 {
3426 /* some applications require a BOM to read the file properly */
3427 write(fd, BOM, BOM_SIZE);
3428 }
3423 3429
3424 index = playlist->first_index; 3430 index = playlist->first_index;
3425 for (i=0; i<playlist->amount; i++) 3431 for (i=0; i<playlist->amount; i++)