Limit loudness analysis and output to MAZ clips only.

This commit is contained in:
Markus Birth 2017-03-10 12:07:28 +01:00
parent 4cd511a0fb
commit 37ef6cb4bd

View File

@ -134,6 +134,7 @@ class MosDb():
WHERE mo.isDeleted=0 \
AND ms.mosServer LIKE \"StudioA%\" \
AND mg.objGroup=\"OA Material\" \
AND mo.objSlug LIKE \"%maz%\" \
AND mo.objPath <> \"\" \
AND lu.objId is NULL")
result = []
@ -162,6 +163,7 @@ class MosDb():
WHERE mo.isDeleted=0 \
AND ms.mosServer LIKE \"StudioA%\" \
AND mg.objGroup=\"OA Material\" \
AND mo.objSlug LIKE \"%maz%\" \
AND po.created >= strftime('%s', 'now', '" + delta + "', 'start of day', 'utc') \
AND po.created < strftime('%s', 'now', '" + delta + "', '+1 day', 'start of day', 'utc') \
ORDER BY po.created ASC"