Check this solution: http://abundantcode.com/how-to-copy-a-song-to-windows-phone-music-hublibrary-using-c/ It should help
How to save a song to Music+Video Hub?
-
31-08-2022 - |
Question
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.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow