How to display DLNA content from the command line

I am going to integrate channels with IPTV channels into one menu on TVs. The problem is that moving between different sources is a pain. So basically, I need to create a menu on the TV to select the channel that I want to watch, and then switch the TV to the same channel. I know how to create a menu.

Another part of the solution is to push the ITPV channel from the media receiver to the TV screen. This is the hard part. I finished installing gupnp and played with it. It works and I can write an application.

Maybe you have an idea for a better solution for promoting content through DLNA? Is there a command line utility or media server that can be controlled from the command line? This would be the perfect option.

The simplest question is how do you programmatically reproduce a resource from a media camera on a renderer?

Thank.

+5
source share
2 answers

This shows how you can instruct the renderer to play media files from the media server using curl from the command line. You can easily make a similar http request from the program.

http://www.accella.net/knowledgebase/sending-a-video-content-to-a-dlnaupnp-softwaredevice-using-curl/

and this too: http://djoepnpoep.blogspot.co.za/2015/07/command-line-dlnaupnp-av-with-curl.html

+4
source

The simplest question is how would you programmatically play a resource using the media renderer

: . UPnP MediaServer , , HTTP- HTML , . , :

  • " " ( , ) UPnP (, URL- ).
  • UPnP, , Renderer. , , gUPnP, , , .

, , MediaServer . , "push" , " URL, ".

+3

All Articles