From 4f1328353270d0a1c2920ce72ad7396f6353e364 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Sat, 5 Oct 2019 16:22:16 +0200 Subject: [PATCH] no begin in playlist --- resources/player.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/player.php b/resources/player.php index 20e2ac5c..0aa8486c 100644 --- a/resources/player.php +++ b/resources/player.php @@ -44,9 +44,8 @@ if(!empty($_GET['track'])) { $content = file_get_contents($json_path) or die("Error: Cannot create object"); $json = json_decode($content, true); - list($hh, $mm, $ss) = explode(":", $json["begin"]); list($l_hh, $l_mm, $l_ss) = explode(":", $json["length"]); - $begin = $hh * 3600 + $mm * 60 + $ss; + $begin = $start_time; $length = $l_hh * 3600 + $l_mm * 60 + $l_ss; $src_re = array();