rem: lines = g_strsplit (contents, "\n", 0);
add: if ( strstr(contents,"\x0d") == NULL ) split_char = "\n"; else split_char = "\x0d\n";  lines = g_strsplit (contents, split_char, 0);
context: gtk_playlist_add_m3u (GtkPlaylist *playlist, const char *mrl, gpointer data){	gboolean retval = FALSE;	char *contents, **lines;	int size, i;	if (my_eel_read_entire_file (mrl, &size, &contents) != GNOME_VFS_OK)		return FALSE;	contents = g_realloc (contents, size + 1);	contents[size] = '\0';	lines = g_strsplit (contents, "\n", 0);	g_free (contents);	for (i = 0; lines[i] != NULL; i++)	{		/* Either it's a URI, or it has a proper path */		if (strstr(lines[i], "://") != NULL				|| lines[i][0] == G_DIR_SEPARATOR)		{			/* We use the same code for .ram and m3u playlists,			 * and .ram files can contain .smil entries */			if (gtk_playlist_add_mrl (playlist,						lines[i], NULL) == TRUE)				retval = TRUE;		}	}	g_strfreev (lines);	return retval;}