[DB] Switched from ffmpeg to TagLib in order to get tags
This commit is contained in:
@@ -247,6 +247,13 @@ Cluster::create(Wt::Dbo::Session& session, std::string type, std::string name)
|
||||
return session.add(new Cluster(type, name));
|
||||
}
|
||||
|
||||
void
|
||||
Cluster::removeByType(Wt::Dbo::Session& session, std::string type)
|
||||
{
|
||||
session.execute( "DELETE FROM cluster WHERE type = ?").bind(type);
|
||||
}
|
||||
|
||||
|
||||
Wt::Dbo::Query<Cluster::pointer>
|
||||
Cluster::getQuery(Wt::Dbo::Session& session, SearchFilter filter)
|
||||
{
|
||||
@@ -318,6 +325,5 @@ Feature::getByTrack(Wt::Dbo::Session& session, Track::id_type trackId, const std
|
||||
return std::vector<pointer>(res.begin(), res.end());
|
||||
}
|
||||
|
||||
|
||||
} // namespace Database
|
||||
|
||||
|
||||
Reference in New Issue
Block a user