mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-05 02:38:09 -05:00
parent
469fcf6707
commit
7f2e05284b
@ -318,7 +318,7 @@ file_type_get(const char *path) {
|
||||
if (file_type_ignore(ext))
|
||||
return FILE_IGNORE;
|
||||
|
||||
if ((strcasecmp(ext, ".m3u") == 0) || (strcasecmp(ext, ".pls") == 0))
|
||||
if ((strcasecmp(ext, ".m3u") == 0) || (strcasecmp(ext, ".pls") == 0) || (strcasecmp(ext, ".m3u8") == 0))
|
||||
return FILE_PLAYLIST;
|
||||
|
||||
if (strcasecmp(ext, ".smartpl") == 0)
|
||||
|
@ -58,6 +58,8 @@ playlist_type(const char *path)
|
||||
|
||||
if (strcasecmp(ptr, ".m3u") == 0)
|
||||
return PLAYLIST_M3U;
|
||||
else if (strcasecmp(ptr, ".m3u8") == 0)
|
||||
return PLAYLIST_M3U;
|
||||
else if (strcasecmp(ptr, ".pls") == 0)
|
||||
return PLAYLIST_PLS;
|
||||
else if (strcasecmp(ptr, ".smartpl") == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user