first is an observation when playing movies from cmd line the system uses video_ex_playing.xml instead of the regular video_playing.xml
so
1. it's possible, there's some functionality limitation in dmaosd
some things I learned from recliq while creating a wdtvext version of videoscreensaver
upnp-cmd was updated in the firmware for version 5.1.1 - so make sure you're using the most current version
also starting with 5.1.1 a play script was added so that we don't have to worry about generating our own meta
this
- Code: Select all
$metadata = shell_exec("upnp-meta '" . $playMedia . "'");
$out = shell_exec("sudo upnp-cmd SetAVTransportURI 'file://" . $playMedia . "' '" . $metadata . "'");
shell_exec("sudo upnp-cmd Play");
can become something like this on 5.1.1 or newer firmware
- Code: Select all
$out = shell_exec("sudo play $playMedia );
besides that there are upnp-cmd for seek and so on, but I don't think we can make much use of them without wdtvext
or maybe you have a creative idea to use other upnp-cmd options
KAD
edit: one more idea, in case it is caused by the different xml,
I've never tried, but I've read that upnp-cmd supports user supplying a custom xml, maybe you could tell it to use video_playing.xml
to regain that functionality





