Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
waldoj committed Jan 23, 2024
1 parent 32fc427 commit d25251d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cron/poll_house_video.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,10 @@
$pattern_match = '/"Url":"(.+\.mp4)"/';
preg_match($pattern_match, $video_html, $matches);
if (preg_match($pattern_match, $video_html, $matches) != true) {

// If there's no MP4, there may be a M3U playlist
$pattern_match = '/"Url":"(.+\.m3u8)"/';
preg_match($pattern_match, $video_html, $matches);
if (preg_match($pattern_match, $video_html, $matches) != true) {

$log->put('Skipping video, because no video URL could be found on the web page: '
. $video_url, 3);

Expand Down

0 comments on commit d25251d

Please sign in to comment.