Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Retrieve Properties of Files  RSS feed

 
john price
Ranch Hand
Posts: 495
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to retrieve properties of files? For example, in a song file, there might be an entry "Title" an having a value. There might be "Contributing Artists" and "Album". Is it possible to retrieve these?
Thanks,
John Price aka cc11rocks
 
Rob Spoor
Sheriff
Posts: 21048
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only with libraries that are specialized for these types of files. For MP3 files you can use a library to read the ID3 tags. For other files you need different libraries.
 
john price
Ranch Hand
Posts: 495
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where do I find these libraries? The main music file libraries I need is mp4, m4a, and mp3.
Thanks,
cc11rocks aka John Price
 
Rob Spoor
Sheriff
Posts: 21048
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd start with Google.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!