Skip to content

Commit

Permalink
Fix: Accept https as url in playlist.
Browse files Browse the repository at this point in the history
  • Loading branch information
Moses Moore authored and tomaszg7 committed Oct 14, 2023
1 parent 7cee781 commit 95f76bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ void files_cleanup ()
inline int is_url (const char *str)
{
return !strncasecmp (str, "http://", sizeof ("http://") - 1)
|| !strncasecmp (str, "https://", sizeof ("https://") - 1)
|| !strncasecmp (str, "ftp://", sizeof ("ftp://") - 1);
}

Expand Down

0 comments on commit 95f76bd

Please sign in to comment.