Thank you @david
Posts made by Sumada
RE: Play content from a DLNA server
Hello @grolschie and Others
I have the same Project as @Vincent-Vanbroekhoven and did not get it running. Did you already?
I have a minidlna server on a raspberry pi. Over a dlna-server, i get the path to a song like: http://A.B.C.D/MediaItems/17564.mp3, which i use in my php-script like this:
// set post fields
$post = [
var_dump(json_encode($post)); $ch = curl_init('http://A.B.C.X:54480/sony/avContent'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($post)); // execute! $response = curl_exec($ch); // close the connection, release resources used curl_close($ch); // do anything you want with your response var_dump($response);
Other commands do work. also I tried with dlna:music?path=...
How can I adress the file?