mpatric / mp3agic

A java library for reading mp3 files and reading / manipulating the ID3 tags (ID3v1 and ID3v2.2 through ID3v2.4).
MIT License
1.2k stars 310 forks source link

MP3File filename #173

Closed 1fexd closed 3 years ago

1fexd commented 4 years ago

The getFileName getter of FileWrapper is kind of misleading, since it returns the full file path instead of just the file's name. In order to not break projects having a dependency on this method, I added a method called getName which returns the actual filename.

Maybe the two can be swapped in a future major release, which would make it clear to users that some things in the API have been changed.