suport for renaming directories in tag editor

This commit is contained in:
unK
2008-09-11 12:35:52 +02:00
parent 51b913d611
commit 8b185e2967
5 changed files with 29 additions and 9 deletions

View File

@@ -703,7 +703,7 @@ string GetInfo(Song &s)
{
string result;
# ifdef HAVE_TAGLIB_H
string path_to_file = Config.mpd_music_dir + "/" + s.GetFile();
string path_to_file = Config.mpd_music_dir + s.GetFile();
TagLib::FileRef f(path_to_file.c_str());
if (!f.isNull())
s.SetComment(f.tag()->comment().to8Bit(UNICODE));