Instead of a periodic directory scan, which means that you only get new albums you add on a daily basis, why not use Java's file alteration monitor to detect newly added or modified albums? It would be nice to get albums added immediately to subsonic on download.
https://docs.oracle.com/javase/tutorial ... ation.html