locked
Windows.Media.MediaControl fatal error with long track and artist names

    General discussion

  • When setting the trackName or artistName properties of the Windows.Media.MediaControl object, a fatal error is thrown (causing your app to crash if not caught) when the string being assigned is greater than 128 characters.  While it's unlikely that track and artist names will be so long, this bug is not yet documented anywhere.  

    A fatal error is not the appropriate response here. The API should be able to handle long names without crashing. Either the name should be truncated with an ellipsis or the name should scroll horizontally.

    Wednesday, November 28, 2012 12:05 AM

All replies

  • I noticed this as well, and it is documented NOWHERE. Will this ever be documented or fixed in the near future? Do we have to make a substring for now, then?
    Wednesday, October 2, 2013 12:30 PM