Skip to content

Commit 5fb3b96

Browse files
committed
Use http instead of https channels; it's a little bit faster
If channels.json is retrieved via http, the pls for each channel are also http. However, the streams inside the pls playlist are always https
1 parent 74e2ab5 commit 5fb3b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use constant HTTP_TIMEOUT => 15;
2222
use constant HTTP_CACHE => 1;
2323
use constant HTTP_EXPIRES => '1h';
2424

25-
use constant CHANNEL_API => 'https://api.somafm.com/channels.json';
25+
use constant CHANNEL_API => 'http://api.somafm.com/channels.json';
2626

2727
my $log;
2828

0 commit comments

Comments
 (0)