From f249992798060676316493f45e146066bfd4ae25 Mon Sep 17 00:00:00 2001 From: simon987 Date: Wed, 17 Jun 2020 13:00:07 -0400 Subject: [PATCH] Update scripting.md --- docs/scripting.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/docs/scripting.md b/docs/scripting.md index f0b43f7..1ad23c6 100644 --- a/docs/scripting.md +++ b/docs/scripting.md @@ -111,16 +111,6 @@ if (ctx._source.path != "") { } ``` -Set the name of the last folder (`/path/to//file.mp4`) to `studio.` tag -```Java -ArrayList tags = ctx._source.tag = new ArrayList(); - -if (ctx._source.path != "") { - String[] names = ctx._source.path.splitOnToken('/'); - tags.add("studio." + names[names.length-1]); -} -``` - Parse `EXIF:F Number` tag ```Java if (ctx._source?.exif_fnumber != null) {