A new software component for media players is available, called AVRemote
AVRemote official homepage is on http://syncstarter.org/avremote
The latest release 0.4.1 is out since 13 March and adds the feature of playback of FTP URLs, fixes discovery and correct error return and renames the 'get' command to 'status'.
- Code: Select all
AVRemote 0.4.1 - send AVTransport commands to UPNP media services
Syntax: avremote [options] [command] [args...]
discover scan for upnp devices on the network
load load a file and prepare it for playback
mode set playback mode (NORMAL or REPEAT_ONE)
play start playing the selected file
pause pause currently running playback
stop stop playback and return to menu
status print the current status of the device
jump seek to a position in time (00:00:00)
none means load and play URL, or use - to read xml from stdin
-s network address or hostname of the media server
-p port on which the UPNP AVTransport daemon is listening
-t dry run to test without a server (print out rendered xml)
-h print this help
-v version information for this tool
AVRemote aims to provide a free and open source (GNU GPL) minimalist (C language) and portable (x86 and MIPS targets) implementation for a commandline tool that sends AVTransport commands to UPNP media player services. Rather than using XML parsing, this software uses a string template approach to produce commands as fast as possible, to lower latency and make it possible to synchronize operations.
AVRemote is not a graphical application, but it can be freely used by GUI developers for their creations:
for instance in shell scripts, PHP, mobile phone devices and what not...
Freshmeat project page: http://freshmeat.net/projects/avremote
Stable releases and binaries: http://files.dyne.org/avremote
Code repository: http://code.dyne.org/avremote
Bug tracker, issues, contributions welcome on GitHub and this forum.
Thanks go to Zoster for upnp-cmd, B-Rad for...ever, Recliq for debugging and the whole WDLXTV community for useful pointers found right on these forums.