comparison src/audacious/playlist.c @ 2493:b7f48f00a342 trunk

[svn] - patch from Mark Glines to ad https:// URI support to playlists.
author nenolod
date Sat, 10 Feb 2007 12:29:21 -0800
parents e56a55d07935
children 15a1f5ee4d1c
comparison
equal deleted inserted replaced
2492:ea80fe9c3ba4 2493:b7f48f00a342
706 vfs_fclose(file); 706 vfs_fclose(file);
707 707
708 for (p = buf; r-- > 0 && (*p == '\r' || *p == '\n'); p++); 708 for (p = buf; r-- > 0 && (*p == '\r' || *p == '\n'); p++);
709 709
710 if (r > 5 && str_has_prefix_nocase(p, "http:")) { 710 if (r > 5 && str_has_prefix_nocase(p, "http:")) {
711 playlist_load_ins(playlist, filename, pos);
712 return TRUE;
713 }
714
715 if (r > 6 && str_has_prefix_nocase(p, "https:")) {
711 playlist_load_ins(playlist, filename, pos); 716 playlist_load_ins(playlist, filename, pos);
712 return TRUE; 717 return TRUE;
713 } 718 }
714 719
715 return FALSE; 720 return FALSE;