test et debug

This commit is contained in:
Antoine WEBER 2015-09-22 15:51:48 +02:00
parent 9c0f582453
commit fe720cfa01
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ router.get('/:id', function(req, res, next) {
channel_info = row;
});
db.each("SELECT i.id as id, i.title as title, t.hints as hints, p.file as file, i.duration as second, i.size, i.year as year"
db.each("SELECT i.id as id, i.title as title, t.hints as hints, p.file as file, i.duration as second, i.size as size, i.year as year"
+ " FROM media_items t, metadata_items i, media_parts p "
+ " WHERE p.media_item_id=i.id AND t.metadata_item_id = i.id AND i.title != '' AND t.library_section_id = ? "
+ " ORDER BY i.title ASC",req.params.id, function(err, row) {