Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# library media ListView
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 27-Apr-12 1:49am
Edited 27-Apr-12 2:05am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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)
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 515
1 Maciej Los 349
2 Richard MacCutchan 220
3 BillWoodruff 209
4 Mathew Soji 160
0 OriginalGriff 8,654
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,229
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 28 Apr 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100