debug show
This commit is contained in:
parent
377c48a430
commit
813b9e1ed4
1
bin/www
1
bin/www
|
@ -18,6 +18,7 @@
|
|||
// Replace the dead worker, we're not sentimental
|
||||
console.log('Worker ' + worker.id + ' died :(');
|
||||
cluster.fork();
|
||||
console.log('Remplacement du worker ');
|
||||
});
|
||||
|
||||
// Code to run if we're in a worker process
|
||||
|
|
|
@ -12,8 +12,8 @@ router.get('/:id', function(req, res, next) {
|
|||
|
||||
db.each("SELECT i.id as id, i.title as title, t.hints as hints, p.file as file, i.duration as second, t.size as size, i.year as year"
|
||||
+ " FROM media_items t, metadata_items i, media_parts p "
|
||||
+ " WHERE t.id=p.media_item_id AND t.metadata_item_id = i.id AND t.hints LIKE '%show=?%' "
|
||||
,req.params.id, function(err, row) {
|
||||
+ " WHERE p.media_item_id=t.id AND t.metadata_item_id = i.id AND t.hints = '%Walkin%' "
|
||||
+ " ORDER BY i.title ASC",req.params.id, function(err, row) {
|
||||
console.log(err);
|
||||
console.log(row);
|
||||
//découpage des hints
|
||||
|
|
Loading…
Reference in New Issue