From 6931e897bef8332f2aae3466c004e65afc998c89 Mon Sep 17 00:00:00 2001 From: sysadminstory Date: Thu, 27 Feb 2025 19:29:46 +0100 Subject: [PATCH] [RadioMelodieBridge] Fix media content - Fix the audio source with the absolute URL - Fix the pictture enclosure URL (those are already absolute URL) --- bridges/RadioMelodieBridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridges/RadioMelodieBridge.php b/bridges/RadioMelodieBridge.php index 917b6ef2..6045ef93 100644 --- a/bridges/RadioMelodieBridge.php +++ b/bridges/RadioMelodieBridge.php @@ -40,7 +40,7 @@ class RadioMelodieBridge extends BridgeAbstract $picture = []; // Get the Main picture URL - $picture[] = self::URI . $article->find('figure[class*=photoviewer]', 0)->find('img', 0)->src; + $picture[] = $article->find('figure[class*=photoviewer]', 0)->find('img', 0)->src; $audioHTML = $article->find('audio'); // Add the audio element to the enclosure @@ -123,7 +123,7 @@ class RadioMelodieBridge extends BridgeAbstract preg_match('/wavesurfer[0-9]+.load\(\'(.*)\'\)/m', $js->innertext, $urls); // Create the plain HTML