Revert reading/writing of tags in external helper - its not working correctly

BUG: 319
This commit is contained in:
craig.p.drummond
2013-10-25 20:01:33 +00:00
committed by craig.p.drummond
parent d35039429b
commit c049af0cc8
25 changed files with 371 additions and 462 deletions

View File

@@ -24,7 +24,7 @@
#include "httpserver.h"
#include "httpsocket.h"
#ifdef TAGLIB_FOUND
#include "tagclient.h"
#include "tags.h"
#endif
#include "settings.h"
#include "thread.h"
@@ -201,13 +201,13 @@ QByteArray HttpServer::encodeUrl(const QString &file) const
}
}
#ifdef TAGLIB_FOUND
s=TagClient::self()->read(f);
s=Tags::read(f);
#endif
s.file=f;
#else
DBUG << "file" << file;
#ifdef TAGLIB_FOUND
s=TagClient::self()->read(file);
s=Tags::read(file);
#endif
s.file=file;
#endif