mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 05:59:45 -05:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user