From 09f7753e9fbbb34bc5049ff27eff101ec24749be Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Thu, 17 Oct 2013 20:25:47 +0200 Subject: [PATCH] Also order tag reader to ensure format properties are known before transcoding --- lib/tags/update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/tags/update b/lib/tags/update index 515f551..dad68c4 100644 --- a/lib/tags/update +++ b/lib/tags/update @@ -40,7 +40,8 @@ updateTags() { CAST(source_files.last_change AS TEXT) OR ('"$tagreaderclause"') ) - AND mime_type_actions.action = 1' >&3 + AND mime_type_actions.action = 1 + ORDER BY source_files.id' >&3 (( maxbatch )) && echo "LIMIT $maxbatch" >&3 echo ' ;