Access Keys:
Skip to content (Access Key - 0)
 

UPnP integration

Marcus Redeker

On Feb 14, 2010 22:22

Thanks to Mathieu, I was able to configure iphone.xml and controller.xml to control my Musicpal MP3 player which is hooked up to my Russound multiroom amp.
Now I am able to use OpenRemote to control the player and the multiroom amp

All we need now is to implement a more complete control point so that we can transfer a list of available songs from a UPnP server to the iPhone and select a song which should be played. In the moment this is hard coded into the controller.xml file.

 
Labels: , ,
Participants: Mathieu Gallissot , Marcus Redeker
  1. Feb 17, 2010

    Mathieu Gallissot says:

    Glad to hear you were able to use the UPnP integration. There are many ways to ...

    Glad to hear you were able to use the UPnP integration.

    There are many ways to select song to play. As you may have noticed, an UPnP server serves medias (pictures, videos, songs). A UPnP renderer is able to play medias, but these media can be shared by another way that an UPnP server (streaming, local files, network share...).

    The goal of a UPnP Control Point, in this multimedia field, is to browse available source on servers to render to a particular point (the UPnP way...). This is very dynamic, as devices can appear and disapprear. Worst, there are quite often differences in implementations from a manufacturer to another.

    Maybe this can be done in OR with the status feedback, having as both status and commands the available medias, but I guess it will require some more work.

    1. Feb 17, 2010

      Marcus Redeker says:

      Some extra work is required, for sure. It would be nice to use the status concep...

      Some extra work is required, for sure. It would be nice to use the status concept to display songs from a UPnP server as a list on the iPhone.
      Once a song is selected we would send the command to the renderer to play that song.

      So we need a getAvailableMedia method in the UPnP event to transfer a list to the iPhone and a playSong method that takes a given media URI (from the iPhone) and triggers the play on the selected renderer.

      I don't have the 2.0 codebase (status stuff) working yet but I will take a look at this once this is running.

Adaptavist Theme Builder Powered by Atlassian Confluence
Free theme builder license