system.io.file --> set mp3 attributes

  • Thread starter Thread starter Param R.
  • Start date Start date
P

Param R.

Hi all,

I am wondering if it is possible to set attributes related to mp3 files such
as Genre/Artist/Album/Title etc. programmatically via the system.io.file or
other class in .net. I have a need to be able to lookup and set these
attributes for mp3 files programmatically.

Any help would be greatly appreciated!

TIA!
 
Param R. said:
Hi all,

I am wondering if it is possible to set attributes related to mp3 files
such as Genre/Artist/Album/Title etc. programmatically via the
system.io.file or other class in .net.

http://www.csharp-examples.net/file-attributes/

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

********************************************************
| Think outside the box! |
********************************************************
 
Hi,

There is no *file system properties* for MP3 files to store those
information. However, the MP3 file format has the data structure to store
such information inside an MP3 file itself - the ID3 tag.

To access the ID3 tag inside an MP3 file, you can use the FileStream class
(or some other similar classes) in System.IO namespace.

The CodeProject article that "Mr4U AT gmx.net" suggested could be a good
start point.

Also, there are many other .NET implementations available out there, you
may want to check the ID3.org website for the list:
http://www.id3.org/Implementations

Or if you want to implement your own classes, you may want to check the
ID3.org website for the documents:
http://www.id3.org/Developer_Information

Hope these information helps. If you have any further questions, please
don't hesitate to let me know.

Regards,
Jie Wang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business days is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top