PlayTo API c# metadata not correct RRS feed

  • Question

  • Hello,

    In my application that suppors the PlayTo API, I have made tests to stream the playing audio file to both Windows Media Player and a WD TV Live device.

    No matter which device I stream to, the metadata is shown as "Media from application name", despite I have set the proper information in the MediaControl class. (MediaControl.ArtistName, MediaControl.TrackName).

    How should this be implemented properly so that the proper meta data is shown in the target PlayTo device?

    Sunday, January 13, 2013 11:51 AM


  • Hello, thanks for your reply.

    I was refering to the MediaControl class (http://msdn.microsoft.com/en-us/library/windows/apps/hh700786.aspx) which has the attributes (ArtistName, TrackName) which needs to be set (afaik) to have the proper information to be shown for background audio applications.

    The MediaElement has no ways to to set this kind of meta data.

    I have seen the examples above and my implementation follows the same pattern as theire. PlayTo works fine but no matter what I do the metadata shown in the PlayTo device I stream to as "Media from my application" (my application is the display name of my application).

    If I select the stream from the receiver (Windows Media Player for example), and then select properties, I can see that this is mapped to the title field. The other fields are empty.

    So, the question remains, how can I set album, artist etc. when streaming to a PlayTo connected device ?

    Monday, January 14, 2013 9:31 AM
  • "Media from [App Name]" is displayed when there is nothing in the PKEY_Title or PKEY_ItemNameDisplay attributes when the source is queried for its property store.

    What are you streaming from, a custom media source, a file or an internet site?


    -- David

    Thursday, January 17, 2013 7:16 PM

All replies