I've got a DLNA server on a Raspberry Pi (which works with miniDLNA). I've got another Raspberry Pi with a web server on it (using nGinx).
I'd like to get informations about my DLNA server with my PHP code on the web server (scann for DLNA servers, get list of files, etc.).
How can I do that? Is it possible to communicate with DLNA in PHP?
NOTE: I've found this: https://github.com/jalder/UPnP but it's not updated anymore and it doesn't work with miniDLNA 1.1.2 (Jessie). Plus I'd like to do it myself!
DLNA is an alliance between companies, they use UPnP (Universal Plug And Play) to let their devices communicate with each other.
To do it yourself, you might want to look at GUPnP for which PHP has an extension http://php.net/manual/en/book.gupnp.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With