diff options
Diffstat (limited to 'binding')
-rw-r--r-- | binding/media-manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binding/media-manager.h b/binding/media-manager.h index 37621b0..2190a16 100644 --- a/binding/media-manager.h +++ b/binding/media-manager.h @@ -91,7 +91,8 @@ void DebugTraceSendMsg(int level, gchar* message); #define VIDEO_SQL_QUERY \ "SELECT files.path, videos.title, videos.artist, \"\", \"\", " \ - "videos.length FROM files LEFT JOIN videos " \ + "videos.length FROM files " \ + "INNER JOIN videos ON videos.id = files.id " \ "WHERE files.path LIKE '%s/%%' " \ "ORDER BY " \ "videos.title" |