#include "BlurayDirectory.h"
#include "utils/log.h"
#include "utils/URIUtils.h"
+#include "utils/StringUtils.h"
#include "URL.h"
#include "DllLibbluray.h"
#include "FileItem.h"
CStdString buf;
CFileItemPtr item(new CFileItem("", false));
CURL path(m_url);
- buf.Format("BDMV/PLAYLIST/%05d.mpls", title->playlist);
+ buf = StringUtils::Format("BDMV/PLAYLIST/%05d.mpls", title->playlist);
path.SetFileName(buf);
item->SetPath(path.Get());
item->GetVideoInfoTag()->m_duration = (int)(title->duration / 90000);
item->GetVideoInfoTag()->m_iTrack = title->playlist;
- buf.Format(label.c_str(), title->playlist);
+ buf = StringUtils::Format(label.c_str(), title->playlist);
item->m_strTitle = buf;
item->SetLabel(buf);
item->m_dwSize = 0;