Domanda

How can I save a song to Music+Video Hub?

I know how to get songs:

MediaLibrary library = new MediaLibrary();
var songs = library.Songs;

and also how to add a music to new list:

MediaHistory.Instance.WriteAcquiredItem(mediaHistoryItem);

But How can I add the actual file to Music + video Hub so the user can play it like other songs.

È stato utile?
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top