# | Line 4 | Line 4 | |
---|---|---|
4 | // | |
5 | // $Id$ | |
6 | ||
7 | < | #include "MediaFile.hpp" |
7 | > | #include <menes/standard.hh> |
8 | ||
9 | #include <menes-dbi/resultset.hpp> | |
10 | ||
11 | + | #include "MediaFile.hpp" |
12 | + | |
13 | MediaFile::MediaFile(_H<dbi::Connection>& connection, const api::Path& path) : connection(connection), path(path) | |
14 | { | |
15 | _H<dbi::ResultSet> info(connection->Parse(_B("SELECT artist, title, album, genre FROM files WHERE path = ?"))->Execute(path.GetPath())); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |