Rescan the media library before reporting on absent files.

This commit is contained in:
Jonathan Bernard 2016-09-08 14:18:20 -05:00
parent 4468f606ed
commit 92d384573e
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ allprojects {
}
group = 'com.jdbernard'
version = '0.1.1'
version = '0.1.2'
repositories {
mavenLocal()

View File

@ -28,7 +28,7 @@ import static com.jdbernard.wdiwtlt.cli.CliErr.*
public class CommandLineInterface {
public static final VERSION = "0.1.1"
public static final VERSION = "0.1.2"
public static final def DOC = """\
wdiwtlt v$VERSION
@ -551,6 +551,7 @@ Configuration:
[(idKeyFor(selectionClass)): it.id]) }.findAll()
case ~/absent files/:
scanMediaLibrary()
return library.getMediaFilesWhere(presentLocally: false)
case ~/files tagged( as){0,1}((\s[^\s]+)+)/: