get filename? |
This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).
get filename? |
Mar 24 2012, 09:31
Post
#1
|
|
|
Group: Members Posts: 13 Joined: 18-August 11 Member No.: 93119 |
I want to get filename when the song doesn't have any tags.
Closest thing I found is "handle->get_path()" And it returns with directory "file://E:\Music\11-unknown_song.mp3" I'm looking for a good helper method to extract only filename, without directory and file extension. Thank you sean |
|
|
|
muzehyun get filename? Mar 24 2012, 09:31
fbuser Try pfc::string_filename(handle->get_path()) Mar 24 2012, 10:07
muzehyun Perfect! Thanks!! Mar 24 2012, 11:29![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 02:16 |