Structure of a MediaWorld service message
From TechnologicalWiki
Content of the XML file in each case:
1.- Request and answer of available MMC or MMR
Request
<osami type=req>
<server>
- With no argument reports all servers on the net
- With an argument reports all MMC on that server
- Can be combined with <media> to refine the search
<renderer>
- With no argument reports all renderers on the net
- With an argument reports (if there is any) MMC that is being reproduced on that renderer
<media>
- With no argument reports all media on the net
Answer
<osami type=ans>
<server>
- List of servers that match the search
<renderer>
- List of renderers that match the search
<media>
- List of MMC that match the search
2.- Command and acknowledge to reproduce and manage MMC on a MMR
Request to start reproducing MMC
<osami type=play>
<renderer>
<media>
Request to stop, pause or resume reproducing MMC
<osami type=stop> or <osami type=pause> or <osami type=resume>
<renderer>
Answer
<osami type=ans>
<message> True, 200, Playing Spartacus on Longe TV
Return to OSAmI-ES Developments


