Add privacy options
@@ -34,3 +34,18 @@ if [ "$V" -lt 20191201 ]; then
fi
fi
+if [ "$V" -lt 20200101 ]; then
+ echo "Version < 20200101, adding privacy section to audiocontrol"
+ echo
+ FOUND=`cat /newroot/etc/audiocontrol2.conf | grep '\[privacy\]'`
+ if [ "$FOUND" == "" ]; then
+ echo >> /newroot/etc/audiocontrol2.conf
+ echo '[privacy]' >> /newroot/etc/audiocontrol2.conf
+ echo 'external_metadata=1' >> /newroot/etc/audiocontrol2.conf
+ echo "audiocontrol2.conf done"
+ else
+ echo "General section already exists"
+ fi
+fi
+
+
