Stream gemeenteraad voorbereid

This commit is contained in:
2020-01-31 22:03:49 +01:00
parent a23521a75d
commit 56dbd0a26a
2 changed files with 10 additions and 0 deletions

View File

@@ -57,6 +57,15 @@ class StreamController extends Controller
'canDownload' => false ]); 'canDownload' => false ]);
} }
public function gemeenteraad(Request $request) {
return view('listen', [
'source' => 'https://stream.nhgooi.nl:8000/gemhuizen',
'title' => 'Gemeenteraad Huizen',
'content' => 'de openbare vergadering van de gemeenteraad Huizen',
'isStream' => true,
'canDownload' => false ]);
}
public function kerkdienst(Request $request) { public function kerkdienst(Request $request) {
return view('listen', [ return view('listen', [
'source' => $this->API_URL . 'kerkdienst/download', 'source' => $this->API_URL . 'kerkdienst/download',

View File

@@ -34,6 +34,7 @@ Route::get('/radio/gids/{shift?}', 'RadioController@schedule')->where(['shift' =
Route::get('/radio/programma/{id}/{title}', 'RadioController@program')->where(['id' => '\d+']); Route::get('/radio/programma/{id}/{title}', 'RadioController@program')->where(['id' => '\d+']);
Route::get('/luister/live', 'StreamController@liveradio'); Route::get('/luister/live', 'StreamController@liveradio');
Route::get('/luister/gemeenteraad', 'StreamController@gemeenteraad');
Route::get('/luister/fragment/{id}/{title}', 'StreamController@podcast')->where(['id' => '\d+']); Route::get('/luister/fragment/{id}/{title}', 'StreamController@podcast')->where(['id' => '\d+']);
Route::get('/luister/programma/{year}/{month}/{day}/{hour}/{duration}/{offset?}', 'StreamController@program') Route::get('/luister/programma/{year}/{month}/{day}/{hour}/{duration}/{offset?}', 'StreamController@program')
->where(['id' => '\d+', 'year' => '20\d\d', 'month' => '\d\d?', 'day' => '\d\d?', 'hour' => '\d\d?', 'duration' => '\d\d?', 'offset' => '\d\d?']); ->where(['id' => '\d+', 'year' => '20\d\d', 'month' => '\d\d?', 'day' => '\d\d?', 'hour' => '\d\d?', 'duration' => '\d\d?', 'offset' => '\d\d?']);