From 640baa08d2c8e8f2c554224bdbd35986497fc9b3 Mon Sep 17 00:00:00 2001 From: Mike0001-droid Date: Tue, 18 Jun 2024 14:00:56 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B5=D1=89=D0=B5=20=D1=80=D0=B0=D0=B7=20?= =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=20=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=B1=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/proj/audio/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/proj/audio/views.py b/server/proj/audio/views.py index 2a517ae..59cf8a4 100644 --- a/server/proj/audio/views.py +++ b/server/proj/audio/views.py @@ -49,7 +49,7 @@ class SongViewSet(GenericViewSet): def get_audio(self, request, azura_id): try: song_obj = Song.objects.get(azura_id=azura_id) - file_url = f"http://82.97.242.49:10084/api/station/it-radio/file/{song_obj.unique_id}/play" + file_url = song_obj.unique_id API_KEY = "49226d3488aac3f5:18d88659c6c1c5e131a0ce0a94d55235" headers = { "Authorization": f"Bearer {API_KEY}"