parent
469fcf6707
commit
7f2e05284b
|
@ -318,7 +318,7 @@ file_type_get(const char *path) {
|
||||||
if (file_type_ignore(ext))
|
if (file_type_ignore(ext))
|
||||||
return FILE_IGNORE;
|
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;
|
return FILE_PLAYLIST;
|
||||||
|
|
||||||
if (strcasecmp(ext, ".smartpl") == 0)
|
if (strcasecmp(ext, ".smartpl") == 0)
|
||||||
|
|
|
@ -58,6 +58,8 @@ playlist_type(const char *path)
|
||||||
|
|
||||||
if (strcasecmp(ptr, ".m3u") == 0)
|
if (strcasecmp(ptr, ".m3u") == 0)
|
||||||
return PLAYLIST_M3U;
|
return PLAYLIST_M3U;
|
||||||
|
else if (strcasecmp(ptr, ".m3u8") == 0)
|
||||||
|
return PLAYLIST_M3U;
|
||||||
else if (strcasecmp(ptr, ".pls") == 0)
|
else if (strcasecmp(ptr, ".pls") == 0)
|
||||||
return PLAYLIST_PLS;
|
return PLAYLIST_PLS;
|
||||||
else if (strcasecmp(ptr, ".smartpl") == 0)
|
else if (strcasecmp(ptr, ".smartpl") == 0)
|
||||||
|
|
Loading…
Reference in New Issue