git.cweiske.de
/
playVideoOnDreamboxProxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Better error reporting for errors when sending video to dreambox
[playVideoOnDreamboxProxy.git]
/
www
/
play.php
diff --git
a/www/play.php
b/www/play.php
index 983cd7ff37f166ad2d13b1e61dc5a4f9ff1e6a3d..810995123a9881030249c296421364ec3b657b45 100644
(file)
--- a/
www/play.php
+++ b/
www/play.php
@@
-8,6
+8,8
@@
if (file_exists($cfgFile)) {
include $cfgFile;
}
+set_error_handler('errorHandlerStore');
+
$pageUrl = getPageUrl();
$json = getYoutubeDlJson($pageUrl, $youtubedlPath);
$videoUrl = extractVideoUrlFromJson($json);