changeset 940:2acb03b775fe

Update devnotes.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 28 Nov 2014 00:47:24 +0200
parents dc3ac7470ec0
children f3c6c56098ed
files NOOTTEJA.txt
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NOOTTEJA.txt	Fri Nov 28 00:43:40 2014 +0200
+++ b/NOOTTEJA.txt	Fri Nov 28 00:47:24 2014 +0200
@@ -2,11 +2,24 @@
 ALHAALLA ROIKKUVAT HEDELMAET
 ============================
 
+faptool:
 
+1) goes through all entries
 
+2) checks if entry has preview/sample uploaded:
+
+   no) -> if entry file matches - finfo()
 
+	audio/x-mod -> openmpt123 -> sample.wav -> avconv -> ogg/mp3
+	image/* -> convert -> preview of desired type + TN
+	archive -> maybe unpack, scan contents -> check if any found file
+		matches compo's preview_type -> convert
+	other -> DO NOTHING
 
+   yes) -> check and convert it to whatever we want
 
+	audio/* -> avconv -> ogg/mp3
+        image/* -> convert -> preview of desired type + TN (same as above)
 
 
 "JOSKUS" MYƖHEMMIN