Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvijge committed Jun 4, 2022
1 parent 5686636 commit fee72f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -466,11 +466,11 @@ sub getStreamURL {
my $json = shift;

if ($prefs->get('playmethod') eq 'download' && exists($json->{'download_url'}) && defined($json->{'download_url'}) && $json->{'downloadable'} eq '1') {
$log-debug('download_url: ' . $json->{'download_url'});
$log->debug('download_url: ' . $json->{'download_url'});
return $json->{'download_url'};
}
else {
$log-debug('stream_url: ' . $json->{'stream_url'});
$log->debug('stream_url: ' . $json->{'stream_url'});
return $json->{'stream_url'};
}
}
Expand Down

0 comments on commit fee72f2

Please sign in to comment.