Skip to content

Commit 5a82c4f

Browse files
committed
chore: Add DOCTYPE to EPG output for player compatibility
1 parent ebab141 commit 5a82c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/EpgGenerateController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function compressed(string $uuid)
8181
private function generate($playlist)
8282
{
8383
// Output the XML header
84-
echo '<?xml version="1.0" encoding="UTF-8"?>
84+
echo '<?xml version="1.0" encoding="utf-8" ?><!DOCTYPE tv SYSTEM "xmltv.dtd">
8585
<tv generator-info-name="Generated by m3u editor" generator-info-url="' . url('') . '">';
8686
echo PHP_EOL;
8787

0 commit comments

Comments
 (0)