]> git.0d.be Git - panikweb-esperanzah.git/commitdiff
switch to play from stream
authorFrédéric Péters <fpeters@0d.be>
Thu, 6 Jul 2023 10:44:27 +0000 (12:44 +0200)
committerFrédéric Péters <fpeters@0d.be>
Thu, 6 Jul 2023 10:44:27 +0000 (12:44 +0200)
panikweb_esperanzah/templates/includes/player.html
panikweb_esperanzah/views.py

index c67a85f1cb9b1525d18dc01f32d9fd70dfe35a96..8f9d76bd0ffd69f3c3824b4e1dae861b84ae9e8d 100644 (file)
                                        class="hidden" 
                                        tabindex="0" 
                                        controls="controls">
+                                       <!--
                                        <source src="/media/jingle-ou-pas.ogg" type="audio/ogg"/>
                                        <source src="/media/jingle-ou-pas.mp3" type="audio/mpeg"/>
-                                       <!--
-                                       <source src="https://radio.esperanzah.be/streams/espe.aac" type="audio/aac"/>
                                        -->
+                                       <source src="https://radio.esperanzah.be/streams/espe.aac" type="audio/aac"/>
                                </audio>
                        </div>
                </div>
index d25450b99fb3c5d392fcfe7ffbbb6147f54ccbb7..f4bede5697faf25fa902fde0f9012650e68736a0 100644 (file)
@@ -94,7 +94,7 @@ archives = ArchivesView.as_view()
 
 
 def onair(request):
-    if datetime.date.today() >= datetime.date(2022, 8, 1):
+    if datetime.date.today() >= datetime.date(2023, 8, 1):
         return JsonResponse({'data': {'emission': {'title': 'Découvrez les podcasts !', 'url': '/'}}})
 
     playing_txt = os.path.join(settings.MEDIA_ROOT, 'playing.txt')