Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am currently creating a media player but as I am searching online for some help, no one seems to be able to provide the information. I am trying to have a media player which I find easy to build to have it playing videos but what I am having the issue with is creating a file on the computer and having files like mp3 which are stored there be automatically put into a library on the media player which then can be played. I want it so that the files in a folder will be automatically stored onto the media player which then I can search for on the application for the file name and click to play it. Please can people be specific because people can be very vague and state the obvious and then leave it at that. What will I need to create e.g. access database ?, and what will I need to do for it like create a class coding to list in a drop down box etc.
If anyone can help I will be highly greatful.
Posted
Updated 27-Apr-12 1:05am
v2

1 solution

You have two separate requirements.

1. Playback of media files.
2. Extracting and using metadata to populate the library.

The playback can easily be performed by using any playback API like DierctX, managed DirectX, WMPSDK, SlimSx, SharpSx, NAudio etc.

I don't know how to get the meta data out of media files, but I am sure you will be able to do that using some API or perhaps reading simply file attributes might also help(not sure though)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900