This commit is contained in:
Jorit Tijsen committed 2026-11-19 16:03:45 +01:00
1 parent 18ca2c32ca
commit 040d59a0e6
96 files changed
+1872 -862

No files matched your search

+5 -5
View File
@@ -16,20 +16,20 @@ class StreamController extends Controller
'title' => 'Luister live',
'lengte' => 0,
'waveform' => null,
'content' => 'de live-uitzending van NH Gooi.',
'content' => 'de live-uitzending van GOOI&meer.',
'isStream' => true ]);
}
public function livetv()
{
return view('watch', ['title' => 'Kijk NH Gooi Tv', 'stream' => 'https://rrr.sz.xlcdn.com/?account=nhnieuws&file=nhgooi&type=live&service=wowza&protocol=https&output=playlist.m3u8']);
return view('watch', ['title' => 'Kijk GOOI&meer Tv', 'stream' => 'https://rrr.sz.xlcdn.com/?account=nhnieuws&file=nhgooi&type=live&service=wowza&protocol=https&output=playlist.m3u8']);
// return view('watch', ['stream' => 'https://stream.nhgooi.nl:81/tv']);
}
public function studio()
{
// return view('watch', ['stream' => 'https://stream.nhgooi.nl:81/live/studio']);
return view('watch', ['title' => 'Kijk NH Gooi Tv Studio', 'stream' => 'https://studiocam.nhgooi.nl/studiocam/live/index.m3u8']);
return view('watch', ['title' => 'Kijk GOOI&meer Tv Studio', 'stream' => 'https://studiocam.nhgooi.nl/studiocam/live/index.m3u8']);
}
public function inline(Request $request, $id)
@@ -41,7 +41,7 @@ class StreamController extends Controller
}
return view('widgets/podcastplayer', ['podcast' => $podcast]);
}
}
public function podcast(Request $request, $id)
{
@@ -63,7 +63,7 @@ class StreamController extends Controller
public function program(Request $request, $year, $month, $day, $hour, $duration, $offset = 0) {
$date = (new \DateTimeImmutable())->setDate($year, $month, $day)->setTime($hour, 0, 0);
$current = $date->add(\DateInterval::createFromDateString($offset . ' hours'));
$current = $date->add(\DateInterval::createFromDateString($offset . ' hours'));
$programma = $this->API("programma/details/" . $current->Format("Y/m/d/H"));
if(!$programma->is_beschikbaar) {