How to save a song to Music+Video Hub?

377 views Asked by At

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.

1

There are 1 answers

0
d.lavysh On BEST ANSWER