none
How to import music library

    Question

  • HI, I am working on a windows store app. I am making a music player by using C# and XAML. I am using media element to load media files and I am only able to load a single file at a time. But I want to load many files all my music files from the music library. How yo do it?? Any help would be appreciated.
    Tuesday, July 23, 2013 2:16 PM

All replies

  • Do a multiple file select in the music library.  Store the list.  Play each one, one at a time.


    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Tuesday, July 23, 2013 2:27 PM
    Moderator
  • I tried to do it. But I was unable to fetch the source of the files from the list to give to the media element. How to resolve that? 

    And I also want to give a search option in my app where user can search the desired file from the music library.

    So, kindly help me with the above problems.

    I would really appreciate if you'll help me by giving a demo code.

    Thankx.

    Tuesday, July 23, 2013 6:09 PM