diff --git a/radio/urls.py b/radio/urls.py index acd6c77..4e7b1d7 100644 --- a/radio/urls.py +++ b/radio/urls.py @@ -19,4 +19,5 @@ urlpatterns = [ path('radio/focus/record/', views.record_focus_session, name='record_focus_session'), path('radio/focus/stats/', views.focus_stats, name='focus_stats'), path('radio/stream-player/', views.stream_player, name='stream_player'), + path('radio/creamfresh-stream/', views.creamfresh_stream, name='creamfresh_stream'), ] diff --git a/radio/views.py b/radio/views.py index 669fcf5..dfad8fd 100644 --- a/radio/views.py +++ b/radio/views.py @@ -581,6 +581,47 @@ def import_m3u(request): # Minimal HTTP stream player (standalone tab for mixed-content streams) # --------------------------------------------------------------------------- +# --------------------------------------------------------------------------- +# creamfresh radio proxy +# --------------------------------------------------------------------------- + +# Held server-side only -- never exposed to the browser this way. The +# upstream is protected by HTTP Basic Auth; a plain