Remove support for iTunes XML playlist

No plans for OS X nor Windows in the near future, and those are most
probably useless on other platforms.
This commit is contained in:
Julien BLACHE
2009-04-20 16:47:03 +02:00
parent 831016bb05
commit 69d6acad37
3 changed files with 2 additions and 28 deletions

View File

@@ -312,7 +312,6 @@ static void
process_playlist(char *file)
{
char *ext;
char *filename;
ext = strrchr(file, '.');
if (ext)
@@ -321,19 +320,6 @@ process_playlist(char *file)
{
scan_m3u_playlist(file);
return;
}
}
filename = strrchr(file, '/');
if (filename)
{
filename++;
if ((strcmp(filename, "iTunes Music Library.xml") == 0)
|| (strcmp(filename, "iTunes Library.xml") == 0))
{
scan_xml_playlist(file);
return;
}
}
@@ -396,8 +382,7 @@ process_file(char *file, time_t mtime, off_t size, int compilation, int bulk)
ext = strrchr(file, '.');
if (ext)
{
if ((strcmp(ext, ".m3u") == 0)
|| (strcmp(ext, ".xml") == 0))
if (strcmp(ext, ".m3u") == 0)
{
if (bulk)
defer_playlist(file);